[opensuse-kernel] Concurrent mounting of btrfs subvolumes
Is it possible to concurrently mount different btrfs subvolumes at the same time? Neither /proc/self/mounts nor /proc/self/mountinfo return information about subvol=/subvolid= option. What is fool proof way to determine which subvolume is actually mounted? -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Sun, Oct 13, 2013 at 09:02:57AM +0400, Andrey Borzenkov wrote:
Is it possible to concurrently mount different btrfs subvolumes at the same time?
It is possible.
Neither /proc/self/mounts nor /proc/self/mountinfo return information about subvol=/subvolid= option. What is fool proof way to determine which subvolume is actually mounted?
This is a known problem, on my todo list, with a few non-working solutions. If you mount via subvol=/subvol then /proc/self/mountinfo will show 'subvol' as the mounted subvolume (4th column) 4 19 0:17 /subvol /mnt/ rw,relatime - btrfs /dev/sda15 rw,space_cache but if the subvolume is set-default and then implicitly mounted, mountinfo will not show that (that's the bug). hth, david -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Andrey Borzenkov
-
David Sterba