Filesystems and Disks
Filesystem Configuration File
/etc/fstab
location mount-dir fs-type dump-freq fsck-pass options
Filesystem configuration file.
special-file
Filesystem location. For traditional local filesystems, this is the partition's block special file. A logical volume may also be specified if an LVM is in use. For NFS remote filesystems, the format is host:/
path.
For Samba filesystems, the Linux format is //
host/
share. The FreeBSD format is //
user@
host/
share.
mount-dir
Directory where the filesystem will be mounted.
fs-type
Filesystem type keyword.
dump-freq
Integer indicating the frequency this filesystem should be backed up by the dump
utility.
fsck-pass
Integer indicating the order fsck
should check filesystems.
options
Comma-separated list of options or the keyword defaults.
/etc/vfstab (Solaris)
block-dev char-dev mt-dir fs-type fsck-pass auto? opts
Similar syntax to the tradition fstab file, except:
- Both block (for mounting) and character (for
fcsk
) special files are listed as the first two fields. - auto? is either
yes
orno
, depending on whether the filesystem should be mounted automatically at boot time withmount -a
. - The
dump
frequency field is not included.
/etc/filesystems (AIX)
mount-pt: attribute = value ...
Attributes
dev = /dev/
logical-volume
Logical volume.
vol = "
name
"
Descriptive label.
vfs = jfs2
Filesystem type: jfs2
for local, nfs
for NFS.
log = /dev/
log-vol
Device to use for filesystem log.
mount = true
|
false
Mount automatically?
check ...
Get Essential System Administration Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.