System Administration Guide: Basic Administration

Examples—Displaying Disk Slice Information

The following example displays slice information for disk with a VTOC label.


# format
Searching for disks...done
Specify disk (enter its number):1
Selecting c0t0d0
format> partition
partition> print
Current partition table (original):
Total disk cylinders available: 8892 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm    1110 - 4687        1.61GB    (0/3578/0) 3381210
  1       swap    wu       0 - 1109      512.00MB    (0/1110/0) 1048950
  2     backup    wm       0 - 8891        4.01GB    (0/8892/0) 8402940
  3 unassigned    wm       0               0         (0/0/0)          0
  4 unassigned    wm       0               0         (0/0/0)          0
  5 unassigned    wm       0               0         (0/0/0)          0
  6 unassigned    wm       0               0         (0/0/0)          0
  7       home    wm    4688 - 8891        1.89GB    (0/4204/0) 3972780
partition> q
format> q
#

For a detailed description of the slice information in these examples, see Chapter 32, Managing Disks (Overview).

The following example shows the slice information on a disk with an EFI label.


# format
Searching for disks...done
Specify disk (enter its number): 9
selecting c3t1d0
[disk formatted]
format> partition
partition> print
Current partition table (original):
Total disk sectors available: 2479267806 blocks

Part      Tag    Flag     First Sector          Size          Last Sector
  0       root    wm                34       128.00MB           262177    
  1       swap    wu            262178       128.00MB           524321    
  2 unassigned    wm                 0            0                0    
  3 unassigned    wm                 0            0                0    
  4 unassigned    wm                 0            0                0    
  5 unassigned    wm                 0            0                0    
  6        usr    wm            524322         1.15TB           2479251421 
partition> q
format> q