Subject: Re: NetBSD's swap partition ID
To: None <tls@rek.tjls.com>
From: Johnny Billquist <bqt@update.uu.se>
List: netbsd-users
Date: 02/28/2006 01:07:45
Ah. That explains why I could move my disk from an i386 to an Alpha. I
didn't bother with those DOS partitions on i386... :-)
Johnny
Thor Lancelot Simon wrote:
> On Mon, Feb 27, 2006 at 07:58:20PM +0100, Pavel Cahyna wrote:
>
>>On Fri, Feb 24, 2006 at 04:38:07PM +0100, Geert Hendrickx wrote:
>>
>>>>What for? Just because a long time ago in such way it was made on the
>>>>PDP-11?
>>>
>>>Also because it's more portable than DOS/BIOS-style partitions.
>>
>>Portable as in "you can take a disk from an i386 machine, put it in an
>>alpha and you'll see the NetBSD partitions"? This does not work.
>
>
> It doesn't work because of a bug (ports that do not use a machine-dependent
> offset for the disklabel don't look at the locations used by ports that
> do). Fixing that is about 50 lines of code, and then it All Just Works. I
> suspect nobody else commits the fixes for the same reason I never do: lack
> of willingness to touch every single port's disksubr.[ch].
>
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt@update.uu.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol