1 '\" te
2 .\" Copyright (c) 2001 Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright 1989 AT&T
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH VFSTAB 4 "Mar 2, 2007"
8 .SH NAME
9 vfstab \- table of file system defaults
10 .SH DESCRIPTION
11 .sp
12 .LP
13 The file \fB/etc/vfstab\fR describes defaults for each file system. The
14 information is stored in a table with the following column headings:
15 .sp
16 .in +2
17 .nf
18 device device mount FS fsck mount mount
19 to mount to fsck point type pass at boot options
20 .fi
21 .in -2
22 .sp
23
24 .sp
25 .LP
26 The fields in the table are space-separated and show the resource name
27 (\fIdevice to mount\fR), the raw device to \fBfsck\fR (\fIdevice to fsck\fR),
125 .in +2
126 .nf
127 /dev/dsk/c1t2d0s2:c - /jaz pcfs - no -
128 .fi
129 .in -2
130 .sp
131
132 .sp
133 .LP
134 For removable media on a SPARC machine, the convention for the slice portion of
135 the disk identifier is to specify \fBs2\fR, which stands for the entire medium.
136
137 .sp
138 .LP
139 For \fBpcfs\fR file systems on x86 machines, note that the disk identifier uses
140 a \fBp\fR (\fBp0\fR) and a logical drive (\fBc\fR, in the \fB/win98\fR example
141 above) for a \fBpcfs\fR logical drive. See \fBmount_pcfs\fR(1M) for syntax for
142 \fBpcfs\fR logical drives and for \fBpcfs\fR-specific mount options.
143
144 .LP
145 \fBExample 3 \fRCacheFS Mount
146 .sp
147 .LP
148 Below is an example for a CacheFS file system. Because of the length of this
149 entry and the fact that \fBvfstab\fR entries cannot be continued to a second
150 line, the \fBvfstab\fR fields are presented here in a vertical format. In
151 re-creating such an entry in your own \fBvfstab\fR, you would enter values as
152 you would for any \fBvfstab\fR entry, on a single line.
153
154 .sp
155 .in +2
156 .nf
157 device to mount: svr1:/export/abc
158 device to fsck: /usr/abc
159 mount point: /opt/cache
160 FS type: cachefs
161 fsck pass: 7
162 mount at boot: yes
163 mount options:
164 local-access,bg,nosuid,demandconst,backfstype=nfs,cachedir=/opt/cache
165 .fi
166 .in -2
167 .sp
168
169 .sp
170 .LP
171 See \fBmount_cachefs\fR(1M) for CacheFS-specific mount options.
172
173 .LP
174 \fBExample 4 \fRLoopback File System Mount
175 .sp
176 .LP
177 The following is an example of mounting a loopback (\fBlofs\fR) file system:
178
179 .sp
180 .in +2
181 .nf
182 /export/test - /opt/test lofs - yes -
183 .fi
184 .in -2
185 .sp
186
187 .sp
188 .LP
189 See \fBlofs\fR(7FS) for an overview of the loopback file system.
190
191 .SH SEE ALSO
192 .sp
193 .LP
194 \fBfsck\fR(1M), \fBmount\fR(1M), \fBmount_cachefs\fR(1M), \fBmount_hsfs\fR(1M),
195 \fBmount_nfs\fR(1M), \fBmount_tmpfs\fR(1M), \fBmount_ufs\fR(1M),
196 \fBswap\fR(1M), \fBgetvfsent\fR(3C)
197 .sp
198 .LP
199 \fISystem Administration Guide: Basic Administration\fR
|
1 '\" te
2 .\" Copyright (c) 2001 Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright 1989 AT&T
4 .\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
5 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
6 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
7 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
8 .TH VFSTAB 4 "Sep 8, 2015"
9 .SH NAME
10 vfstab \- table of file system defaults
11 .SH DESCRIPTION
12 .sp
13 .LP
14 The file \fB/etc/vfstab\fR describes defaults for each file system. The
15 information is stored in a table with the following column headings:
16 .sp
17 .in +2
18 .nf
19 device device mount FS fsck mount mount
20 to mount to fsck point type pass at boot options
21 .fi
22 .in -2
23 .sp
24
25 .sp
26 .LP
27 The fields in the table are space-separated and show the resource name
28 (\fIdevice to mount\fR), the raw device to \fBfsck\fR (\fIdevice to fsck\fR),
126 .in +2
127 .nf
128 /dev/dsk/c1t2d0s2:c - /jaz pcfs - no -
129 .fi
130 .in -2
131 .sp
132
133 .sp
134 .LP
135 For removable media on a SPARC machine, the convention for the slice portion of
136 the disk identifier is to specify \fBs2\fR, which stands for the entire medium.
137
138 .sp
139 .LP
140 For \fBpcfs\fR file systems on x86 machines, note that the disk identifier uses
141 a \fBp\fR (\fBp0\fR) and a logical drive (\fBc\fR, in the \fB/win98\fR example
142 above) for a \fBpcfs\fR logical drive. See \fBmount_pcfs\fR(1M) for syntax for
143 \fBpcfs\fR logical drives and for \fBpcfs\fR-specific mount options.
144
145 .LP
146 \fBExample 3 \fRLoopback File System Mount
147 .sp
148 .LP
149 The following is an example of mounting a loopback (\fBlofs\fR) file system:
150
151 .sp
152 .in +2
153 .nf
154 /export/test - /opt/test lofs - yes -
155 .fi
156 .in -2
157 .sp
158
159 .sp
160 .LP
161 See \fBlofs\fR(7FS) for an overview of the loopback file system.
162
163 .SH SEE ALSO
164 .sp
165 .LP
166 \fBfsck\fR(1M), \fBmount\fR(1M), \fBmount_hsfs\fR(1M),
167 \fBmount_nfs\fR(1M), \fBmount_tmpfs\fR(1M), \fBmount_ufs\fR(1M),
168 \fBswap\fR(1M), \fBgetvfsent\fR(3C)
169 .sp
170 .LP
171 \fISystem Administration Guide: Basic Administration\fR
|