Become superuser or assume an equivalent role.
Create a mount point for the file system to be mounted, if necessary.
# mkdir /mount-point |
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.
# mount [-o mount-options] /dev/dsk/device-name /mount-point |
Specifies mount options that you can use to mount a UFS file system. For a list of options, see Table 18–2 or mount_ufs(1M).
Specifies the disk device name for the slice that contains the file system (for example, /dev/dsk/c0t3d0s7). To view slice information for a disk, see How to Display Disk Slice Information.
Specifies the directory on which to mount the file system.
The following example shows how to mount /dev/dsk/c0t3d0s7 on the /files1 directory.
# mount /dev/dsk/c0t3d0s7 /files1 |