btrfs subvolume list $dev

$1 $2  $3  $4     $5  $6    $7 $8  $9
ID 347 gen 146495 top level 5 path @rootfs

id=$2
gen=$4
top_level=$7
path=$9
