This app uses the SIOUX console library
Choose 'Quit' from the file menu to quit.

Use fake disk names (/dev/scsi<bus>.<id> i.e. /dev/scsi0.1, /dev/scsi1.3, etc.).

Top level command (? for help): L [return]

Partition map (with 512 byte blocks) on '/dev/scsi0.0' (/dev/sda)
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh_Bs 512 @ 64
3: Apple_HFS PM 7600 HD 1024000 @ 576 (500.0M)
4: Apple_HFS Application HD 2457600 @ 1024576 ( 1.2G)
5: Apple_HFS File Folder HD 2844672 @ 3482176 ( 1.4G)
6: Apple_Free Extra 2012 @ 6326848

Device block size=512, Number of Blocks=6328860 (3.0G)
DeviceType=0x1, DeviceId=0x1
Drivers-
1: @ 64 for 14, type=0x1

pdisk: can't open file '/dev/scsi0.1'
pdisk: can't open file '/dev/scsi0.2'
pdisk: No valid block 1 on '/dev/scsi0.3'
pdisk: can't open file '/dev/scsi0.4'
pdisk: can't open file '/dev/scsi0.5'
pdisk: can't open file '/dev/scsi0.6'
pdisk: can't open file '/dev/scsi1.0'
pdisk: can't open file '/dev/scsi1.1'
pdisk: can't open file '/dev/scsi1.2'
pdisk: can't open file '/dev/scsi1.3'
pdisk: can't open file '/dev/scsi1.4'
pdisk: can't open file '/dev/scsi1.5'

Partition map (with 512 byte blocks) on '/dev/scsi1.6' (/dev/sdc)
#: 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_Driver43*Macintosh_Bs 512 @ 192
5: Apple_HFS IBM Ultrastar 1 2459017 @ 704 ( 1.2G)
6: Apple_HFS IBM Ultrastar 2 5028551 @ 2459721 ( 2.4G)
7: Apple_Free Extra 3128 @ 7488272 ( 1.5M)
8: Apple_HFS Linux swap 102400 @ 7491400 ( 50.0M)
9: Apple_HFS Linux root 1331200 @ 7593800 (650.0M)

