NetBSD/distrib/common
lukem fcdfdbba5c Rework MAKEDEV:
*	Use "mknod -F netbsd -r" to create nodes, instead of
	"rm ; mknod; chmod; chown".
	This means permissions & ownership of existing nodes will
	not be changed.
	This is up to 30% faster when populating an empty /dev,
	and nearly 2x faster when re-running on an existing /dev.

    *	New options:
    	-f		force change of permission & ownership of existing
			devices
    	-m mknod	override name/path of mknod program
			(which defaults to $TOOL_MKNOD, then "mknod").
	-s		generate mtree(8) specfile instead of creating devices

    *	Remove /usr/etc from $PATH; not needed anymore.

    *	Provide functions to create devices & directories:
	    mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]]
		create device node `name' with the appropriate permissions
	    lndev src target
		create a symlink from src to target
	    makedir dir mode
		create directory with appropriate mode

    *	UIDs and GIDs are hardcoded in at MAKEDEV generation time.
	(Unfortunately there's not a simple way of determining a GID
	a la "id -n user" for determining a UID).

This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH
combination and comparing the results of "MAKEDEV all" from the
previous version to the new one.
(This testing actually highlighted mistakes in the previous configuration!)


Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s"
2003-12-21 17:37:26 +00:00
..
Makefile.crunch Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
Makefile.distrib Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
Makefile.image Use ${HOST_SH} instead of `sh'. 2003-10-26 07:25:33 +00:00
Makefile.makedev Rework MAKEDEV: 2003-12-21 17:37:26 +00:00
Makefile.mdset Add MDSET_NOSTRIP and MDSET_NOSYMBOLS; global versions of the "per ${FILE}" 2003-10-24 00:11:24 +00:00
Makefile.parselist s/awk/${AWK} 2003-11-14 06:00:34 +00:00
Makefile.tarfloppy Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
buildfloppies.sh When calculating the number of disks, take into account that every 2003-11-09 23:44:48 +00:00
list.makedev Update for MAKEDEV.tmpl changes; use <.OBJDIR-of-etc>/MAKEDEV 2003-10-25 04:29:24 +00:00
list.sysinst Don't bother building var/db/obsolete/* files for the install media; 2003-05-09 01:45:08 +00:00
mtree.common Don't bother building var/db/obsolete/* files for the install media; 2003-05-09 01:45:08 +00:00
mtree.dot provide common/mtree.dot (contains entry for ". type=dir ...") , and 2002-05-03 14:20:54 +00:00
parselist.awk Don't escape constructs like ${FOO} in printf statements. awk doesn't 2002-09-16 02:13:16 +00:00
sunbootcd.sh revert previous accidental commit (just whitespace tyop in this case) 2003-07-10 10:36:03 +00:00