From owner-freebsd-alpha Mon May 17 14:19:54 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id F3611156F1 for ; Mon, 17 May 1999 14:19:45 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id WAA57298; Mon, 17 May 1999 22:19:10 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Mon, 17 May 1999 22:19:10 +0100 (BST) From: Doug Rabson To: Matthew Jacob Cc: Mike Smith , alpha@FreeBSD.ORG Subject: Re: I dunno... is this a bug? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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