coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /proc/self/mountinfo versus chroot


From: Bernhard Voelker
Subject: Re: /proc/self/mountinfo versus chroot
Date: Fri, 4 Mar 2016 17:17:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 03/04/2016 04:38 PM, Rick Troth wrote:
> The nice thing about /etc/mtab is that admins, developers, and tinkers
> can manually set it however they feel they need. The flames against it
> on the lists are a little surprising, and rather sad.

Well, the kernel always knows what's mounted where, so it seems that
mtab has always been redundant.

See also: "Yeah, mtab is evil.", from
http://karelzak.blogspot.de/2011/04/bind-mounts-mtab-and-read-only.html

Regarding your case: I don't see /dev/root in df's output inside
a chroot here.

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]