Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.2.1
-
None
Description
In get_available_space and get_total_space, the code determines the block size by looking for the 'Block size:' value in the 'stat -f' output. Some versions of Linux don't display this as 'Block size:', but as 'Size:'
File: "/"
ID: 0 Namelen: 255 Type: ext2/ext3
Blocks: Total: 8720776 Free: 8288294 Available: 7845302 Size: 4096
Inodes: Total: 4431392 Free: 4353884