See #42 for the rationale.
EDIT : I've given up the / solution as it would omit all the other local mount points as well, and against systems with a /home larger than / (for instance), it wouldn't be relevant at all.
How has this been tested ?
:warning: Not tested on a real BTRFS system. :warning:
@qx071, are you ready to test / improve / guide me on this ?
EDIT 2019-08-15 : I've figured out that the btrfs [...] call being made does not work at all.
So @qx071, I'll definitely need you to properly list BTRFS (sub-)volumes to fetch their meta-data. Waiting for your input on this !
EDIT 2019-12-24 : To myself (@HorlogeSkynet), don't forget to rename self.usage to self._usage.
EDIT 2020-03-25 : Wrong btrfs call has been replaced, it should work as expected now.
Types of changes :
[X] Bug fix (non-breaking change which fixes an issue)
See #42 for the rationale. EDIT : I've given up the
/
solution as it would omit all the other local mount points as well, and against systems with a/home
larger than/
(for instance), it wouldn't be relevant at all.How has this been tested ?
:warning: Not tested on a real BTRFS system. :warning:
@qx071, are you ready to test / improve / guide me on this ?
EDIT 2019-08-15 : I've figured out that the
btrfs [...]
call being made does not work at all. So @qx071, I'll definitely need you to properly list BTRFS (sub-)volumes to fetch their meta-data. Waiting for your input on this !EDIT 2019-12-24 : To myself (@HorlogeSkynet), don't forget to rename
self.usage
toself._usage
.EDIT 2020-03-25 : Wrong
btrfs
call has been replaced, it should work as expected now.Types of changes :
Checklist :