[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] 【help】why not support show ing filename containing chinese characters with the ls function ?



On Tue, May 22, 2012 at 08:15:53PM +0800, Wanlong Gao wrote:
> On 05/22/2012 08:07 PM, Richard W.M. Jones wrote:
> 
> > BTW, although this is not a proper solution, using the 'utf8'
> > mount option should work, ie:
> > 
> >   ><fs> mount-options utf8 /dev/vda1 /
> > 
> > or:
> > 
> >   guestfish --ro -a d.img -m /dev/vda1:/:utf8
> > 
> > Rich.
> > 
> 
> 
> ><fs> mkfs vfat /dev/vda
> ><fs> mount /dev/vda /
> ><fs> ll /
> total 20
> drwxr-xr-x  2 root root 16384 Jan  1  1970 .
> drwxr-xr-x 23 1000 1000  4096 May 22 20:07 ..
> ><fs> mkdir /新建文件夹
> libguestfs: error: mkdir: /新建文件夹: Invalid argument

Yeah, that's the same as:

https://bugzilla.redhat.com/show_bug.cgi?id=823887

It works if you add the 'utf8' mount option ...

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]