Information Technology Reference
In-Depth Information
noatime —Reduce file system activity by not updating file access times.
nointr —Do not allow keyboard interrupts to kill processes waiting on
file system I/O.
nolargefiles —Do not allow files larger than 2GB. If any exist in the
file system, the mount will fail.
nosuid —Disallow setuid execution on files.
suid —Allow setuid execution on files (default).
The following (abbreviated) listing shows the use of the mount command:
# mount -F ufs -o nolargefiles,noatime
/dev/dsk/c0t2d0s4 /usr2
# mount
/usr2 on /dev/dsk/c0t2d0s4
read/write/nolargefiles/noatime on Fri Aug 2 12:44:18 2002
#
Unlike the other file system commands, the mount command requires a logical block
device name of a partition in which the file system resides.
The umount(1M) command is used to unmount a file system. The file system
cannot be unmounted if it is busy (for example, when a program that resides
on the file system is being executed or if the current directory of a logged-in
user account is within the file system). Either the logical block device name
or the mount point can be specified as a command-line argument.
The mountall(1M) command is used to mount all file systems listed in the
/etc/vfstab file. This file is also used to determine the file systems to auto-
matically mount during system boot. You can add or remove file systems in
the /etc/vfstab file by using any standard text editor. The following code
shows the contents of an /etc/vfstab file:
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t3d0s1 - - swap - no -
/dev/dsk/c0t1d0s0 /dev/rdsk/c0t1d0s0 / ufs 1 no -
/dev/dsk/c0t1d0s7 /dev/rdsk/c0t1d0s7 /home ufs 2 yes -
swap - /tmp tmpfs - yes -
$
Table 7.7 lists the (tab-separated) fields of an entry in the /etc/vfstab file. A
hyphen (-) is used to indicate no entry in a field.
Search WWH ::




Custom Search