mirror of https://github.com/mkerrisk/man-pages
Relocated "Note" about f_fsid.
This commit is contained in:
parent
b325f1fd9c
commit
56bbbf8ef7
|
@ -180,7 +180,29 @@ The Linux
|
|||
.BR statfs ()
|
||||
was inspired by the 4.4BSD one
|
||||
(but they do not use the same structure).
|
||||
.SH "NOTES ON f_fsid"
|
||||
.SH NOTES
|
||||
The kernel has system calls
|
||||
.BR statfs (),
|
||||
.BR fstatfs (),
|
||||
.BR statfs64 (),
|
||||
and
|
||||
.BR fstatfs64 ()
|
||||
to support this library call.
|
||||
|
||||
Some systems only have <sys/vfs.h>, other systems also have
|
||||
<sys/statfs.h>, where the former includes the latter. So it seems
|
||||
including the former is the best choice.
|
||||
|
||||
LSB has deprecated the library calls
|
||||
.BR statfs ()
|
||||
and
|
||||
.BR fstatfs ()
|
||||
and tells us to use
|
||||
.BR statvfs ()
|
||||
and
|
||||
.BR statvfs ()
|
||||
instead.
|
||||
.SS The f_fsid field
|
||||
Solaris, Irix and POSIX have a system call
|
||||
.BR statvfs (2)
|
||||
that returns a
|
||||
|
@ -224,28 +246,6 @@ Under some OSes the
|
|||
can be used as second parameter to the
|
||||
.BR sysfs ()
|
||||
system call.
|
||||
.SH NOTES
|
||||
The kernel has system calls
|
||||
.BR statfs (),
|
||||
.BR fstatfs (),
|
||||
.BR statfs64 (),
|
||||
and
|
||||
.BR fstatfs64 ()
|
||||
to support this library call.
|
||||
|
||||
Some systems only have <sys/vfs.h>, other systems also have
|
||||
<sys/statfs.h>, where the former includes the latter. So it seems
|
||||
including the former is the best choice.
|
||||
|
||||
LSB has deprecated the library calls
|
||||
.BR statfs ()
|
||||
and
|
||||
.BR fstatfs ()
|
||||
and tells us to use
|
||||
.BR statvfs ()
|
||||
and
|
||||
.BR statvfs ()
|
||||
instead.
|
||||
.SH "SEE ALSO"
|
||||
.BR path_resolution (2),
|
||||
.BR stat (2),
|
||||
|
|
Loading…
Reference in New Issue