Re: RFE?: why no 'bind' info in /proc/mounts?

2013-11-01 Thread Karel Zak
On Fri, Nov 01, 2013 at 01:49:08AM -0700, Linda Walsh wrote: > > > Ah... didn't know about the other format file... thanks! Or use more user friendly findmnt(8) command: # mount --bind /usr/local/bin /mnt/test # findmnt /mnt/test TARGETSOURCEFSTYPE OPTIONS

Re: RFE?: why no 'bind' info in /proc/mounts?

2013-11-01 Thread Linda Walsh
Ah... didn't know about the other format file... thanks! On 10/31/2013 9:15 PM, NeilBrown wrote: 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 -- To unsubscribe

Re: RFE?: why no 'bind' info in /proc/mounts?

2013-11-01 Thread Linda Walsh
Ah... didn't know about the other format file... thanks! On 10/31/2013 9:15 PM, NeilBrown wrote: 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 -- To unsubscribe

Re: RFE?: why no 'bind' info in /proc/mounts?

2013-11-01 Thread Karel Zak
On Fri, Nov 01, 2013 at 01:49:08AM -0700, Linda Walsh wrote: Ah... didn't know about the other format file... thanks! Or use more user friendly findmnt(8) command: # mount --bind /usr/local/bin /mnt/test # findmnt /mnt/test TARGETSOURCEFSTYPE OPTIONS

Re: RFE?: why no 'bind' info in /proc/mounts?

2013-10-31 Thread NeilBrown
On Thu, 31 Oct 2013 18:06:01 -0700 Linda Walsh 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

RFE?: why no 'bind' info in /proc/mounts?

2013-10-31 Thread Linda Walsh
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..?) -- To unsubscribe from this list: send the line "unsubscribe

RFE?: why no 'bind' info in /proc/mounts?

2013-10-31 Thread Linda Walsh
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..?) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: RFE?: why no 'bind' info in /proc/mounts?

2013-10-31 Thread NeilBrown
On Thu, 31 Oct 2013 18:06:01 -0700 Linda Walsh l...@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..?)