util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mount.8: mtab as symlink
@ 2014-07-21  6:05 Bernhard Voelker
  2014-07-21  8:28 ` Karel Zak
  0 siblings, 1 reply; 11+ messages in thread
From: Bernhard Voelker @ 2014-07-21  6:05 UTC (permalink / raw)
  To: util-linux@vger.kernel.org; +Cc: Pádraig Brady

Hi Karel,

on coreutils' mailing list, we regularly receive complaints about
df(1) not working properly with bind mounts, and it turns out that
the users' system still has /etc/mtab as a regular file.
(There were recently a lot of attempts to fix issues with duplicate
mounts and over-mounting - and thus eclipsing - of source or target.)

Well, there might be a bug in df(1), anyway, we'd like to advise
the user to switch to mtab as a symlink to /proc/mounts or
/proc/self/mounts as it is common nowadays on many distros.
But then the user reads "man 8 mount" ...

  It is  possible to replace /etc/mtab by a symbolic link to
  /proc/mounts, and especially when you have very large numbers
  of mounts things will be much faster with that symlink, but some
  information is lost that way, and in particular using the "user"
  option will fail.

... and is scared about the last sentence.
Is this still true? I don't have problems with mounting "user"
file systems (apart from ntfs-3g) here. What are the problems,
and if they still exist, could the details be added to the man
page, please?

Thanks & have a nice day,
Berny

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-31 19:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21  6:05 mount.8: mtab as symlink Bernhard Voelker
2014-07-21  8:28 ` Karel Zak
2014-07-21 21:16   ` Benno Schulenberg
2014-07-21 21:32     ` Bernhard Voelker
2014-07-21 22:18       ` Benno Schulenberg
2014-07-21 23:49         ` Karel Zak
2014-07-27 18:57           ` Benno Schulenberg
2014-07-29 10:21             ` Karel Zak
2014-07-29 19:41               ` helper= and uhelper= Benno Schulenberg
2014-07-30  7:26                 ` Karel Zak
2014-07-31 19:47                   ` Benno Schulenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).