HorlogeSkynet / archey4

:computer: Maintained fork of the original Archey (Linux) system tool
https://git.io/archey4
GNU General Public License v3.0
295 stars 37 forks source link

Feature / Bugfix : Proper BTRFS support #43

Closed HorlogeSkynet closed 4 years ago

HorlogeSkynet commented 5 years ago

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 :

Checklist :

HorlogeSkynet commented 5 years ago

@qx071, little up if you got some spare time ? Bye 👋

HorlogeSkynet commented 4 years ago

A better implementation has just been proposed here. @qx071, if you're ready to try this out on your system before it gets merged, it's now !