NetBSD/usr.sbin
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
..
1997-05-09 13:56:04 +00:00
1997-05-25 12:04:53 +00:00
1997-05-17 22:14:13 +00:00
1997-05-17 15:52:52 +00:00
1997-05-17 15:48:50 +00:00
1997-04-23 08:09:08 +00:00
1997-05-17 20:31:15 +00:00
1997-05-23 03:09:56 +00:00
1997-05-06 22:38:46 +00:00
1997-04-18 13:58:50 +00:00