Messages in this thread |  | | Date | Fri, 1 Nov 2013 12:57:44 +0100 | From | Karel Zak <> | Subject | Re: 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
|  |