The format Command

The format Command

If you’re ever unsure of which physical disk is associated with a specific disk device name, the format command will tell you:

# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t3d0 <<SUN2.1G cyl 2733 alt 2 hd 19 sec 80>>
 /pci@1f,0/pci@1/scsi@1/sd@3,0

Here, we can see that physical device /pci@1f,0/pci@1/scsi@1/sd@3,0 is matched with the disk device /dev/dsk/c1t3d0 from the df output shown above.

Tip 

You can use the format command for this purpose without actually formatting a disk.



Part I: Solaris 9 Operating Environment, Exam I