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 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
TARGET SOURCE FSTYPE OPTIONS
/mnt/test /dev/sda4[/usr/local/bin] ext4 rw,relatime,data=ordered

Karel

> 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

--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com


\
 
 \ /
  Last update: 2013-11-01 13:41    [W:0.035 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site