Using Command-Line Tools 35
Step 3: Use pdisk to find unmounted volumes
List all the device maps for a hard disk and choose the ones you want to mount. Type:
pdisk
L
The session, with example output, looks like this:
pdisk
Top level command (? for help): L
/dev/rdisk2 map block size =512
Step 4: Choose a device map to partition
When prompted, type e and choose the disk you want to partition (in this case,
/dev/rdisk2). The session looks like this:
Top level command (? for help): e
Name of device: /dev/rdisk2
/dev/rdisk2
#: type name length base (size)
1: Apple_partition_map Apple Apple63 @ 1
2: Apple_Driver43*Macintosh 56 @ 64
3: Apple_Driver43*Macintosh 56 @ 120
4: Apple_Driver_ATA*Macintosh 56 @ 176
5: Apple_Driver_ATA*Macintosh 56 @ 232
6: Apple_FWDriver Macintosh 512 @ 288
7: Apple_Driver_IOKit Macintosh 512 @ 800
8: Apple_Patches Patch Partition 512 @ 1312
9: Apple_HFS hfs5 241252896 @ 1824 (115.0G)
LL2133.book Page 35 Friday, May 24, 2002 11:17 AM
Comments to this Manuals