Use the following procedure to mount a PCFS (DOS) file system from a hard disk.
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 PCFS file system.
# mount -F pcfs [-o rw | ro] /dev/dsk/device-name:logical-drive /mount-point |
-o rw | ro |
Specifies that you can mount a PCFS file system read/write (rw) or read-only (ro). If you do not specify this option, the default is rw. |
/dev/dsk/device-name |
Specifies the device name of the whole disk (for example, /dev/dsk/c0t0d0p0). |
logical-drive |
Specifies either the DOS logical drive letter (c through z) or a drive number (1 through 24). Drive c is equivalent to drive 1 and represents the Primary DOS slice on the drive. All other letters or numbers represent DOS logical drives within the Extended DOS slice. |
/mount-point |
Specifies the directory on which to mount the file system. |
Note that the device-name and logical-drive must be separated by a colon.
The following example shows how to mount the logical drive in the primary DOS slice on the /pcfs/c directory.
# mount -F pcfs /dev/dsk/c0t0d0p0:c /pcfs/c |
The following example shows how to mount the first logical drive in the extended DOS slice read-only on /mnt.
# mount -F pcfs -o ro /dev/dsk/c0t0d0p0:2 /mnt |