Partition subvolumes returns only mounted subvolumes. It should also return information from subvolumes defined but not mounted.
Two problems to implement it.
btrfs (the utility) has/haven't found no output mode prepared for script output, so its results have to be parsed by hand
To get the list of subvolumes you need the btrfs filesystem root mounted (can be done in parallel to real mount)
This issue is rather an enhacement request, as AFAIK no current code needs it (but i will for the new disk manager). Not a high priority for me right now; so, if anyone wants to step into ...
Partition subvolumes returns only mounted subvolumes. It should also return information from subvolumes defined but not mounted. Two problems to implement it.
This issue is rather an enhacement request, as AFAIK no current code needs it (but i will for the new disk manager). Not a high priority for me right now; so, if anyone wants to step into ...
Update MapperDev has also the same code