Skip to content

storage: simplified use of df to get disk information

Sunil Mohan Adapa requested to merge JoKeyser:fix-storage-df-size into master

Created by: JoKeyser

  • Use df --block-size=1 instead --human-readable to fix locale issue #1043 (closed).
  • Code cleanup: get available space directly, better variable/module names.

This properly fixes #1043 (closed), because df's output is no longer dependent on the locale.

Merge request reports

Loading