lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