次の例では、format ユーティリティを使用して 200M バイトのディスクを /export/home1 ファイルシステム用の 1 つのスライスにします。
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t2d0 <SUN0207 cyl 1254 alt 2 hd 9 sec 36>
/sbus@1,f8000000/esp@0,800000/sd@2,0
1. c0t3d0 <SUN0424 cyl 1151 alt 2 hd 9 sec 80>
/sbus@1,f8000000/esp@0,800000/sd@3,0
Specify disk (enter its number): 0
selecting c0t2d0
[disk formatted]
format> partition
partition> print
partition> modify
Select partitioning base:
0. Current partition table (original)
1. All Free Hog
Choose base (enter number) [0]? 1
Part Tag Flag Cylinders Size Blocks
0 root wm 0 0 (0/0/0)
1 swap wu 0 0 (0/0/0)
2 backup wu 0 - 1253 198.39MB (1254/0/0)
3 unassigned wm 0 0 (0/0/0)
4 unassigned wm 0 0 (0/0/0)
5 unassigned wm 0 0 (0/0/0)
6 usr wm 0 0 (0/0/0)
7 unassigned wm 0 0 (0/0/0)
Do you wish to continue creating a new partition
table based on above table[yes]? y
Free Hog partition[6]? 5
Enter size of partition `0' [0b, 0c, 0.00mb]:
Enter size of partition `1' [0b, 0c, 0.00mb]:
Enter size of partition `3' [0b, 0c, 0.00mb]:
Enter size of partition `4' [0b, 0c, 0.00mb]: 198mb
Enter size of partition `6' [0b, 0c, 0.00mb]:
Enter size of partition `7' [0b, 0c, 0.00mb]: