fcdfdbba5c
* 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"
24 lines
588 B
Plaintext
24 lines
588 B
Plaintext
# $NetBSD: MAKEDEV.conf,v 1.5 2003/12/21 17:37:26 lukem Exp $
|
|
|
|
all_md)
|
|
makedev wscons std_mac68k sd0 sd1 sd2 sd3 wd0 wd1 wd2 wd3 tty0 tty1
|
|
makedev st0 st1 ch0 cd0 cd1 fd0 fd1
|
|
makedev ss0 uk0 uk1
|
|
makedev ttye0 adb grf0 grf1 grf2 grf3
|
|
makedev bpf8 bpf9 bpf10 bpf11
|
|
makedev asc0
|
|
makedev scsibus0 scsibus1 scsibus2 scsibus3 cfs0
|
|
;;
|
|
|
|
std_mac68k)
|
|
mkdev reload c 2 20 640 $g_kmem
|
|
;;
|
|
|
|
raminst)
|
|
makedev std std_mac68k
|
|
makedev sd0 sd1 sd2 sd3 wd0 wd1 wd2 wd3 st0 st1 cd0 cd1 md0
|
|
makedev adb grf0 grf1 ttye0
|
|
makedev tty0 tty1 opty
|
|
makedev bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
|
|
;;
|