Become superuser.
Also, there must be a mount point on the local system to mount a file system. A mount point is a directory to which the mounted file system is attached.
Mount the UFS file system by using the mount command.
# mount [-o mount-options] /dev/dsk/device-name mount-point |
-o mount-options |
Specifies mount options that you can use to mount a UFS file system. See Table 28-3 for the list of general mount options or mount_ufs(1M) for a commonly used list of options. |
/dev/dsk/device-name |
Specifies the disk device name for the slice holding the file system (for example, /dev/dsk/c0t3d0s7). See "How to Display Disk Slice Information" to get slice information for a disk. |
mount-point |
Specifies the directory on which to mount the file system. |
The following example mounts /dev/dsk/c0t3d0s7 on the /files1 directory.
# mount /dev/dsk/c0t3d0s7 /files1 |
UFS logging eliminates file system inconsistency, which can significantly reduce the time of system reboots. The following example mounts /dev/dsk/c0t3d0s7 on the /files1 directory with logging enabled.
# mount -o logging /dev/dsk/c0t3d0s7 /files1 |