summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1997-11-05 10:09:33 +0000
committerjmg <jmg@FreeBSD.org>1997-11-05 10:09:33 +0000
commita0b51901be9438ce2a2375ef8b35d2bf575425d4 (patch)
tree4ceb5edcca6234b0cd8bd8024396055bdbc8ce58 /lib
parent71a2202c76c5302a1c9e6d94c80d36fc99993c09 (diff)
downloadFreeBSD-src-a0b51901be9438ce2a2375ef8b35d2bf575425d4.zip
FreeBSD-src-a0b51901be9438ce2a2375ef8b35d2bf575425d4.tar.gz
changed prototype to match text
changed sysctl to lsvfs as "sysctl vfs" doesn't return a listing of possible filesystem names
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/mount.212
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index e42b8ff..cd7124d 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -42,7 +42,7 @@
.Fd #include <sys/param.h>
.Fd #include <sys/mount.h>
.Ft int
-.Fn mount "const char *name" "const char *dir" "int flags" "void *data"
+.Fn mount "const char *type" "const char *dir" "int flags" "void *data"
.Ft int
.Fn unmount "const char *dir" "int flags"
.Sh DESCRIPTION
@@ -118,11 +118,7 @@ The
.Fa type
argument names the filesystem.
The types of filesystems known to the system can be obtained with
-.Xr sysctl 8
-by using the command:
-.Bd -literal -offset indent
-sysctl vfs
-.Ed
+.Xr lsvfs 1 .
.Pp
.Fa Data
is a pointer to a structure that contains the type
@@ -131,7 +127,7 @@ The format for these argument structures is described in the
manual page for each filesystem.
By convention filesystem manual pages are named
by prefixing ``mount_'' to the name of the filesystem as returned by
-.Xr sysctl 8 .
+.Xr lsvfs 1 .
Thus the
.Nm NFS
filesystem is described by the
@@ -300,9 +296,9 @@ or
mount can also fail if the maximum number of filesystems are currently
mounted.
.Sh SEE ALSO
+.Xr lsvfs 1 ,
.Xr mfs 8 ,
.Xr mount 8 ,
-.Xr sysctl 8 ,
.Xr umount 8
.Sh BUGS
Some of the error codes need translation to more obvious messages.
OpenPOWER on IntegriCloud