Bug 823885 - virt-make-fs cannot create vfat filesystem containing filesystems with chinese characters
Summary: virt-make-fs cannot create vfat filesystem containing filesystems with chines...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-22 11:34 UTC by Richard W.M. Jones
Modified: 2012-05-25 02:47 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-05-24 13:42:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-05-22 11:34:02 UTC
Description of problem:

$ mkdir testdata
$ touch testdata/马磊
$ sudo chown -R root.root testdata   # workaround for bug 584228
$ virt-make-fs -t vfat --partition=mbr testdata disk.img
Formatting 'disk.img', fmt=raw size=292864 
virt-make-fs: error copying contents into filesystem
An error here usually means that the program did not estimate the
filesystem size correctly.  Please read the BUGS section of the manpage.
tar_in: tar subcommand failed on directory: /: tar: ./\351\251\254\347\243\212: Cannot open: Invalid argument
tar: Exiting with failure status due to previous errors at /usr/bin/virt-make-fs line 512, <PIPE> line 1.

Version-Release number of selected component (if applicable):

1.18.0

How reproducible:

100%

Steps to Reproduce:
1. See above.

Comment 1 Richard W.M. Jones 2012-05-24 13:42:13 UTC
Worked around by adding utf8 option in virt-make-fs
(commit d5d9ceee8b56a10761e207ad9970ebf704fc46e8).


Note You need to log in before you can comment on or make changes to this bug.