--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: mount: mounts VFAT filesystem with buggy iocharset=utf8 !
- From: Vincent Fourmond <fourmond@debian.org>
- Date: Thu, 16 Oct 2008 23:11:36 +0200
- Message-id: <20081016211136.29327.16311.reportbug@localhost>
Package: mount
Version: 2.13.1.1-1
Severity: important
Hello,
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:
[ 9239.043602] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
It can lead to severe filesystem corruption (see for instance
#443514, and the thourough analysis in bug #500540, which I think
might be due to this one).
This is apparently not linked to the locale:
$ LC_ALL=en_GB.iso88591 mount /dev/sdc /mnt && tail -n1 /proc/mounts
/dev/sdc /mnt vfat rw,fmask=0022,dmask=0022,allow_utime=177777,codepage=cp437,iocharset=utf8 0 0
$ LC_ALL=C mount /dev/sdc /mnt && tail -n1 /proc/mounts
/dev/sdc /mnt vfat rw,fmask=0022,dmask=0022,allow_utime=177777,codepage=cp437,iocharset=utf8 0 0
This *must* be fixed quickly. I'm sincerely tempted to tag this as
serious or even grave as for #500540, and this is stopping me from
fixing #443514 properly.
Regards,
Vincent
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB)
Shell: /bin/sh linked to /bin/dash
Versions of packages mount depends on:
ii libblkid1 1.41.3-1 block device id library
ii libc6 2.7-15 GNU C Library: Shared libraries
ii libselinux1 2.0.65-5 SELinux shared libraries
ii libuuid1 1.41.3-1 universally unique id library
mount recommends no packages.
Versions of packages mount suggests:
pn nfs-common <none> (no description available)
-- no debconf information
--- End Message ---