Subject: Re: README: setroot changes that affect you!
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Paul Goyette <paul@pgoyette.bdt.com>
List: current-users
Date: 01/31/1997 05:18:40
On Thu, 30 Jan 1997, Jason Thorpe wrote:

<big _snip_>

> In addition, the root device specification has changed somewhat.
> Now, a "root" spec is _required_, but may be wildcarded.  Optionally,
> the root file system type can be specified or wildcarded.  An
> unspecified type is the same as a wild carded type.  Specification
> of swap and dumps remains as before.  So, the major differences you'll
> notice... the following:
> 
> config	netbsd swap generic
> config	netbsd root on nfs
> 
> have become:
> 
> config	netbsd root on ? type ?
> config	netbsd root on ? type nfs
> 
> Note also that you can e.g. nail down the network interface used
> for NFS root:
> 
> config	netbsd root on le0 type nfs
> 

Will this new syntax work with:

  config	netbsd root on ? type ffs swap on sd0b and sd1b

The intent is to have a kernel that can boot from any drive (so it can be
copied to an /altroot, rather than having to compile a 2nd custom kernel
to run from the alternate root device) yet have that kernel use fixed swap
partitions.  The previous "swap generic" mechanism precluded specifying
where the (multiple) swap partitions were if you made a generic kernel.