NetBSD/usr.sbin/config
thorpej 267e8357fc Implement an unfortunate, and temporary, kludge to address the problem
reported in PR #3668 from maximum entropy <entropy@tanstaafl.bernstein.com>.

The problem: The unit number is not being conveyed to the configuration
crosscheck with root is a network interface; the device number is set
to NODEV, which sets up the (correct) defaults for swap/dump devices.
We can't change NODEV to a unit number, as the PR's patch suggests, as
this breaks the swap/dump defaults.  Rewriting that code is not really
justified, since it's soon to be obsoleted.

The kludge: add an "nv_ifunit" member to struct nvlist, which convey's
a network interface's unit number to the crosscheck routine.  It's not
pretty, but it's not terribly invasive, and can be garbage-collected
easily when the swap/dump goo is obsoleted.
1997-05-25 18:42:54 +00:00
..
config.8 Cross-reference options(4). While I'm hear, garbage-collect the 1997-02-05 19:17:28 +00:00
config.h Implement an unfortunate, and temporary, kludge to address the problem 1997-05-25 18:42:54 +00:00
files.c Minor changes to support building on other systems (i.e. SunOS). 1996-11-07 22:59:39 +00:00
gram.y Add support for generating "option headers". These allow options to 1997-02-02 21:12:30 +00:00
hash.c Add hash table walking functions to emit manifest constants for locator 1997-03-14 00:14:09 +00:00
main.c Implement an unfortunate, and temporary, kludge to address the problem 1997-05-25 18:42:54 +00:00
Makefile Add y.tab.h to CLEANFILES 1997-05-15 10:04:27 +00:00
Makefile.boot Minor changes to support building on other systems (i.e. SunOS). 1996-11-07 22:59:39 +00:00
mkheaders.c Add hash table walking functions to emit manifest constants for locator 1997-03-14 00:14:09 +00:00
mkioconf.c . NULL terminate the list of locator names on each attachment 1997-03-14 22:54:08 +00:00
mkmakefile.c Add support for generating "option headers". These allow options to 1997-02-02 21:12:30 +00:00
mkswap.c Implement new grammar and semantics for specifying file systems 1997-01-31 03:12:30 +00:00
pack.c sort cloning units for a given devbase after non-cloning units. Addresses 1997-04-17 05:01:09 +00:00
scan.l Add support for generating "option headers". These allow options to 1997-02-02 21:12:30 +00:00
sem.c Implement an unfortunate, and temporary, kludge to address the problem 1997-05-25 18:42:54 +00:00
sem.h Implement an unfortunate, and temporary, kludge to address the problem 1997-05-25 18:42:54 +00:00
strerror.c Minor changes to support building on other systems (i.e. SunOS). 1996-11-07 22:59:39 +00:00
util.c Add source' and build' directives, and corresponding options, per discussion 1996-08-31 20:58:16 +00:00