[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pdisk



>                                            千葉市中央区長洲
>                                                    藤原  誠
pdisk をちょっと使って見たのですが、
(ftp://nandra.iri.co.jp/pub/NetBSD/macppc/)
iBook (1.5Y/20011014) IBM Travelstar 20G
   wd0 at wdc0 channel 0 drive 0: <IBM-DJSA-220>
   wd0: drive supports 16-sector PIO transfers, LBA addressing
  では make するだけで動くのに
G4    (1.5X/20010801) 
   <QUANTUM FIREBALLP LM10.2> 10G
   wd1 at wdc0 channel 0 drive 1: <QUANTUM FIREBALLP LM10.2>
   wd1: drive supports 16-sector PIO transfers, LBA addressing
   <Seagate  ST320420A>     20G
   (こちらはすぐには出て来ない)
では次のようになってしまうのですが、何故でしょうね。

makoto@u  17:19:02/011112(...src/pdisk)# ./pdisk /dev/wd0c
pdisk: Can't read block 0 from '/dev/wd0c'
Edit /dev/wd0c -
Command (? for help): p    
No partition map exists
Command (? for help): q
makoto@u  17:19:13/011112(...src/pdisk)# ./pdisk /dev/wd1c
pdisk: Can't read block 0 from '/dev/wd1c'
Edit /dev/wd1c -
Command (? for help): p
No partition map exists
Command (? for help): q
makoto@u  17:19:18/011112(...src/pdisk)# 
---
(藤原)
http://www.ki.nu/software/NetBSD/iBook2/
http://www.ki.nu/software/namazu/tutorial/
makoto@iBook366  18:00:11/011112(...src/pdisk)# ./pdisk /dev/wd0c
Edit /dev/wd0c -
Command (? for help): p

Partition map (with 512 byte blocks) on '/dev/wd0c'
 #:                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       2048000 @ 1544     (1000.0M)
10:           Apple_HFS 2     8192000 @ 2049544  (  3.9G)
11:           Apple_HFS 3     1331200 @ 10241544 (650.0M)
12:           Apple_HFS 4       65536 @ 11572744 ( 32.0M)
13:     Apple_UNIX_SVR2 A/UX Root         262144 @ 11638280 (128.0M)
14:     Apple_UNIX_SVR2 Swap              761856 @ 11900424 (372.0M)
15:     Apple_UNIX_SVR2 Usr file system  1047389 @ 12662280 (511.4M)
16:     Apple_UNIX_SVR2 Unreserved 1    25360384 @ 13709669 ( 12.1G)
17:          Apple_Free                       27 @ 39070053

Device block size=512, Number of Blocks=39070080 (18.6G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 118 for 36, type=0xffff
3: @ 192 for 21, type=0x701
4: @ 246 for 34, type=0xf8ff

Command (? for help):