summaryrefslogtreecommitdiff
path: root/lib/libc/sys/mount.2
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>1997-11-05 10:09:33 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>1997-11-05 10:09:33 +0000
commitf668085d2dd477e6cf680ca432279893f06a12ed (patch)
tree189da55481abe5868e21fd5591bf8b7b85524ec2 /lib/libc/sys/mount.2
parent48761ea3adea2d0b35c2a56a7e013c2a0e848cb8 (diff)
Notes
Diffstat (limited to 'lib/libc/sys/mount.2')
-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 e42b8ff7455f..cd7124da0fc4 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.