Use the following procedure to mount a PCFS (DOS) file system from a hard disk.
Make sure you have met the prerequisites listed oin "Prerequisites".
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 or read-only. If you do not specify this option, the default is read/write. |
/dev/dsk/device-name |
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 |
The directory where the file system is mounted. |
Note that the device-name and logical-drive must be separated by a colon.
In this example, the logical drive in the Primary DOS slice is mounted on the /pcfs/c directory.
# mount -F pcfs /dev/dsk/c0t0d0p0:c /pcfs/c |
In this example, the first logical drive in the Extended DOS slice on the disk is mounted read-only on /pcfs/d.
# mount -F pcfs -o ro /dev/dsk/c0t0d0p0:2 /pcfs/d |