Subject: LABELSECTOR and LABELOFFSET
To: None <port-i386@sun-lamp.cs.berkeley.edu, port-hp300@sun-lamp.cs.berkeley.edu>
From: John Brezak <brezak@apollo.hp.com>
List: port-hp300
Date: 01/10/1994 14:32:58
Can the #ifdef i386 for LABELSECTOR and LABELOFFSET in sys/disklabel.h be removed
and put into machine/param.h (like 4.4) ? It cleans this up a bit.
Also how about changing the hp300 to use the 4.4BSD disklabel locations ?
This would be:
#define LABELSECTOR (1024/DEV_BSIZE)
#define LABELOFFSET 0
And to quote Mike Hibler talking about the hp300 disklabel in 4.4:
> Disklabels--always a controversial subject. Where does NetBSD put them?
> Does it put them in the same place for all architectures? (that would be a
> miracle!) We put them where we did for compatibility between the hp300 and
> hp700. We are constrainted by the respective boot ROMs as to where it can go
> (though there is some flexibility). I would avoid moving them unless there
> is a good reason (like compatibility with all other SCSI implementations).
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Brezak UUCP: uunet!apollo.hp!brezak
Hewlett Packard/Apollo Internet: brezak@ch.hp.com
300 Apollo Drive Phone: (508) 436-4915
Chelmsford, Massachusetts Fax: (508) 436-5103
------------------------------------------------------------------------------