User`s guide

40 Chapter 4
Step 7: Create a new partition
Create a new partition for the first available block. In this example, you’ll create a block 1824
with a length of 120626448. The session, with output, looks like this:
Top level command (? for help): C
First block: 1824
Length in blocks: 20626448
Name of partition: vol1
Type of partition: Apple_HFS
Command (? for help): p
/dev/rdisk2 map block size=512
Device block size=512, Number of Blocks=241254720
Step 8: Add a second partition
Create and name a second partition formatted as HFS out of the remaining free space listed
in the partition map. The session, with output, looks like this:
Top level command (? for help): C
First block: 120628272
Length in blocks: 120626448
Name of partition: vol2
Type of partition: Apple_HFS
Command (? for help): p
/dev/rdisk2 map block size=512
Device block size=512, Number of Blocks=241254720
Step 9: Write the new partition map
At the prompt, type w to close the map and save (write) the new partitions. A warning
message says that writing the map destroys what was there before. This is what you want to
do, so type
yes at the prompt.
#: type name length base (size)
1: Apple_HFS vol1 120626448 @ 1824 (57.5G)
2: Apple_Free Extra 120626448 @ 120628272 (57.5G)
#: type name length base (size)
1: Apple_HFS vol1 120626448 @ 1824 (57.5G)
2: Apple_HFS vol2 120626448 @ 120628272 (57.5G)
LL2133.book Page 40 Friday, May 24, 2002 11:17 AM