summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-12-14 22:58:37 +0000
committermpp <mpp@FreeBSD.org>1996-12-14 22:58:37 +0000
commitd6f5b2f85614c5f1927ceca80e42107d3c77479e (patch)
tree19c4e2d24b6ea46a8f743152d9af612ceae064af /sbin
parent2d8d988894bcac09c4bf5efc5800892a7930cd12 (diff)
downloadFreeBSD-src-d6f5b2f85614c5f1927ceca80e42107d3c77479e.zip
FreeBSD-src-d6f5b2f85614c5f1927ceca80e42107d3c77479e.tar.gz
Now that all of the "standard" file system mount commands
refer the reader to the detailed information in section 5, remove the mount_* man pages for those file system. mount_std(8) to cover all of the file systems it is currently being used to mount. mount_{devfs, fdesc, kernfs, procfs}.8 are now MLINKS to mount_std.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_std/Makefile4
-rw-r--r--sbin/mount_std/mount_devfs.883
-rw-r--r--sbin/mount_std/mount_fdesc.898
-rw-r--r--sbin/mount_std/mount_kernfs.8100
-rw-r--r--sbin/mount_std/mount_procfs.8109
-rw-r--r--sbin/mount_std/mount_std.849
6 files changed, 44 insertions, 399 deletions
diff --git a/sbin/mount_std/Makefile b/sbin/mount_std/Makefile
index ff01131..4085850 100644
--- a/sbin/mount_std/Makefile
+++ b/sbin/mount_std/Makefile
@@ -2,7 +2,9 @@
PROG= mount_std
SRCS= mount_std.c getmntopts.c
-MAN8= mount_std.8 mount_devfs.8 mount_fdesc.8 mount_kernfs.8 mount_procfs.8
+MAN8= mount_std.8
+MLINKS= mount_std.8 mount_devfs.8 mount_std.8 mount_fdesc.8 \
+ mount_std.8 mount_kernfs.8 mount_std.8 mount_procfs.8
MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
diff --git a/sbin/mount_std/mount_devfs.8 b/sbin/mount_std/mount_devfs.8
deleted file mode 100644
index 2ecc1b8..0000000
--- a/sbin/mount_std/mount_devfs.8
+++ /dev/null
@@ -1,83 +0,0 @@
-.\"
-.\" Copyright (c) 1992, 1993, 1994
-.\" The Regents of the University of California. All rights reserved.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software donated to Berkeley by
-.\" Jan-Simon Pendry.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
-.\" may be used to endorse or promote products derived from this software
-.\" without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" @(#)mount_devfs.8 8.2 (Berkeley) 3/27/94
-.\"
-.\"
-.Dd March 27, 1994
-.Dt MOUNT_DEFVS 8
-.Os FreeBSD 2.0
-.Sh NAME
-.Nm mount_devfs
-.Nd mount the /devs file system
-.Sh SYNOPSIS
-.Nm mount_devfs
-.Op Fl o Ar options
-.Ar "devfs"
-.Ar mount_point
-.Sh DESCRIPTION
-The
-.Nm mount_devfs
-command attaches an instance of the kernel's device
-namespace to the global filesystem namespace.
-The conventional mount point is
-.Pa /devs .
-This command is normally executed by
-.Xr mount 8
-at boot time.
-.Pp
-The options are as follows:
-.Bl -tag -width indent
-.It Fl o
-Options are specified with a
-.Fl o
-flag followed by a comma separated string of options.
-See the
-.Xr mount 8
-man page for possible options and their meanings.
-.El
-.Sh SEE ALSO
-.Xr mount 2 ,
-.Xr unmount 2 ,
-.Xr fstab 5 ,
-.Xr mount 8
-.Sh CAVEATS
-This filesystem may not be NFS-exported.
-.Sh HISTORY
-The
-.Nm mount_devfs
-utility first appeared in
-.Fx 2.0 .
diff --git a/sbin/mount_std/mount_fdesc.8 b/sbin/mount_std/mount_fdesc.8
deleted file mode 100644
index 45cfc1b..0000000
--- a/sbin/mount_std/mount_fdesc.8
+++ /dev/null
@@ -1,98 +0,0 @@
-.\"
-.\" Copyright (c) 1992, 1993, 1994
-.\" The Regents of the University of California. All rights reserved.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software donated to Berkeley by
-.\" Jan-Simon Pendry.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
-.\" may be used to endorse or promote products derived from this software
-.\" without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" @(#)mount_fdesc.8 8.2 (Berkeley) 3/27/94
-.\"
-.\"
-.Dd March 27, 1994
-.Dt MOUNT_FDESC 8
-.Os BSD 4.4
-.Sh NAME
-.Nm mount_fdesc
-.Nd mount the file-descriptor file system
-.Sh SYNOPSIS
-.Nm mount_fdesc
-.Op Fl o Ar options
-.Ar fdesc
-.Ar mount_point
-.Sh DESCRIPTION
-The
-.Nm mount_fdesc
-command attaches an instance of the per-process file descriptor
-namespace to the global filesystem namespace.
-The conventional mount point is
-.Pa /dev
-and the filesystem should be union mounted in order to augment,
-rather than replace, the existing entries in
-.Pa /dev .
-This command is normally executed by
-.Xr mount 8
-at boot time.
-.Pp
-The options are as follows:
-.Bl -tag -width indent
-.It Fl o
-Options are specified with a
-.Fl o
-flag followed by a comma separated string of options.
-See the
-.Xr mount 8
-man page for possible options and their meanings.
-.El
-.Pp
-See
-.Xr fdesc 5
-for a detailed description of the contents
-of the
-.Nm fdesc
-filesystem.
-.Sh FILES
-.Bl -tag -width /dev/stderr -compact
-.It Pa /dev
-Normal mount point for the
-.Nm fdesc
-filesystem.
-.Sh SEE ALSO
-.Xr mount 2 ,
-.Xr unmount 2 ,
-.Xr fdesc 5 ,
-.Xr fstab 5 ,
-.Xr mount 8
-.Sh HISTORY
-The
-.Nm mount_fdesc
-utility first appeared in
-.Bx 4.4 .
diff --git a/sbin/mount_std/mount_kernfs.8 b/sbin/mount_std/mount_kernfs.8
deleted file mode 100644
index 40f7ec1..0000000
--- a/sbin/mount_std/mount_kernfs.8
+++ /dev/null
@@ -1,100 +0,0 @@
-.\"
-.\" Copyright (c) 1992, 1993, 1994
-.\" The Regents of the University of California. All rights reserved.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software donated to Berkeley by
-.\" Jan-Simon Pendry.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
-.\" may be used to endorse or promote products derived from this software
-.\" without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" @(#)mount_kernfs.8 8.2 (Berkeley) 3/27/94
-.\"
-.\"
-.Dd March 27, 1994
-.Dt MOUNT_KERNFS 8
-.Os BSD 4.4
-.Sh NAME
-.Nm mount_kernfs
-.Nd mount the /kern file system
-.Sh SYNOPSIS
-.Nm mount_kernfs
-.Op Fl o Ar options
-.Ar /kern
-.Ar mount_point
-.Sh DESCRIPTION
-The
-.Nm mount_kern
-command attaches an instance of the kernel parameter
-namespace to the global filesystem namespace.
-The conventional mount point is
-.Pa /kern .
-This command is normally executed by
-.Xr mount 8
-at boot time.
-.Pp
-The filesystem includes several regular files which can be read,
-some of which can also be written.
-The contents of the files is in a machine-independent format,
-either a string, or an integer in decimal ASCII.
-Where numbers are returned, a trailing newline character is also added.
-See the
-.Xr kernfs 5
-manual page for a detailed description of the information
-that is available.
-.Pp
-The options are as follows:
-.Bl -tag -width indent
-.It Fl o
-Options are specified with a
-.Fl o
-flag followed by a comma separated string of options.
-See the
-.Xr mount 8
-man page for possible options and their meanings.
-.El
-.Sh FILES
-.Bl -tag -width copyright -compact
-.It Pa /kern
-The normal
-.Nm kernfs
-mount point.
-.Sh SEE ALSO
-.Xr mount 2 ,
-.Xr unmount 2 ,
-.Xr fstab 5 ,
-.Xr kernfs 5 ,
-.Xr mount 8
-.Sh CAVEATS
-This filesystem may not be NFS-exported.
-.Sh HISTORY
-The
-.Nm mount_kernfs
-utility first appeared in
-.Bx 4.4 .
diff --git a/sbin/mount_std/mount_procfs.8 b/sbin/mount_std/mount_procfs.8
deleted file mode 100644
index 2533310..0000000
--- a/sbin/mount_std/mount_procfs.8
+++ /dev/null
@@ -1,109 +0,0 @@
-.\"
-.\" Copyright (c) 1992, 1993
-.\" The Regents of the University of California. All rights reserved.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software donated to Berkeley by
-.\" Jan-Simon Pendry.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
-.\" may be used to endorse or promote products derived from this software
-.\" without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" @(#)mount_procfs.8 8.2 (Berkeley) 3/27/94
-.\"
-.\"
-.Dd March 27, 1994
-.Dt MOUNT_PROCFS 8
-.Os BSD 4.4
-.Sh NAME
-.Nm mount_procfs
-.Nd mount the process file system
-.Sh SYNOPSIS
-.Nm mount_procfs
-.Op Fl o Ar options
-.Pa /proc
-.Pa mount_point
-.Sh DESCRIPTION
-The
-.Nm mount_procfs
-command attaches an instance of the process
-namespace to the global filesystem namespace.
-The conventional mount point is
-.Pa /proc .
-This command is normally executed by
-.Xr mount 8
-at boot time.
-.Pp
-The options are as follows:
-.Bl -tag -width indent
-.It Fl o
-Options are specified with a
-.Fl o
-flag followed by a comma separated string of options.
-See the
-.Xr mount 8
-man page for possible options and their meanings.
-.El
-.Pp
-The root of the process filesystem
-contains an entry for each active process.
-These processes are visible as a directory whose
-name is the process' pid.
-In addition, the special entry
-.Pa curproc
-references the current process.
-.Pp
-Each directory contains several files. See
-.Xr procfs 5
-for a detailed description of each file.
-.Sh FILES
-.Bl -tag -width /proc/curproc -compact
-.It Pa /proc
-normal mount point for the
-.Nm procfs .
-.It Pa /proc/pid
-directory containg process information for process
-.Pa pid .
-.It Pa /proc/curproc
-directory containing process information for the current process
-.El
-.Sh SEE ALSO
-.Xr mount 2 ,
-.Xr unmount 2 ,
-.Xr procfs 5
-.Sh CAVEATS
-.Pp
-This filesystem may not be NFS-exported
-since most of the functionality of
-.Dv procfs
-requires that state be maintained.
-.Sh HISTORY
-The
-.Nm mount_procfs
-utility first appeared in
-.Bx 4.4 .
diff --git a/sbin/mount_std/mount_std.8 b/sbin/mount_std/mount_std.8
index 680c8fa..fcbb48d 100644
--- a/sbin/mount_std/mount_std.8
+++ b/sbin/mount_std/mount_std.8
@@ -34,24 +34,36 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: mount_std.8,v 1.2 1996/05/14 15:16:46 wollman Exp $
+.\" $Id: mount_std.8,v 1.3 1996/08/23 00:56:27 mpp Exp $
.\"
.Dd May 13, 1996
.Dt MOUNT_STD 8
.Os FreeBSD 2.2
.Sh NAME
-.Nm mount_std
+.Nm mount_std ,
+.Nm mount_devfs ,
+.Nm mount_fdesc ,
+.Nm mount_kernfs ,
+.Nm mount_procfs
.Nd mount ``standard'' filesystems
.Sh SYNOPSIS
.Nm mount_ Ns Ar fsname
.Op Fl o Ar options
-.Ar "devfs"
+.Ar "fs"
.Ar mount_point
.Sh DESCRIPTION
The
.Nm
command is a generic mechanism for attaching ``standard'' filesystems to
-the filesystem. A ``standard'' filesystem is one which:
+the filesystem. The
+.Nm
+command currently supports the following filesystems:
+.Nm devfs ,
+.Nm fdesc ,
+.Nm kernfs
+and
+.Nm procfs .
+A ``standard'' filesystem is one which:
.Bl -enum -offset indent
.It
accepts only the standard
@@ -73,6 +85,17 @@ requires no other special processing on the part of the
command.
.El
.Pp
+The options are as follows:
+.Bl -tag -width indent
+.It Fl o
+Options are specified with a
+.Fl o
+flag followed by a comma separated string of options.
+See the
+.Xr mount 8
+man page for possible options and their meanings.
+.El
+.Pp
The
.Nm
command examines its zeroth command-line argument (the name by which
@@ -92,6 +115,14 @@ for information on the function of each filesystem, see the manual page
for that specific
.Nm mount_ Ns Ar fsname
command.
+.Pp
+Refer to the following manual pages for detailed information
+on these file system:
+.Xr devfs 5 ,
+.Xr fdesc 5 ,
+.Xr kernfs 5
+and
+.Xr procfs 5 .
.Sh DIAGNOSTICS
.Bl -diag
.It argv[0] must end in _fsname
@@ -111,12 +142,14 @@ loadable module for it was found.
.Xr mount 2 ,
.Xr unmount 2 ,
.Xr getvfsbyname 3 ,
+.Xr devfs 5
+.Xr fdesc 5
.Xr fstab 5 ,
+.Xr kernfs 5
+.Xr procfs 5
.Xr mount 8 ,
-.Xr mount_devfs 8 ,
-.Xr mount_fdesc 8 ,
-.Xr mount_kernfs 8 ,
-.Xr mount_procfs 8
+.Sh CAVEATS
+None of the ``standard'' filesystems may be NFS-exported.
.Sh HISTORY
The
.Nm mount_std
OpenPOWER on IntegriCloud