[PATCH 2/2] statvfs.3: note f_favail = f_ffree on Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's unclear to me if inodes /may/ be reserved for root at all,
but the glibc comment in the Link would imply as much.

Link: https://lore.kernel.org/linux-man/f54kudgblgk643u32tb6at4cd3kkzha6hslahv24szs4raroaz@ogivjbfdaqtb/t/#u
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>
---
 man3/statvfs.3 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/man3/statvfs.3 b/man3/statvfs.3
index b1f0e7545..23e4388fb 100644
--- a/man3/statvfs.3
+++ b/man3/statvfs.3
@@ -227,6 +227,12 @@ .SH NOTES
 .BR statvfs ()
 with the argument
 .IR path .
+.SH BUGS
+Under Linux,
+.I f_favail
+is always the same as
+.IR f_ffree ,
+even if some inodes are reserved for root.
 .SH STANDARDS
 POSIX.1-2008.
 .SH HISTORY
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux