Mounting filesystemsEdit

On Solaris, hard disks are addressed differently. A hard disk partition may be addressed as:


c - Specifies the controller index. c0 will refer to the first controller.

t0 - Specifies the SCSI Target id. May also work for your USB device. (/dev/sda on linux)

d0 - Specifies the SCSI Logical unit (LUN). If you have /dev/sda1 /dev/sda2 /dev/sda3 etc on linux, this is the corresponding number.

s0 - The slice number from a SunOS disk label. Solaris x86 supports slices s0-s15. Generally s2 refers to the rest of the disk.

p0 - This on Solaris x86 *only*. p0 refers to the whole disk in the absence of slices. p1-p4 refer to the 4 primary partitions.

l - Refers to the FAT partition number. Again, this is Solaris x86 specific. FAT partitions will be numbered as p0:1, p0:2 etc. If your p4 is the extended partition, then p4:1, p4:2 etc refer to FAT partitions in the extended partition.

Mounting PartitionsEdit

The mount command on Solaris requires the following syntax:

 # mount [options] devicefile mountpoint

Unlike in linux, the mountpoint may only be an absolute path.

For example: To mount the 2nd FAT partition on the extended partition on the second IDE hard disk to /mnt/fat2 , use the following command:

 # mount -F pcfs /dev/dsk/c0d1p2:2 /mnt/fat2

The -F option mentions the filesystem. Note "pcfs" is the equivalent for msdos and vfat on linux.