Page MenuHomeFreeBSD

df: do not report a 100% full inode usage on fs without inodes
ClosedPublic

Authored by bapt on Mar 10 2022, 2:31 PM.
Tags
None
Referenced Files
F102868950: D34515.diff
Mon, Nov 18, 5:30 AM
Unknown Object (File)
Oct 16 2024, 1:54 PM
Unknown Object (File)
Oct 16 2024, 1:54 PM
Unknown Object (File)
Oct 16 2024, 1:54 PM
Unknown Object (File)
Oct 16 2024, 1:32 PM
Unknown Object (File)
Sep 20 2024, 10:41 AM
Unknown Object (File)
Sep 20 2024, 2:04 AM
Unknown Object (File)
Sep 19 2024, 3:06 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44730
Build 41618: arc lint + arc unit

Event Timeline

bapt requested review of this revision.Mar 10 2022, 2:31 PM

before:

$ df -i /dev
devfs                       2        2         0   100%       0          0   100%   /dev

after:

$ df -i /dev
devfs                       2        2         0   100%       0          0      -   /dev

it avoids monitoring tools which look for inode occupation to have to maintain of list of filesystem to skip.

Note that on linux df is doring the same, for example on msdosfs filesystem.

This revision is now accepted and ready to land.Mar 10 2022, 2:34 PM

Seems reasonable to me. Perhaps we should note it in the man page?

Seems reasonable to me. Perhaps we should note it in the man page?

+1