Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 22:19:10 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        Mike Smith <mike@smith.net.au>, alpha@FreeBSD.ORG
Subject:   Re: I dunno... is this a bug? 
Message-ID:  <Pine.BSF.4.05.9905172217510.509-100000@herring.nlsystems.com>
In-Reply-To: <Pine.BSF.4.05.9905170853010.56292-100000@semuta.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 May 1999, Matthew Jacob wrote:

> 
> > I'm not sure why this worked before. The problem is that alpha puts the
> > label at offset 64 (dictated by OSF1 and NetBSD) and i386 puts it at
> > offset 512. We could update readdisklabel to look in both places I
> > suppose.
> 
> I don't know why it did but it sure did!
> 
> Why isn't readdisklabel a architecture independent function? One of the
> *huge* wins for Linux is it's ability to cope with multiple disk label
> formats.

Its sort of architecture independant but its guided by LABELSECTOR and
LABELOFFSET. I'm sure you could improve it given an hour of hacking...

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905172217510.509-100000>