1995-04-21 01:17:50 +00:00
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1995-04-21 01:17:50 +00:00
|
|
|
.\"
|
2004-11-29 09:35:01 +00:00
|
|
|
.Dd November 26, 2004
|
1996-05-13 17:43:19 +00:00
|
|
|
.Dt MOUNT_STD 8
|
2001-05-23 14:58:19 +00:00
|
|
|
.Os
|
1995-04-21 01:17:50 +00:00
|
|
|
.Sh NAME
|
1996-12-14 22:58:37 +00:00
|
|
|
.Nm mount_std ,
|
|
|
|
.Nm mount_devfs ,
|
2001-05-23 14:58:19 +00:00
|
|
|
.Nm mount_fdescfs ,
|
2000-03-25 13:46:16 +00:00
|
|
|
.Nm mount_linprocfs ,
|
1996-12-14 22:58:37 +00:00
|
|
|
.Nm mount_procfs
|
2001-05-23 14:58:19 +00:00
|
|
|
.Nd mount
|
|
|
|
.Dq standard
|
2002-08-21 18:11:48 +00:00
|
|
|
file systems
|
1995-04-21 01:17:50 +00:00
|
|
|
.Sh SYNOPSIS
|
1996-05-13 17:43:19 +00:00
|
|
|
.Nm mount_ Ns Ar fsname
|
1995-04-21 01:17:50 +00:00
|
|
|
.Op Fl o Ar options
|
1996-12-14 22:58:37 +00:00
|
|
|
.Ar "fs"
|
1995-04-21 01:17:50 +00:00
|
|
|
.Ar mount_point
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2002-08-21 18:11:48 +00:00
|
|
|
utility is a generic mechanism for attaching ``standard'' file systems to
|
2004-07-02 21:45:06 +00:00
|
|
|
the file system.
|
|
|
|
The
|
2001-07-15 07:53:42 +00:00
|
|
|
.Nm
|
2002-08-21 18:11:48 +00:00
|
|
|
utility currently supports the following file systems:
|
2001-07-15 07:53:42 +00:00
|
|
|
.Nm devfs ,
|
2001-05-23 14:58:19 +00:00
|
|
|
.Nm fdescfs ,
|
2001-07-15 07:53:42 +00:00
|
|
|
.Nm linprocfs
|
|
|
|
and
|
1996-12-14 22:58:37 +00:00
|
|
|
.Nm procfs .
|
2002-08-21 18:11:48 +00:00
|
|
|
A ``standard'' file system is one which:
|
1996-05-13 17:43:19 +00:00
|
|
|
.Bl -enum -offset indent
|
|
|
|
.It
|
|
|
|
accepts only the standard
|
1995-04-21 01:17:50 +00:00
|
|
|
.Fl o
|
1996-05-13 17:43:19 +00:00
|
|
|
options
|
2003-10-22 18:25:49 +00:00
|
|
|
.Dq ro ,
|
1996-05-13 17:43:19 +00:00
|
|
|
.Dq rw ,
|
|
|
|
.Dq noexec ,
|
|
|
|
.Dq nosuid ,
|
|
|
|
and
|
|
|
|
.Dq union .
|
|
|
|
.It
|
2002-08-21 18:11:48 +00:00
|
|
|
has a kernel file system module name the same as its user-visible name.
|
1996-05-13 17:43:19 +00:00
|
|
|
.It
|
|
|
|
requires no other special processing on the part of the
|
2000-11-20 16:52:27 +00:00
|
|
|
.Nm
|
2002-07-06 19:34:18 +00:00
|
|
|
utility.
|
1996-05-13 17:43:19 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
1996-12-14 22:58:37 +00:00
|
|
|
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
|
1996-05-13 17:43:19 +00:00
|
|
|
The
|
|
|
|
.Nm
|
2002-07-06 19:34:18 +00:00
|
|
|
utility examines its zeroth command-line argument (the name by which
|
2004-07-02 21:45:06 +00:00
|
|
|
it was called) to determine the type of file system to be mounted.
|
|
|
|
If
|
1996-05-13 17:43:19 +00:00
|
|
|
it is called by a name which does not end in
|
|
|
|
.Dq Li _ Ns Ar fsname ,
|
|
|
|
.Nm
|
1996-05-14 15:16:49 +00:00
|
|
|
will assume (for compatibility
|
|
|
|
with
|
|
|
|
.Xr mount 8 )
|
2002-08-21 18:11:48 +00:00
|
|
|
that the zeroth argument contains only the name of the file system type.
|
1996-05-14 15:16:49 +00:00
|
|
|
The
|
1996-05-13 17:43:19 +00:00
|
|
|
.Nm
|
2002-07-06 19:34:18 +00:00
|
|
|
utility is normally installed with appropriate links to commands for
|
2002-08-21 18:11:48 +00:00
|
|
|
the distributed file systems which can be mounted in this way;
|
|
|
|
for information on the function of each file system, see the manual page
|
1996-05-13 17:43:19 +00:00
|
|
|
for that specific
|
|
|
|
.Nm mount_ Ns Ar fsname
|
2002-07-06 19:34:18 +00:00
|
|
|
utility.
|
1996-12-14 22:58:37 +00:00
|
|
|
.Pp
|
|
|
|
Refer to the following manual pages for detailed information
|
2002-08-21 18:11:48 +00:00
|
|
|
on these file system:
|
1996-12-14 22:58:37 +00:00
|
|
|
.Xr devfs 5 ,
|
2001-05-23 14:58:19 +00:00
|
|
|
.Xr fdescfs 5 ,
|
2001-07-15 07:53:42 +00:00
|
|
|
.Xr linprocfs 5
|
1996-12-14 22:58:37 +00:00
|
|
|
and
|
|
|
|
.Xr procfs 5 .
|
1996-05-13 17:43:19 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
|
|
|
.It argv[0] must end in _fsname
|
2002-07-06 19:34:18 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility was called with a zeroth argument of
|
1996-05-14 15:16:49 +00:00
|
|
|
.Dq Li mount_std .
|
2002-08-21 18:11:48 +00:00
|
|
|
.It %s file system not available
|
|
|
|
The specified file system type was not present in the kernel and no
|
1996-05-13 17:43:19 +00:00
|
|
|
loadable module for it was found.
|
1995-04-21 01:17:50 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mount 2 ,
|
|
|
|
.Xr unmount 2 ,
|
1996-05-13 17:43:19 +00:00
|
|
|
.Xr getvfsbyname 3 ,
|
1996-12-23 23:09:55 +00:00
|
|
|
.Xr devfs 5 ,
|
2001-05-23 14:58:19 +00:00
|
|
|
.Xr fdescfs 5 ,
|
1995-04-21 01:17:50 +00:00
|
|
|
.Xr fstab 5 ,
|
2000-03-25 13:46:16 +00:00
|
|
|
.Xr linprocfs 5 ,
|
1996-12-23 23:09:55 +00:00
|
|
|
.Xr procfs 5 ,
|
|
|
|
.Xr mount 8
|
1996-12-14 22:58:37 +00:00
|
|
|
.Sh CAVEATS
|
2002-08-21 18:11:48 +00:00
|
|
|
None of the ``standard'' file systems may be NFS-exported.
|
1995-04-21 01:17:50 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
2000-11-20 16:52:27 +00:00
|
|
|
.Nm
|
1996-05-13 17:43:19 +00:00
|
|
|
utility first appeared in
|
|
|
|
.Fx 2.2 .
|
2002-08-21 18:11:48 +00:00
|
|
|
Loadable file system modules first appeared in
|
1996-05-13 17:43:19 +00:00
|
|
|
.Fx 2.0 .
|
|
|
|
The
|
2001-05-23 14:58:19 +00:00
|
|
|
.Dq fdescfs
|
1996-05-13 17:43:19 +00:00
|
|
|
and
|
|
|
|
.Dq procfs
|
2002-08-21 18:11:48 +00:00
|
|
|
file system types first appeared in
|
1996-05-13 17:43:19 +00:00
|
|
|
.Fx 2.0 ;
|
|
|
|
the
|
|
|
|
.Dq devfs
|
2002-08-21 18:11:48 +00:00
|
|
|
file system type first appeared in
|
2000-03-25 13:46:16 +00:00
|
|
|
.Fx 2.2 ;
|
|
|
|
the
|
|
|
|
.Dq linprocfs
|
2002-08-21 18:11:48 +00:00
|
|
|
file system type first appeared in
|
2000-03-25 13:46:16 +00:00
|
|
|
.Fx 4.0 .
|