System Administration Guide, Volume 1

How to Mount a UFS File System

  1. 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.

  2. 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 36-3 or mount_ufs(1M) for a list of options.


    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.


    Specifies the directory on which to mount the file system. 

Example--Mounting a UFS File System

The following example mounts /dev/dsk/c0t3d0s7 on the /files1 directory.

# mount /dev/dsk/c0t3d0s7 /files1

Example--Mounting a UFS File System With Logging Enabled

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