diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-03-10 14:28:50 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-03-11 07:49:44 +0000 |
commit | 2eee44bd5ebcb88bf304215be1b0c68b6802a924 (patch) | |
tree | b8b868c4d301a34c5831be0bbc24ff5589921aa2 /sbin/newfs/mkfs.c | |
parent | f03aca96b841033ced66956e3a6a104ede83f35d (diff) | |
download | src-2eee44bd5ebcb88bf304215be1b0c68b6802a924.tar.gz src-2eee44bd5ebcb88bf304215be1b0c68b6802a924.zip |
df: do not report a 100% full inode usage on fs without inodes
Before:
devfs 2 2 0 100% 0 0 100% /dev
After:
devfs 2 2 0 100% 0 0 - /dev
The previous behaviour was confusing for end users and many monitoring tools
Note the linux df tools is also using the same syntax '-' for such filesystem
MFC After: 2 weeks
Reviewed by: manu, emaste, imp
Differential Revision: https://reviews.freebsd.org/D34515
Diffstat (limited to 'sbin/newfs/mkfs.c')
0 files changed, 0 insertions, 0 deletions