On Dec 27, 2012, at 7:29 AM, Gene Czarcinski [off-list ref] wrote:
OK, this is from inside a shell. I have a btrfs volume or a btrfs subvolume on some arbitrary mount mount. Is there some way to tell if it is a btrfs volume or a btrfs subvolume that is mounted?
cat /proc/self/mountinfo | grep btrfs
That will show you what subvol is mounted and where, subvol is the 4th column, mountpoint is the fifth.
Chris Murphy