Subject: Re: DISKLESS from 1.4.1 does NOT work.
To: None <port-i386@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: port-i386
Date: 11/22/1999 19:47:18
=?ISO-8859-1?Q?P=E5llen?= wrote:

> > Either the DISKLESS config file needs to add an 'options NFS_BOOT_XXX"
> > line, or sys/nfs/nfs_boot.c needs to be modified.
> 
> Hmm... Who will fix this? It could be nice with a working diskless config
> from the beginning.

I would question the usefulness of "DISKLESS" actually - at a glance
some of it appears to be out of date, and I suspect maintenance of it
could be a nightmare.  I usually take a GENERIC kernel and comment out
the "config netbsd root on ? type ?" line and uncomment the "config
netbsd root on ? type nfs" line.

I wonder if we had something like a "defconfig" option that provided a
default config for a kernel name, so that GENERIC had

	# default configuraion for "netbsd" kernel configuration.
	defconfig netbsd root on ? type ?

and then the entire DISKLESS config file could be

	#	$NetBSD$
	#

	"arch/i386/conf/GENERIC"

	# overried standard kernel config to use NFS
	config	netbsd	root on ? type nfs

Simon.