Matt Burgess wrote: > Karel Zak wrote: > > Matt Burgess wrote: > > > Thanks! Is there a consensus opinion on whether users should be > > > using a regular mtab or a symlink to /proc/self/mountinfo? > > > > - disadvantage is that some userspace utils (e.g. df(1) are not able > > to de-duplicate list of mounted filesystem (bind mounts)) > > > > + advantage is that there is only one list of mounted filesystems > > with always valid mount options (on systems with mtab is not problem > > to have 'rw' in mtab for read-only NFS, etc.), no problems with > > namespaces, not writable files in /etc, no mtab lock, etc. > > > > The symlink is required for systemd. > > Thanks for the info. Looks like there are more advantages than > disadvantages. Without wishing to stray too far off-topic, do you know > if the Coreutils folks are aware of/looking at the 'df' issue? It is: http://lists.gnu.org/archive/html/bug-coreutils/2011-12/msg00153.html (along with the point that the long uuid names of the devices are annoying). Have a nice day, Berny-- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html