Subject: Re: "Root on... dumps on..."
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 11/05/2006 14:36:36
Zbigniew Baniewski wrote:
> On Sat, Nov 04, 2006 at 10:28:57PM -0500, Kevin Brunelle wrote:
> 
> > To make this change permanent, change the partition type from sw to dp 
> > in /etc/fstab
> > 
> > /dev/wd1b       none            swap    dp      0       0
> > 
> > And the startup scripts will make sure that it is changed at boot.
> 
> Yes, that's right - but, unfortunately, in such case I've got a message "no
> swap space configured". Is it impossible to designate such partition for
> both swap and dump targets?

/dev/wd1b       none            swap    sw,dp

should work. You also have to edit the disklabel to mark such partitions
as swap. You can use "swapctl -A" to make the changes effective and/or check
your settings without a reboot.

-- 
Christian