Steps to reproduce: 1) mv /etc/fstab /etc/fstab.save 2) mount -o quiet /dev/sdaX /mnt/fat32 3) /proc/mounts: vfat rw,relatime,fmask=0022,dmask=0022,codepage=cp866,iocharset=utf8,shortname=mixed,errors=remount-ro so "quiet" option is being ignored. Another problem is that sometimes a new option appears which I don't have anywhere in my fstab: allow_utime=0020
# mount -t vfat -o quiet,loop file m # cat /proc/mounts | grep loop /dev/loop0 /tmp/m vfat rw,relatime,fmask=0022,dmask=0022,codeage=cp437,iocharset=iso8859-1,shortname=mixed,quiet,errors=remount-ro 0 0 I couldn't reproduce "quiet" problem (tested 2.6.35-rc5). And Yes, allow_utime is setted from dmask by default. So, it appers. Thanks
2.6.35 final. # mkfs.vfat -v testfile mkfs.vfat 3.0.9 (31 Jan 2010) Auto-selecting FAT32 for large filesystem ext2.img has 64 heads and 32 sectors per track, logical sector size is 512, using 0xf8 media descriptor, with 1228800 sectors; file system has 2 32-bit FATs and 8 sectors per cluster. FAT size is 1200 sectors, and provides 153296 clusters. There are 32 reserved sectors. Volume ID is 39e47cc9, no volume label. # mount -o quiet,loop testfile loop # cat /proc/mounts | grep loop /dev/loop0 /tmp/loop vfat rw,relatime,fmask=0022,dmask=0022,codepage=cp866,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0 No "quiet" again.
I can reproduce it in Fedora 13 with all updates installed, but other people cannot reproduce it with e.g. Gentoo, so I have no idea why and where this mount option is lost. mount version seems not to be responsible for this bug. The fact is that on the same PC kernel 2.6.34 doesn't exhibit this problem.
strace shows this call: mount("/dev/loop0", "loop", "vfat", MS_MGC_VAL|MS_SILENT, NULL) = 0, that means mount command works correctly. So there can be only two culprits: either kernel or glibc. I have glibc-2.12-3.i686 here.
People have reproduced this problem with 2.6.34 kernel on Fedora 13. It seems like glibc is playing some dirty tricks here.
Probably, it would be problem of mount command. MS_SILENT isn't right one in here. It should be mount("/dev/loop0", "m", "vfat", MS_MGC_VAL, "quiet") = 0 i.e. "quiet" option should be passed as is, not MS_SILENT.
I suppose you are right, thus I'm closing this bug as INVALID. Fedora bug report is filed here: https://bugzilla.redhat.com/show_bug.cgi?id=622089