Is there any way to list just writable subvolumes in a btrfs filesystem like the way we can list just read-only subvolumes using -r
flag in btrfs subvolume list [path]
(which gives all subvolumes regardless of being read-only or writable)?
I know that it's doable using diff command like this: diff <(btrfs su list /) <(btrfs su list -r /)
, but a I'm looking for a less-hacky way using btrfs
command itself.