Messages in this thread | | | Date | Fri, 1 Nov 2013 15:15:21 +1100 | From | NeilBrown <> | Subject | Re: RFE?: why no 'bind' info in /proc/mounts? |
| |
On Thu, 31 Oct 2013 18:06:01 -0700 Linda Walsh <lkml@tlinx.org> wrote:
> > If I only mount 1 file (or a subdir) via "bind", it still shows the entire > device being mounted on the "bound" directory. > > Is there anyway to get a bit more granularity as to *what* was > bound on a name? (subdir/file..?)
Take a look in /proc/self/mountinfo. It contains more useful stuff about the mount table which couldn't be put in /proc/mounts without breaking compatibility.
NeilBrown [unhandled content-type:application/pgp-signature] | |