Editing the vfstab file
You can edit the /etc/vfstab
file to mount a file system automatically at boot time.
You must specify the following:
-
The special block device name to
mount
-
The special character device name used by
fsck
-
The mount point
-
The
mount
options
-
The file system type (
vxfs
)
-
Which
fsck
pass looks at the file system
-
Whether to mount the file system at boot time
Each entry must be on a single line.
See the vfstab
(4) manual page.
The following is a typical vfstab
file with the new file system on the last line:
# device # to mount #
|
device to fsck
|
mount point
|
FS type
|
fsck pass
|
mount at boot
|
mount options
|
# /dev/dsk/c1d0s2
|
/dev/rdsk/c1d0s2
|
/usr
|
ufs
|
1
|
yes
|
—
|
/proc
|
—
|
/proc
|
proc
|
—
|
no
|
—
|
fd
|
—
|
/dev/fd
|
fd
|
—
|
no
|
—
|
swap
|
—
|
/tmp
|
tmpfs
|
—
|
yes
|
—
|
/dev/dsk/c0t3d0s0
|
/dev/rdsk/c0t3d0s0
|
/
|
ufs
|
1
|
no
|
—
|
/dev/dsk/c0t3d0s1
|
—
|
—
|
swap
|
—
|
no
|
—
|
/dev/vx/dsk/fsvol/vol1
|
/dev/vx/rdsk/fsvol/vol1
|
/ext
|
vxfs
|
1
|
yes
|
—
|