Last Update: "2007/04/23 22:03:06 makoto"
実際の操作
# pdisk /dev/wd0c
Edit /dev/wd0c -
Command (? for help): p
Partition map (with 512 byte blocks) on '/dev/wd1c'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 54 @ 64
3: Apple_Driver43*Macintosh 74 @ 118
4: Apple_Driver_ATA*Macintosh 54 @ 192
5: Apple_Driver_ATA*Macintosh 74 @ 246
6: Apple_FWDriver Macintosh 200 @ 320
7: Apple_Driver_IOKit Macintosh 512 @ 520
8: Apple_Patches Patch Partition 512 @ 1032
9: Apple_HFS XXXX 40187406 @ 1544 ( 19.2G)
10: Apple_Free YYYY 10 @ 40188950
Device block size=512, Number of Blocks=40188959 (19.2G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: 23 @ 64, type=0x1
2: 36 @ 118, type=0xffff
3: 21 @ 192, type=0x701
4: 34 @ 246, type=0xf8ff
Command (? for help): d 9
Command (? for help): C 9p 16384 ofwboot Apple_HFS
Command (? for help): c 10p 2016000 root a
Available partition slices for Apple_UNIX_SVR2:
a root partition
b swap partition
c do not set any bzb bits
g user partition
Other lettered values will create user partitions
Command (? for help): c 11p 2016000 swap b
Available partition slices for Apple_UNIX_SVR2:
a root partition
b swap partition
c do not set any bzb bits
g user partition
Other lettered values will create user partitions
Command (? for help): c 12p 10080000 usr g
Available partition slices for Apple_UNIX_SVR2:
a root partition
b swap partition
c do not set any bzb bits
g user partition
Other lettered values will create user partitions
Command (? for help): p
Partition map (with 512 byte blocks) on '/dev/wd1c'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 54 @ 64
3: Apple_Driver43*Macintosh 74 @ 118
4: Apple_Driver_ATA*Macintosh 54 @ 192
5: Apple_Driver_ATA*Macintosh 74 @ 246
6: Apple_FWDriver Macintosh 200 @ 320
7: Apple_Driver_IOKit Macintosh 512 @ 520
8: Apple_Patches Patch Partition 512 @ 1032
9: Apple_HFS ofwboot 16384 @ 1544 ( 8.0M)
10: Apple_UNIX_SVR2 root 2016000 @ 17928 (984.4M) S0 RUFS k0 /
11: Apple_UNIX_SVR2 swap 2016000 @ 2033928 (984.4M) S1 SFS k0 (swap)
12: Apple_UNIX_SVR2 usr 10080000 @ 4049928 ( 4.8G) S2 UFS k0 /usr
13: Apple_Free Extra 26059032 @ 14129928 ( 12.4G)
Device block size=512, Number of Blocks=40188959 (19.2G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: 23 @ 64, type=0x1
2: 36 @ 118, type=0xffff
3: 21 @ 192, type=0x701
4: 34 @ 246, type=0xf8ff
Command (? for help): c 13p 26059032 export g
Available partition slices for Apple_UNIX_SVR2:
a root partition
b swap partition
c do not set any bzb bits
g user partition
Other lettered values will create user partitions
Command (? for help): p
Partition map (with 512 byte blocks) on '/dev/wd1c'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 54 @ 64
3: Apple_Driver43*Macintosh 74 @ 118
4: Apple_Driver_ATA*Macintosh 54 @ 192
5: Apple_Driver_ATA*Macintosh 74 @ 246
6: Apple_FWDriver Macintosh 200 @ 320
7: Apple_Driver_IOKit Macintosh 512 @ 520
8: Apple_Patches Patch Partition 512 @ 1032
9: Apple_HFS ofwboot 16384 @ 1544 ( 8.0M)
10: Apple_UNIX_SVR2 root 2016000 @ 17928 (984.4M) S0 RUFS k0 /
11: Apple_UNIX_SVR2 swap 2016000 @ 2033928 (984.4M) S1 SFS k0 (swap)
12: Apple_UNIX_SVR2 usr 10080000 @ 4049928 ( 4.8G) S2 UFS k0 /usr
13: Apple_UNIX_SVR2 export 26059032 @ 14129928 ( 12.4G) S2 UFS k0 /usr
Device block size=512, Number of Blocks=40188959 (19.2G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: 23 @ 64, type=0x1
2: 36 @ 118, type=0xffff
3: 21 @ 192, type=0x701
4: 34 @ 246, type=0xf8ff
Command (? for help): w
Command (? for help): q
|