Re: Subvolumes and /proc/self/mountinfo
- Subject: Re: Subvolumes and /proc/self/mountinfo
- From: "H. Peter Anvin" <hpa@xxxxxxxxx>
- Date: Tue, 19 Jun 2012 16:35:59 -0700
- Cc: linux-btrfs@xxxxxxxxxxxxxxx
- In-reply-to: <1340115766.3403.19.camel@cwalton-XPS-8300>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
On 06/19/2012 07:22 AM, Calvin Walton wrote:
>
> All subvolumes are accessible from the volume mounted when you use -o
> subvolid=0. (Note that 0 is not the real ID of the root volume, it's
> just a shortcut for mounting it.)
>
Could you clarify this bit? Specifically, what is the real ID of the
root volume, then?
I found that after having set the default subvolume to something other
than the root, and then mounting it without the -o subvol= option, then
the subvolume name does *not* show in /proc/self/mountinfo; the same
happens if a subvolume is mounted by -o subvolid= rather than -o subvol=.
Is this a bug? This would seem to give the worst of both worlds in
terms of actually knowing what the underlying filesystem path would end
up looking like.
-hpa
--
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
[Linux NFS]
[Linux NILFS]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]