AFAIK this known historical behavior that what you find in
`/etc/mtab` are things mounted by mount(8) (if that's what's printed by
running just mount).

Whereas /proc/mounts is the kernel view on what's mounted.

Curiously I don't see any difference on my gentoo box, which I think I
should see but I'm not sure.

Anyway, I've seen differences when eg. automounter was used, iirc.
I wouldn't be surprised if there are things that depends on this
behavior or if there are more cases like automounter.

On Sun, 13 Oct 2013 14:32:32 -0500
William Hubbs <willi...@gentoo.org> wrote:

> All,
> 
> from what I'm seeing, we should look into converting /etc/mtab to a
> symlink to /proc/self/mounts [1].
> 
> Are there any remaining concerns about doing this?
> 
> If not, it seems like it would be pretty easy to make baselayout
> create this symlink in the stages (I'm willing to do this work), but
> what about on systems that are already installed? Should we send out
> a news item and have everyone convert their /etc/mtab manually or
> find a way to automate that?
> 
> William
> 
> [1] http://bugs.gentoo.org/show_bug.cgi?id=477498

Attachment: signature.asc
Description: PGP signature

Reply via email to