Hello, LaMont Jones wrote: >> Unlike what is said in mount(1), mount now mounts VFAT filesystems >> with iocharset=utf8. This is *very bad*, as it is not supported by the >> kernel: > > The only occurances in the util-linux source of the (case insensitive) > string "UTF8" occur in mount.8 and comments in disk-utils/mkfs.cramfs.c > 'iocharset' is found only in mount.8 > > Nor am I able to reproduce the behavior here: > /dev/sdc1 /mnt vfat > rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1 0 0
There are things I don't understand here... I probably did assign this to mount hastily. See, on my box: $ mount /dev/sdc /mnt /proc/mounts says /dev/sdc /mnt vfat rw,fmask=0022,dmask=0022,allow_utime=177777,codepage=cp437,iocharset=utf8 0 0 but the kernel does not complain. $ mount /dev/sdc /mnt -o utf8 /proc/mounts says /dev/sdc /mnt vfat rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,utf8 0 0 and now the kernel complains ! $ mount /dev/sdc /mnt -o iocharset=utf8 /dev/sdc /mnt vfat rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8 0 0 the kernel complains as well (which is at least the expected behavior) $ mount /dev/sdc /mnt -o utf8,iocharset=iso8859-1 /dev/sdc /mnt vfat rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,utf8 0 0 and the kernel does not complain, which is what I had expected too. What does that mean ? The only apparent different between the first and third cases is the allow_utime=177777 bit, but in the first case, the kernel does not complain whereas it does for the third... To which extent can /proc/mounts be trusted ? >> [ 9239.043602] FAT: utf8 is not a recommended IO charset for FAT >> filesystems, filesystem will be case sensitive! > All of which leaves me at a loss to determine what to change to remove > that. I'm afraid I'm at least as lost as you are... Regards, Vincent -- Vincent Fourmond, Debian Developer http://vince-debian.blogspot.com/ I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -- Bjarne Stroustrup Vincent, listening to All You Want (Dido) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]