System Administration Guide: Basic Administration

How to Determine if a Disk is Formatted

  1. Become superuser or assume an equivalent role.

  2. Invoke the format utility.


    # format
    
  3. Type the number of the disk that you want to check from the list displayed on your screen.


    Specify disk (enter its number): 0
    
  4. Verify that the disk you chose is formatted by noting the following message.


    [disk formatted]

Example—Determining if a Disk Is Formatted

The following example shows that disk c0t3d0 is formatted.


# format
AVAILABLE DISK SELECTIONS:
  0. c0t1d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72> 
     /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0
  1. c0t3d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72>
     /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
Specify disk (enter its number): 0
selecting c0t1d0
[disk formatted]