Subject: Re: NetBSD's swap partition ID
To: None <netbsd-users@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 02/24/2006 11:16:22
On Fri, 24 Feb 2006, Geert Hendrickx wrote:
> On Fri, Feb 24, 2006 at 10:51:15AM -0500, Greg Troxel wrote:
> > You can give the 169 partition only part of the disk, use a second for
> > Linux (1 fs, whole system as is the custom), a third for Linux swap, and
> > the fourth for freedos. You can add then make the b partition in the
> > netbsd disklabel refer to the linux swap partition.
>
> I don't think Linux will like this. IIRC, Linux swap partitions have to be
> initialized ("formatted"?) using mkswap. You will have to redo this
> everytime NetBSD has written anything to this swap space.
I have used the same swap on some Linux/NetBSD dual boot boxes. On Linux,
I just ran the mkswap before doing the swapon.
> NetBSD won't have this problem since it accepts any scratch block device
> (or even a file) as swap space. Hence you can share swap partitions
> between multiple *BSD installs.
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/