Thread (11 messages) 11 messages, 7 authors, 2012-02-21

Re: subvolume info in /proc/mounts

From: Karel Zak <kzak@redhat.com>
Date: 2012-02-06 09:52:34

On Sat, Feb 04, 2012 at 08:40:51PM +0200, Nikos Voutsinas wrote:
There was a patch to include the subvolume mount option into /proc/mounts.
Did that make it into the kernel;

If not, what is the formal way to find out which subvolume is mounted;
 see /proc/self/mountinfo there is 'fs root' column, for bind mounts
 and btrfs subvolumes is there '/<path>' (and '/' for normal mounts).

 findmnt(8) uses the path in SOURCE column, for example /dev/sda1[/subvolume].

    Karel


-- 
 Karel Zak  [off-list ref]
 http://karelzak.blogspot.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help