]> git.ipfire.org Git - thirdparty/man-pages.git/commit
statvfs.3: note f_favail = f_ffree on Linux
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Sat, 8 Jul 2023 20:01:29 +0000 (22:01 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 15 Jul 2023 13:40:04 +0000 (15:40 +0200)
commitc3f43ba17e68e5d7599b8c7e31b61d069f4d7639
tree1c5deded02b755b5eb2cb0dc43e4a87162612aaf
parentc6a101c1c63d9ef70a2536495e5768d48bb525aa
statvfs.3: note f_favail = f_ffree on Linux

Quoting myself from #musl:
01:59:40 hm, I think this was just invented for symmetry with bfree/bavail
02:00:46 FFS has minfree for space but nothing equivalent for inodes
02:32:31 (this is mirrored in ext4;
  a global grep over DragonFlyBSD and the illumos gate
  showed just NFSv3 forwarding from the server;
  OpenBSD always sets it to the same thing as f_ffree;
  oddly, NetBSD /does/ calculate it differently
  for LFS and FFS but due to queued writes or
  w/e not because of root reservation;
  and as expected a lot of "/* what to put in here? */"
                       and "// XXX same??")

Link: https://lore.kernel.org/linux-man/f54kudgblgk643u32tb6at4cd3kkzha6hslahv24szs4raroaz@ogivjbfdaqtb/t/#u
Cc: Tom Schwindl <schwindl@posteo.de>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man3/statvfs.3