From f668085d2dd477e6cf680ca432279893f06a12ed Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 5 Nov 1997 10:09:33 +0000 Subject: [PATCH] changed prototype to match text changed sysctl to lsvfs as "sysctl vfs" doesn't return a listing of possible filesystem names --- lib/libc/sys/mount.2 | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2 index e42b8ff7455..cd7124da0fc 100644 --- a/lib/libc/sys/mount.2 +++ b/lib/libc/sys/mount.2 @@ -42,7 +42,7 @@ .Fd #include .Fd #include .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.