Become superuser.
Enter the format utility.
# format |
Enter the number of the disk that you want to label from the list displayed on your screen.
Specify disk (enter its number):1 |
Use the table below to determine how to label the disk.
If the Disk Is Unlabeled and Was Successfully Configured ... |
If the Disk Was Labeled and You Want to Change the Type, or Format Was Not Able to Automatically Configure the Disk ... |
---|---|
Format will ask if you want to label the disk. Go to step 5 to label the disk. |
You must specify the disk type. Go to steps 6-7 to set the disk type and label the disk. |
Label the disk by typing y at the Label it now? prompt.
Disk not labeled. Label it now? y |
The disk is now labeled. Go to step 10 to exit the format utility.
Enter type at the format> prompt.
format> type |
Format displays the Available Drive Types menu.
Select a disk type from the list of possible disk types.
Specify disk type (enter its number)[12]: 12 |
Label the disk. If the disk is not labeled, the following message is displayed.
Disk not labeled. Label it now? y |
Otherwise you are prompted with this message:
Ready to label disk, continue? y |
Use the verify command from the format main menu to verify the disk label.
format> verify |
Exit the format utility by typing q at the format> prompt.
partition> q format> q # |
The following example automatically configures and labels a 1.05-Gbyte disk.
# format c1t0d0: configured with capacity of 1002.09MB AVAILABLE DISK SELECTIONS: 0. c0t3d0 <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. c1t0d0 <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 Specify disk (enter its number): 1 Disk not labeled. Label it now? yes format> verify # |