Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Alan Barrett <apb@netbsd.org>
List: source-changes
Date: 12/15/2007 17:28:09
Module Name:	src
Committed By:	apb
Date:		Sat Dec 15 17:28:09 UTC 2007

Modified Files:
	src/etc: MAKEDEV.local MAKEDEV.tmpl
	src/share/man/man8: MAKEDEV.local.8

Log Message:
In MAKEDEV.tmpl:
* Add a nooutput function to be used instead of redirecting to /dev/null,
  because /dev/null might not exist early in the boot sequence.  This
  should fix a bug in which the pax autodetection failed when used from
  init(8) with a read-only root file system without a /dev/null.
* Move most of the main program into a new makedev_main function,
  to allow reuse by MAKEDEV.local.

In MAKEDEV.local:
* Use the new makedev_main function defined in MAKEDEV.  This allows
  MAKEDEV.local to support all the options understood by MAKEDEV, instead
  of only a subset.  This should fix a bug in which the setup() function
  could try to use pax mode even though that was previously not supported.

In MAKEDEV.local man page:
* Update list of command line options.
* Don't explain all the options, just refer to MAKEDEV(8) man page.
* Remove BUGS section now that all MAKEDEV options are supported
  by MAKEDEV.local.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/etc/MAKEDEV.local
cvs rdiff -r1.96 -r1.97 src/etc/MAKEDEV.tmpl
cvs rdiff -r1.4 -r1.5 src/share/man/man8/MAKEDEV.local.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.