[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131101151521.2fa0b434@notabene.brown>
Date: Fri, 1 Nov 2013 15:15:21 +1100
From: NeilBrown <neilb@...e.de>
To: Linda Walsh <lkml@...nx.org>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: RFE?: why no 'bind' info in /proc/mounts?
On Thu, 31 Oct 2013 18:06:01 -0700 Linda Walsh <lkml@...nx.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
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists