RE: mount -f regression in v2.21's new-mount

Voelker, Bernhard
2012-03-12T14:09:37Z

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?
> >=20
> > - disadvantage is that some userspace utils (e.g. df(1) are not able
> > to de-duplicate list of mounted filesystem (bind mounts))
> >=20
> > + 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.
> >=20
> > The symlink is required for systemd.
>=20
> 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=20
(along with the point that the long uuid names of the devices
are annoying).

Have a nice day,
Berny=