Subject: Re: NFS root problems [Was: Re: Kernel cross build problems]
To: David Brownlee <abs@netbsd.org>
From: Ian Fry <Ian.Fry@sophos.com>
List: port-arm26
Date: 11/28/2001 14:10:01
On Wed, Nov 28, 2001 at 11:54:15AM +0000, David Brownlee wrote:
> On Wed, 28 Nov 2001, Ian Fry wrote:
> > How about swap1 enabling swap to files that are accessible? If you're
> > booting diskless, you'll probably be swapping to a file in the root
> > directory (this is what I've been doing, and what the diskless HOWTO on
> > the website tells people to do), so swap1 could enable swapping to that.
> 	It would probably make sense to have another option to swapctl that would
> 	fail silently if the specified files were not found.

Yes, that's what I was thinking too.

> 	swap1 would set the option, swap2 would not. That would allow the right
> 	thing to happen on diskless boxes, plus also allow people to put swap on
> 	'noncritical' filesystems. Any thoughts for what letter to use? :)

Maybe a new flag for the -t option? 'diskless' perhaps? You'd probably want
an rc.conf setting to enable using the new flag for swap1, I suppose.

Ian.