[Bug 18904] Can't mount USB-drive with non-ascii label

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Wed Dec 21 14:09:39 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=18904
Ubuntu | hal





------- Additional Comments From martin.pitt at ubuntu.com  2005-12-21 14:09 UTC -------
(In reply to comment #10)
> First 1k attached.
> 
> The label was set on my WinXP machine and I thought it should be either
> '\xd7\xe0\xf1\xfb' if it's in windows-1251 charset or
> '\xd0\xa7\xd0\xb0\xd1\x81\xd1\x8b' if it's in utf-8. However I failed to find
> any of them in a dumped 1024 bytes %-). I looked at offset 43 where I remember
> the volume label should be but found only 'NO NAME     ' which looks like a
> stub. Where it should be by current trends then? :-)

mkfs.vfat -n 'label' puts it at offset 43, but it seems that Windows doesn't any
more and just creates a VFAT entry with the 'Voluem Label' type (see
http://en.wikipedia.org/wiki/File_Allocation_Table).

'sudo blkid /dev/sda*' should figure out the volume label as well, but since you
already gave me the label in hex, that should be fine.

I just tried with a clean UTF-8 volume label, and
hal/gnome-volume-mangager/nautilus/gnome-vfs works fine with that. 




-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list