NetBSD/distrib
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
..
acorn26 netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
acorn32 Definition, not defintion. From miod@openbsd. 2003-09-26 22:25:21 +00:00
alpha netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
amd64 Trim the ramdisk. 2003-11-10 00:43:20 +00:00
amiga Use ${HOST_SH} instead of `sh'. 2003-10-26 07:25:33 +00:00
arc netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
atari netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
bebox/floppies Use ${HOST_SH} instead of `sh'. 2003-10-26 07:25:33 +00:00
cats use simpler MDSET_NOSTRIP= instead of MDSET_NOSTRIP.xxxx= 2003-10-25 04:39:48 +00:00
cdrom add the makefile fragments for -current. 2003-09-10 17:21:39 +00:00
common Rework MAKEDEV: 2003-12-21 17:37:26 +00:00
dreamcast netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
evbarm add SMDK2800 to supported platform. 2003-07-30 18:55:46 +00:00
evbppc netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
evbsh3/rom Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
hp300 netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
hpcarm Add a dummy Makefile so that `make release' succeeds. 2002-05-17 16:22:59 +00:00
hpcmips netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
hpcsh netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
i386 Pad all floppy images to the floppy size. 2003-12-18 00:44:22 +00:00
ibmnws www.netbsd.org -> www.NetBSD.org 2003-12-04 23:24:16 +00:00
mac68k use simpler MDSET_NOSTRIP= instead of MDSET_NOSTRIP.xxxx= 2003-10-25 04:39:48 +00:00
macppc netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
miniroot Link crunched binary with "-lmagic" required for file(1). 2003-03-31 18:10:40 +00:00
mipsco netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
mvme68k netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
mvmeppc Add a null "release" target, so that release builds don't fail for lack of it. 2002-04-09 16:46:16 +00:00
news68k netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
newsmips netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
notes More JavaStation setup instructions. 2003-12-15 16:10:58 +00:00
ofppc allow "make release" to work. no install stuff yet though. 2002-09-21 01:44:11 +00:00
pc532 Use ${HOST_SH} instead of `sh'. 2003-10-26 07:25:33 +00:00
playstation2 netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
pmax netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
pmppc netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
prep netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
sandpoint netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
sets Add bpm and its manual page. 2003-12-21 11:35:36 +00:00
sgimips Tweak ramdisk size -- ip22 doesn't seem to like a four-meg image. 2003-11-20 01:57:09 +00:00
shark For GCC 3.3.1, need to remove .comment too. 2003-09-21 00:19:31 +00:00
sparc netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
sparc64 Now that -Os is save again, use it. 2003-09-19 16:28:14 +00:00
sun2 ramdisk doesn't fit in 400k anymore, make it 500k. 2003-12-13 22:06:23 +00:00
sun3 commands have grown, make the ramdisk bigger. 2003-11-02 16:02:09 +00:00
syspkg Fix typo. 2003-05-02 05:43:45 +00:00
utils When upgrading an old system, install new bootblocks too. 2003-12-10 19:42:51 +00:00
vax Use ${HOST_SH} instead of `sh'. 2003-10-26 07:25:33 +00:00
x68k Separate mount_* from mount. These are not the same substance 2003-09-15 03:14:54 +00:00
Makefile Need to wait after making the notes in case the port uses them later on. 2002-07-25 00:35:33 +00:00
Makefile.inc yet another distrib overhaul: 2002-05-02 18:02:14 +00:00