Re: subvolume info in /proc/mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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].

Thank you Karel, at least the list now has an answer on how to find the
mounted subvolume. For a moment I thought that no one had noticed this
part of the question.

In any production scenario, the first time you try to explore btrfs
subvolume capabilities it becomes obvious that this feature is missing and
it is weird how this has overlooked for such a long time.

Nikos



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux