Closed thrasibule closed 3 years ago
Steps to reproduce:
The reason is I use btrfs which doesn't use inodes, so the number of free inodes is always 0. For instance this is the output of stat on my home directory:
stat
File: "." ID: db1a9d2a5fd7f276 Namelen: 255 Type: btrfs Block size: 4096 Fundamental block size: 4096 Blocks: Total: 63743569 Free: 11700730 Available: 11555225 Inodes: Total: 0 Free: 0
I suggest removing that line, or testing other attributes that are not 0. I can send a PR to that effect.
PR welcome. Using vfs.f_files is still needed to exercise that code, without assertion.
vfs.f_files
Bug reports
Steps to reproduce:
The reason is I use btrfs which doesn't use inodes, so the number of free inodes is always 0. For instance this is the output of
stat
on my home directory:I suggest removing that line, or testing other attributes that are not 0. I can send a PR to that effect.