Subject: swap/vnd/config.new (was: Re: NetBSD/i386 1.0-BETA binaries)
To: None <current-users@netbsd.org, port-i386@netbsd.org, I.D.Fitchet@fulcrum.co.uk>
From: matthew green <mrg@mame.mu.OZ.AU>
List: current-users
Date: 10/18/1994 22:27:10
   
   Actually, at some point it needs to change to `pseudo-device vnd'; or
   swap configuration needs to be completely redesigned.  As it stands now,
   any port using config.new can't use vnd devices for swap.

actually, you an use them, but you have to hack swapnetbsd.c
to let you (swapnetbsd.c is generated by config.new, so you
have to re-hack it each time you run config.new).   this is
the relevant part of my swapnetbsd.c.  the line with vnd0 in
it is the line i added.

struct  swdevt swdevt[] = {
        { makedev(7, (0 * MAXPARTITIONS) + 1),  0,      0 },    /* sd0 */
	{ makedev(8, (0 * MAXPARTITIONS) + 2),  0,      0 },    /* vnd0 */
	{ NODEV, 0, 0 }
};


personally, i think the swap config needs to be redesigned.

.mrg.