nightly: remove unused BINARCHIVE
[unleashed.git] / share / man / man4 / default_fs.4
blob15487836e0354e5414fc4075c48aea37df170990
1 '\" te
2 .\"  Copyright 1989 AT&T
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH DEFAULT_FS 4 "Mar 20, 1992"
7 .SH NAME
8 default_fs, fs \- specify the default file system type for local or remote file
9 systems
10 .SH DESCRIPTION
11 .sp
12 .LP
13 When file system administration commands have both specific and generic
14 components (for example, \fBfsck\fR(8)), the file system type must be
15 specified. If it is not explicitly specified using the \fB-F\fR \fIFSType\fR
16 command line option, the generic command looks in \fB/etc/vfstab\fR in order to
17 determine the file system type, using the supplied raw or block device or mount
18 point.  If the file system type can not be determined by searching
19 \fB/etc/vfstab\fR, the command will use the default file system type specified
20 in either \fB/etc/default/fs\fR or \fB/etc/dfs/dfstypes\fR, depending on
21 whether the file system is local or remote.
22 .sp
23 .LP
24 The default local file system type is specified in \fB/etc/default/fs\fR by a
25 line of the form \fBLOCAL=\fR\fIfstype\fR (for example, \fBLOCAL=ufs\fR). The
26 default remote file system type is determined by the first entry in the
27 \fB/etc/dfs/fstypes\fR file.
28 .sp
29 .LP
30 File system administration commands will determine whether the file system is
31 local or remote by examining the specified device name.  If the device  name
32 starts with ``/'' (slash), it is considered to be local; otherwise it is
33 remote.
34 .sp
35 .LP
36 The default file system types can be changed by editing the default files with
37 a text editor.
38 .SH FILES
39 .sp
40 .ne 2
41 .na
42 \fB\fB/etc/vfstab\fR\fR
43 .ad
44 .RS 20n
45 list of default parameters for each file system
46 .RE
48 .sp
49 .ne 2
50 .na
51 \fB\fB/etc/default/fs\fR\fR
52 .ad
53 .RS 20n
54 the default local file system type
55 .RE
57 .sp
58 .ne 2
59 .na
60 \fB\fB/etc/dfs/fstypes\fR\fR
61 .ad
62 .RS 20n
63 the default remote file system type
64 .RE
66 .SH SEE ALSO
67 .sp
68 .LP
69 \fBfsck\fR(8), \fBfstypes\fR(4), \fBvfstab\fR(4)