xref: /titanic_52/usr/src/man/man4/default_fs.4 (revision de710d24d2fae4468e64da999e1d952a247f142c)
te
Copyright 1989 AT&T
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.
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.
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]
DEFAULT_FS 4 "Mar 20, 1992"
NAME
default_fs, fs - specify the default file system type for local or remote file systems
DESCRIPTION

When file system administration commands have both specific and generic components (for example, fsck(1M)), the file system type must be specified. If it is not explicitly specified using the -F FSType command line option, the generic command looks in /etc/vfstab in order to determine the file system type, using the supplied raw or block device or mount point. If the file system type can not be determined by searching /etc/vfstab, the command will use the default file system type specified in either /etc/default/fs or /etc/dfs/dfstypes, depending on whether the file system is local or remote.

The default local file system type is specified in /etc/default/fs by a line of the form LOCAL=fstype (for example, LOCAL=ufs). The default remote file system type is determined by the first entry in the /etc/dfs/fstypes file.

File system administration commands will determine whether the file system is local or remote by examining the specified device name. If the device name starts with ``/'' (slash), it is considered to be local; otherwise it is remote.

The default file system types can be changed by editing the default files with a text editor.

FILES
/etc/vfstab

list of default parameters for each file system

/etc/default/fs

the default local file system type

/etc/dfs/fstypes

the default remote file system type

SEE ALSO

fsck(1M), fstypes(4), vfstab(4)