[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131101115744.GC23604@x2.net.home>
Date: Fri, 1 Nov 2013 12:57:44 +0100
From: Karel Zak <kzak@...hat.com>
To: Linda Walsh <lkml@...nx.org>
Cc: NeilBrown <neilb@...e.de>, LKML <linux-kernel@...r.kernel.org>
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@...hat.com>
http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists