On Dec 27, 2012, at 9:47 AM, Swâmi Petaramesh <[email protected]> wrote:
> Le 27/12/2012 16:03, Hugo Mills a écrit : >> Right now, no, there isn't any way of telling which subvolume is >> mounted at a given location. > > Er... Check "subvol=" here... > > root@tethys:/# mount | grep btrfs > /dev/mapper/VG1-BTR_POOL on / type btrfs > (rw,relatime,subvol=UBUNTU/@,autodefrag,compress=lzo) > /dev/mapper/VG1-BTR_POOL on /tmp type btrfs > (rw,relatime,subvol=UBUNTU/@tmp,compress=lzo) > /dev/sda2 on /boot type btrfs (rw,relatime,subvol=UBUNTU/@boot,autodefrag) > /dev/mapper/VG1-BTR_POOL on /home type btrfs > (rw,relatime,subvol=UBUNTU/@home,autodefrag,compress=lzo) > /dev/mapper/VG1-BTR_POOL on /storage type btrfs > (rw,relatime,subvol=STORAGE,autodefrag,compress=lzo) > /dev/mapper/VG1-BTR_POOL on /data/BIG type btrfs > (rw,noatime,subvol=DATA/BIG,compress=lzo) That would only seem to work with btrfs on LVM which I'd think is uncommon and complicated. Chris Murphy-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
