lkml.org 
[lkml]   [2013]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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]
\
 
 \ /
  Last update: 2013-11-01 05:41    [W:0.053 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site