[Libguestfs] 【help】why not support showing filename containing chinese characters with the ls function?

Wanlong Gao gaowanlong at cn.fujitsu.com
Tue May 22 12:56:29 UTC 2012


On 05/22/2012 08:52 PM, Richard W.M. Jones wrote:

> 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 ...


Yeah, it works for me. ;)

Thanks,
Wanlong Gao

> 
> Rich.
> 






More information about the Libguestfs mailing list