Device block size=512, Number of Blocks=8924999 (4.3G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 192 for 14, type=0x1
2: @ 64 for 22, type=0x101
3: @ 118 for 36, type=0xffff

Top level command (? for help): e [return]
Name of device: /dev/scsi1.6 [return]
Edit /dev/scsi1.6 -
Command (? for help): h [return]
Commands are:
h help
p print the partition table
P (print ordered by base address)
i initialize partition map
s change size of partition map
c create new partition (standard MkLinux type)
C (create with type also specified)
n (re)name a partition
d delete a partition
r reorder partition entry in map
w write the partition table
q quit editing (don't save changes)
x extra extensions for experts
Command (? for help): p [return]

Partition map (with 512 byte blocks) on '/dev/scsi1.6' (/dev/sdc)
#: 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_Driver43*Macintosh_Bs 512 @ 192
5: Apple_HFS IBM Ultrastar 1 2459017 @ 704 ( 1.2G)
6: Apple_HFS IBM Ultrastar 2 5028551 @ 2459721 ( 2.4G)
7: Apple_Free Extra 3128 @ 7488272 ( 1.5M)
8: Apple_HFS Linux swap 102400 @ 7491400 ( 50.0M)
9: Apple_HFS Linux root 1331200 @ 7593800 (650.0M)

Device block size=512, Number of Blocks=8924999 (4.3G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 192 for 14, type=0x1
2: @ 64 for 22, type=0x101
3: @ 118 for 36, type=0xffff

Command (? for help): d [return]
Partition number: 8 [return]
Command (? for help): p [return]

Partition map (with 512 byte blocks) on '/dev/scsi1.6' (/dev/sdc)
#: 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_Driver43*Macintosh_Bs 512 @ 192
5: Apple_HFS IBM Ultrastar 1 2459017 @ 704 ( 1.2G)
6: Apple_HFS IBM Ultrastar 2 5028551 @ 2459721 ( 2.4G)
7: Apple_Free Extra 105528 @ 7488272 ( 51.5M)
8: Apple_HFS Linux root 1331200 @ 7593800 (650.0M)

Device block size=512, Number of Blocks=8924999 (4.3G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 192 for 14, type=0x1
2: @ 64 for 22, type=0x101
3: @ 118 for 36, type=0xffff

Command (? for help): c [return]
First block: 7488272 [return]
Length in blocks: 105528 [return]
Name of partition: swap [return]
Command (? for help): p [return]

Partition map (with 512 byte blocks) on '/dev/scsi1.6' (/dev/sdc)
#: 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_Driver43*Macintosh_Bs 512 @ 192
5: Apple_HFS IBM Ultrastar 1 2459017 @ 704 ( 1.2G)
6: Apple_HFS IBM Ultrastar 2 5028551 @ 2459721 ( 2.4G)
7: Apple_UNIX_SVR2 swap 105528 @ 7488272 ( 51.5M)
8: Apple_HFS Linux root 1331200 @ 7593800 (650.0M)

Device block size=512, Number of Blocks=8924999 (4.3G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 192 for 14, type=0x1
2: @ 64 for 22, type=0x101
3: @ 118 for 36, type=0xffff

Command (? for help): d [return]
Partition number: 8 [return]
Command (? for help): p [return]

Partition map (with 512 byte blocks) on '/dev/scsi1.6' (/dev/sdc)
#: 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_Driver43*Macintosh_Bs 512 @ 192
5: Apple_HFS IBM Ultrastar 1 2459017 @ 704 ( 1.2G)
6: Apple_HFS IBM Ultrastar 2 5028551 @ 2459721 ( 2.4G)
7: Apple_UNIX_SVR2 swap 105528 @ 7488272 ( 51.5M)
8: Apple_Free Extra 1331200 @ 7593800 (650.0M)

Device block size=512, Number of Blocks=8924999 (4.3G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 192 for 14, type=0x1
2: @ 64 for 22, type=0x101
3: @ 118 for 36, type=0xffff

Command (? for help): c [return]
First block: 7593800 [return]
Length in blocks: 1331200 [return]
Name of partition: root [return]
Command (? for help): p [return]

Partition map (with 512 byte blocks) on '/dev/scsi1.6' (/dev/sdc)
#: 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_Driver43*Macintosh_Bs 512 @ 192
5: Apple_HFS IBM Ultrastar 1 2459017 @ 704 ( 1.2G)
6: Apple_HFS IBM Ultrastar 2 5028551 @ 2459721 ( 2.4G)
7: Apple_UNIX_SVR2 swap 105528 @ 7488272 ( 51.5M)
8: Apple_UNIX_SVR2 root 1331200 @ 7593800 (650.0M)

Device block size=512, Number of Blocks=8924999 (4.3G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 192 for 14, type=0x1
2: @ 64 for 22, type=0x101
3: @ 118 for 36, type=0xffff

Command (? for help): p [return]

Partition map (with 512 byte blocks) on '/dev/scsi1.6' (/dev/sdc)
#: 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_Driver43*Macintosh_Bs 512 @ 192
5: Apple_HFS IBM Ultrastar 1 2459017 @ 704 ( 1.2G)
6: Apple_HFS IBM Ultrastar 2 5028551 @ 2459721 ( 2.4G)
7: Apple_UNIX_SVR2 swap 105528 @ 7488272 ( 51.5M)
8: Apple_UNIX_SVR2 root 1331200 @ 7593800 (650.0M)

Device block size=512, Number of Blocks=8924999 (4.3G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 192 for 14, type=0x1
2: @ 64 for 22, type=0x101
3: @ 118 for 36, type=0xffff

Command (? for help): w [return]
Writing the map destroys what was there before. Is that okay? [n/y]: y [return]
The partition table has been altered!

Reboot your system so the partition table will be reread.
Command (? for help): p [return]

Partition map (with 512 byte blocks) on '/dev/scsi1.6' (/dev/sdc)
#: 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_Driver43*Macintosh_Bs 512 @ 192
5: Apple_HFS IBM Ultrastar 1 2459017 @ 704 ( 1.2G)
6: Apple_HFS IBM Ultrastar 2 5028551 @ 2459721 ( 2.4G)
7: Apple_UNIX_SVR2 swap 105528 @ 7488272 ( 51.5M)
8: Apple_UNIX_SVR2 root 1331200 @ 7593800 (650.0M)

Device block size=512, Number of Blocks=8924999 (4.3G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 192 for 14, type=0x1
2: @ 64 for 22, type=0x101
3: @ 118 for 36, type=0xffff

Command (? for help): q [return]
Top level command (? for help):
pdisk.out

「Apple_HFS」から「Apple_UNIX_SVR2」に変わって行く様子をご理解頂けたかな?


 Linux PPC 1999 に戻る。