# # Common btrfs specific functions # _btrfs_get_subvolid() { mnt=$1 name=$2 $BTRFS_UTIL_PROG sub list $mnt | egrep "\s$name$" | awk '{ print $2 }' } # _require_btrfs_command [|