Bug#500540: kdebase: automounting vfat (partialy) case sensitive due to utf8 is plain wrong and dangerous
> New version of "pmount" package was uploaded (and unblocked) recently.
Sorry to say that, but upgrading to pmount 0.9.18 didn't fix the problem.
> hlangos@pc-hlangos:~$ pmount -V
> 0.9.18
> hlangos@pc-hlangos:~$ dmesg | tail
> [64822.927396] sd 0:0:0:0: [sda] Write Protect is off
> [64822.927402] sd 0:0:0:0: [sda] Mode Sense: 68 00 00 08
> [64822.927404] sd 0:0:0:0: [sda] Assuming drive cache: write through
> [64822.929250] sd 0:0:0:0: [sda] 1941441 4096-byte hardware sectors (7952 MB) [64822.929889] sd 0:0:0:0: [sda] Write Protect is off
> [64822.929894] sd 0:0:0:0: [sda] Mode Sense: 68 00 00 08
> [64822.929897] sd 0:0:0:0: [sda] Assuming drive cache: write through
> [64822.929900] sda: sda1
> [64822.931560] sd 0:0:0:0: [sda] Attached SCSI removable disk
> [64827.615005] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
> hlangos@pc-hlangos:~$ mount | grep ipod
> /dev/ipod on /media/IPOD type vfat (rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=1000,shortname=lower)
> hlangos@pc-hlangos:~$ pmount
> Printing mounted removable devices:
> /dev/ipod on /media/IPOD type vfat (rw,nosuid,nodev,noatime,uid=1000,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,flush)
> To get a short help, run pmount -h
> hlangos@pc-hlangos:~$
I still need to fix it everytime I attach a device by running:
pumount /dev/ipod
pmount -c iso8859-1 /dev/ipod /media/IPOD
Then I get it mounted with the correct iocharset option AND the utf8 flag:
> hlangos@pc-hlangos:~$ mount | grep ipod
> /dev/ipod on /media/IPOD type vfat
(rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077,fmask=0177,dmask=0077,utf8,iocharset=iso8859-1)
> hlangos@pc-hlangos:~$ pmount
> Printing mounted removable devices:
> /dev/ipod on /media/IPOD type vfat
(rw,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0177,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,quiet,utf8)
> To get a short help, run pmount -h
> hlangos@pc-hlangos:~$
Reply to: