6

Some filesystem flags seem to be hidden in /proc/mounts, depending on whether they are defined as defaults.

Is there a way to show all flags in /proc/mounts, also including the default ones? And if not, is there another command to see all enabled flags for the mounted filesystems?

My background: I have set the data=writeback flag in fstab and also passed it to the kernel in my grub configuration, but it is still not listed in /proc/mounts. Now, how can I find out whether this is because data=writeback is a default (and thus not shown), or because the flag is indeed not set?

derwiwie
  • 161
  • Not sure if this will be directly accessible or not: http://superuser.com/questions/318293/how-to-know-if-noatime-or-relatime-is-default-mount-option-in-kernel – slm Nov 22 '13 at 14:27
  • Related: http://unix.stackexchange.com/questions/24182/how-to-get-the-complete-and-exact-list-of-mounted-filesystems-in-linux – slm Nov 22 '13 at 14:29
  • I think the answer is to check your kernel version and compare with the source (beware that distributions may occasionally change the defaults). Maybe someone's written a tool for this. – Gilles 'SO- stop being evil' Nov 22 '13 at 23:17

0 Answers0