sysfs.2: Clarify that this syscall is obsolete.

And strengthen recommendation for to use /proc/filesystems
instead.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-06-27 15:51:46 +02:00
parent 2859e48cd8
commit d1d721bec5
1 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@
.\"
.\" Created Wed Aug 9 1995 Thomas K. Dyas <tdyas@eden.rutgers.edu>
.\"
.TH SYSFS 2 1995-08-09 "Linux" "Linux Programmer's Manual"
.TH SYSFS 2 2010-06-27 "Linux" "Linux Programmer's Manual"
.SH NAME
sysfs \- get file system type information
.SH SYNOPSIS
@ -90,12 +90,12 @@ is invalid.
.SH "CONFORMING TO"
SVr4.
.SH NOTES
On Linux with the
.I proc
file system mounted on
This System-V derived system call is obsolete; don't use it.
On systems with
.IR /proc ,
the same information can be derived from
.IR /proc/filesystems .
the the same information can be obtained via
.IR /proc/filesystems ;
use that interface instead.
.SH BUGS
There is no libc or glibc support.
There is no way to guess how large \fIbuf\fP should be.