[Libguestfs] 【help】why not support showing filename containing chinese characters with the ls function?
Richard W.M. Jones
rjones at redhat.com
Tue May 22 11:37:55 UTC 2012
On Tue, May 22, 2012 at 06:38:45PM +0800, 马磊 wrote:
> [malei at xen-test2 ~]$ guestfish --rw -a /home/malei/d.img
>
> Welcome to guestfish, the libguestfs filesystem interactive shell for
> editing virtual machine filesystems.
>
> Type: 'help' for help on commands
> 'man' to read the manual
> 'quit' to quit the shell
>
> ><fs> mount-options '' /dev/vda1 /
> libguestfs: error: mount_options: call launch before using this function
> (in guestfish, don't forget to use the 'run' command)
> ><fs> launch
> ><fs> mount-options '' /dev/vda1 /
> ><fs> ls /
> ?? ????.txt
> ?? ????.wav
> ?? WinRAR ZIP ????.zip
> root1
> root2
> ><fs>
> ===============================================
> Does it have something to do with the LANG environment variable or the disk
> img which is not bootable?
I guess this is a FAT or VFAT image? (Try the 'list-filesystems' command).
There are several bugs, they even prevent me from creating such an
image to start with :-( I have filed these:
https://bugzilla.redhat.com/show_bug.cgi?id=823885
https://bugzilla.redhat.com/show_bug.cgi?id=823887
How large is 'd.img'? Would it be possible for me to get a copy of
it, or of a similar image that fails in the same way?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
More information about the Libguestfs
mailing list