Subject: pfdisk/pdisk (was Re: trying to disklabel and newfs sd1)
To: None <port-mac68k@netbsd.org>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
List: port-mac68k
Date: 08/19/1999 01:56:19
Ken Nakata <kenn@synap.ne.jp> wrote:

Ken> I thought somebody ported pfdisk to NetBSD, anybody?

I don't know the differences between them, but pdisk works
on NetBSD.

$ uname -m
mac68k
$ pdisk -l /dev/sd0c

Partition map (with 512 byte blocks) on '/dev/sd0c'
 #:                type name                  length   base    ( size )
 1: Apple_partition_map Apple                     63 @ 1      
 2:      Apple_Driver43*Macintosh                 32 @ 64     
 3:     Apple_UNIX_SVR2 NetBSD Root            40960 @ 96      ( 20.0M)
 4:     Apple_UNIX_SVR2 NetBSD Swap           196608 @ 41056   ( 96.0M)
 5:           Apple_HFS MacOS User partition 1024000 @ 237664  (500.0M)
 6:     Apple_UNIX_SVR2 NetBSD Usr           1228800 @ 1261664 (600.0M)
 7:     Apple_UNIX_SVR2 NetBSD Usr            262144 @ 2490464 (128.0M)
 8:     Apple_UNIX_SVR2 NetBSD Usr           5714592 @ 2752608 (  2.7G)

Device block size=512, Number of Blocks=8467200 (4.0G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 19, type=0x1
2: @ 64 for 19, type=0x1


--
SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
Hack on NetBSD, and your code runs on over 20 architectures!