Am 08.07.2014 22:19, schrieb Holger Hoffstätte: > > On Tue, 08 Jul 2014 21:07:30 +0200, Stefan G. Weichinger wrote: > >> I am a happy btrfs-user with gentoo linux for some time now and noticed >> that the command "mount" does not show me which subvolid is mounted where. > > Interestingly I just found that this came up in Fedora some time ago: > https://bugzilla.redhat.com/show_bug.cgi?id=743118 > > findmnt seems to do the trick, so the underlying functionality in > libmnt seems to work. Maybe Debian's mount does something differently?
findmnt does not fully show the subvolids or names: # findmnt | grep btrfs / /dev/sda3[/rootfs] btrfs rw,noatime,compress=lzo,ssd,space_cache ├─/mnt/uncow /dev/sda3 btrfs rw,noatime,compress=lzo,ssd,space_cache └─/home/sgw /dev/mapper/_dev_sda4 btrfs rw,noatime,compress=lzo,ssd,space_cache The "[/rootfs]" is something in the right direction ... S -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html