xref: /openbsd/sbin/mount_ffs/mount_ffs.8 (revision 48c01a1f)
1.\"	$OpenBSD: mount_ffs.8,v 1.19 2020/04/23 21:28:09 jmc Exp $
2.\"	$NetBSD: mount_ffs.8,v 1.2 1996/02/05 06:33:47 jtc Exp $
3.\"
4.\" Copyright (c) 1980, 1989, 1991, 1993
5.\"	The Regents of the University of California.  All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\" 3. Neither the name of the University nor the names of its contributors
16.\"    may be used to endorse or promote products derived from this software
17.\"    without specific prior written permission.
18.\"
19.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\"     @(#)mount.8	8.7 (Berkeley) 3/27/94
32.\"
33.Dd $Mdocdate: April 23 2020 $
34.Dt MOUNT_FFS 8
35.Os
36.Sh NAME
37.Nm mount_ffs
38.Nd mount a Berkeley Fast File System
39.Sh SYNOPSIS
40.Nm mount_ffs
41.Op Fl o Ar options
42.Ar special node
43.Sh DESCRIPTION
44The
45.Nm
46command attaches the Berkeley Fast File System on the
47.Ar special
48device on to the file system tree at point
49.Ar node .
50.Pp
51This command is invoked by
52.Xr mount 8
53when using any of the following syntax:
54.Bd -ragged -offset 4n
55.Nm mount Op options
56.Ar special node
57.br
58.Nm mount Op options
59-t ffs
60.Ar special node
61.br
62.Ed
63.Pp
64The
65.Ar special
66device is either a
67.Xr disklabel 8
68UID (DUID) or an entry in
69.Pa /dev .
70If it is a DUID,
71it will be automatically mapped to the appropriate entry in
72.Pa /dev .
73In either case the partition must be present
74in the disklabel loaded from the device.
75The partition name is the last letter in the entry name.
76For example, /dev/sd0a and 3eb7f9da875cb9ee.a both refer to the
77.Sq a
78partition.
79.Pp
80This command is normally executed per file system by
81.Xr rc 8
82at boot time using the
83.Xr mount 8
84command.
85The options are as follows:
86.Bl -tag -width Ds
87.It Fl o Ar options
88Options are specified with a
89.Fl o
90flag followed by a comma separated string of options.
91See the
92.Xr mount 8
93man page for possible options and their meanings.
94.El
95.Sh SEE ALSO
96.Xr mount 2 ,
97.Xr disklabel 5 ,
98.Xr fstab 5 ,
99.Xr disklabel 8 ,
100.Xr mount 8 ,
101.Xr umount 8
102.Sh HISTORY
103A
104.Nm
105command appeared in
106.Nx 1.1 .
107.Sh BUGS
108It is possible for a corrupted file system to cause a crash.
109