Subject: disk map
To: None <port-hp700@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: port-hp700
Date: 02/08/2002 17:30:35
  Folks,

I have 9000/780 (C180) and 9000/782 (C200) and playing with boot loader.
I wonder how the disk layout will be....
I don't think it easy to share a disk with HP-UX, since the LVM partition
is not contiguous.
Shall we use normal BSD style layout like this?

offset (byte)	size	content
 dec	 hex	dec
   0	0x0000		(partition "a" and "c" start)
		   2	LIF magic
   2	0x0002	 248	unused
 250	0x00f0	  12	addr, size and entry of primary boot
 252	0x00fc	   4	pad
 256	0x0100	 256	unused
 512	0x0200	 404	disklabel (16 partitions)
		 108	pad
1024	0x0400	1024	unused
2048	0x0800	6144	primary boot (6KB)
8192	0x2000		(partition "a" filesystem start)

That is

#define LABELSECTOR	1
#define LABELOFFSET	0
#define MAXPARTITIONS	16
#define RAW_PART	2
-- 
ITOH Yasufumi