Package: mount
Version: 2.16-3
File: /usr/share/man/man8/mount.8.gz

The man page says,

       The -o remount may not be able to change mount parameters (all
       ext2fs-specific parameters, except sb, are changeable with a
       remount, for example, but you can't change gid or umask for the
       fatfs).

Well, I think you should add there at the end: ", or hardly anything else too in
fact, except ro/rw. At least that is changeable with fatfs."

And regarding the line,

              After this call mount reads fstab (or mtab) and merges
              these options with options from command line ( -o ).

Well, it doesn't actually merge, but just appends to the rear, at least
for fatfs, which apparently is why one won't get anywhere with most
remount commands for fatfs, except for at least rw/ro, which works.

# mount #(no entry in fstab)
/dev/sde1 on /mnt/usb/thumb type vfat 
(rw,noexec,nosuid,nodev,noatime,shortname=mixed,fmask=133,uid=1000,gid=1000,iocharset=ascii)
# mount -o remount,iocharset=cp950 /mnt/usb/thumb/
# mount
/dev/sde1 on /mnt/usb/thumb type vfat 
(rw,noexec,nosuid,nodev,noatime,shortname=mixed,fmask=133,uid=1000,gid=1000,iocharset=ascii,iocharset=cp950)
# mount -o remount,gid=999 /mnt/usb/thumb/ #same for uid too.
# mount
# /dev/sde1 on /mnt/usb/thumb type vfat 
(rw,noexec,nosuid,nodev,noatime,shortname=mixed,fmask=133,uid=1000,gid=1000,iocharset=ascii,iocharset=cp950,gid=999)

One would think that using the latter line of
# mount -o remount,iocharset=cp950 /mnt/usb/thumb/
# mount -o remount,iocharset=cp950 /dev/sde1 /mnt/usb/thumb/
would work better. And indeed, the results look correct when one does
# mount
but the situation stays the same, the only effects are shorter mount(8)
output lines.

I.e., except for rw/ro, one had better forget remounting vfat (fatfs),
and instead do a umount/mount. The man page should warn (or "fix the
underlying bug").

P.S., I tend to not understand what I have written after a few days, so
contact me sooner vs. later, if necessary.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to