head 1.4; access; symbols netbsd-10-0-RELEASE:1.4 netbsd-10-0-RC6:1.4 netbsd-10-0-RC5:1.4 netbsd-10-0-RC4:1.4 netbsd-10-0-RC3:1.4 netbsd-10-0-RC2:1.4 netbsd-10-0-RC1:1.4 netbsd-10:1.4.0.110 netbsd-10-base:1.4 netbsd-9-3-RELEASE:1.4 cjep_sun2x-base1:1.4 cjep_sun2x:1.4.0.108 cjep_sun2x-base:1.4 cjep_staticlib_x-base1:1.4 netbsd-9-2-RELEASE:1.4 cjep_staticlib_x:1.4.0.106 cjep_staticlib_x-base:1.4 netbsd-9-1-RELEASE:1.4 phil-wifi-20200421:1.4 phil-wifi-20200411:1.4 is-mlppp:1.4.0.104 is-mlppp-base:1.4 phil-wifi-20200406:1.4 netbsd-8-2-RELEASE:1.4 netbsd-9-0-RELEASE:1.4 netbsd-9-0-RC2:1.4 netbsd-9-0-RC1:1.4 phil-wifi-20191119:1.4 netbsd-9:1.4.0.102 netbsd-9-base:1.4 phil-wifi-20190609:1.4 netbsd-8-1-RELEASE:1.4 netbsd-8-1-RC1:1.4 pgoyette-compat-merge-20190127:1.4 pgoyette-compat-20190127:1.4 pgoyette-compat-20190118:1.4 pgoyette-compat-1226:1.4 pgoyette-compat-1126:1.4 pgoyette-compat-1020:1.4 pgoyette-compat-0930:1.4 pgoyette-compat-0906:1.4 netbsd-7-2-RELEASE:1.4 pgoyette-compat-0728:1.4 netbsd-8-0-RELEASE:1.4 phil-wifi:1.4.0.100 phil-wifi-base:1.4 pgoyette-compat-0625:1.4 netbsd-8-0-RC2:1.4 pgoyette-compat-0521:1.4 pgoyette-compat-0502:1.4 pgoyette-compat-0422:1.4 netbsd-8-0-RC1:1.4 pgoyette-compat-0415:1.4 pgoyette-compat-0407:1.4 pgoyette-compat-0330:1.4 pgoyette-compat-0322:1.4 pgoyette-compat-0315:1.4 netbsd-7-1-2-RELEASE:1.4 pgoyette-compat:1.4.0.98 pgoyette-compat-base:1.4 netbsd-7-1-1-RELEASE:1.4 matt-nb8-mediatek:1.4.0.96 matt-nb8-mediatek-base:1.4 perseant-stdc-iso10646:1.4.0.94 perseant-stdc-iso10646-base:1.4 netbsd-8:1.4.0.92 netbsd-8-base:1.4 prg-localcount2-base3:1.4 prg-localcount2-base2:1.4 prg-localcount2-base1:1.4 prg-localcount2:1.4.0.90 prg-localcount2-base:1.4 pgoyette-localcount-20170426:1.4 bouyer-socketcan-base1:1.4 pgoyette-localcount-20170320:1.4 netbsd-7-1:1.4.0.88 netbsd-7-1-RELEASE:1.4 netbsd-7-1-RC2:1.4 netbsd-7-nhusb-base-20170116:1.4 bouyer-socketcan:1.4.0.86 bouyer-socketcan-base:1.4 pgoyette-localcount-20170107:1.4 netbsd-7-1-RC1:1.4 pgoyette-localcount-20161104:1.4 netbsd-7-0-2-RELEASE:1.4 localcount-20160914:1.4 netbsd-7-nhusb:1.4.0.84 netbsd-7-nhusb-base:1.4 pgoyette-localcount-20160806:1.4 pgoyette-localcount-20160726:1.4 pgoyette-localcount:1.4.0.82 pgoyette-localcount-base:1.4 netbsd-7-0-1-RELEASE:1.4 netbsd-7-0:1.4.0.80 netbsd-7-0-RELEASE:1.4 netbsd-7-0-RC3:1.4 netbsd-7-0-RC2:1.4 netbsd-7-0-RC1:1.4 netbsd-5-2-3-RELEASE:1.4 netbsd-5-1-5-RELEASE:1.4 netbsd-6-0-6-RELEASE:1.4 netbsd-6-1-5-RELEASE:1.4 netbsd-7:1.4.0.78 netbsd-7-base:1.4 yamt-pagecache-base9:1.4 yamt-pagecache-tag8:1.4 netbsd-6-1-4-RELEASE:1.4 netbsd-6-0-5-RELEASE:1.4 tls-earlyentropy:1.4.0.76 tls-earlyentropy-base:1.4 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4 riastradh-drm2-base3:1.4 netbsd-6-1-3-RELEASE:1.4 netbsd-6-0-4-RELEASE:1.4 netbsd-5-2-2-RELEASE:1.4 netbsd-5-1-4-RELEASE:1.4 netbsd-6-1-2-RELEASE:1.4 netbsd-6-0-3-RELEASE:1.4 netbsd-5-2-1-RELEASE:1.4 netbsd-5-1-3-RELEASE:1.4 netbsd-6-1-1-RELEASE:1.4 riastradh-drm2-base2:1.4 riastradh-drm2-base1:1.4 riastradh-drm2:1.4.0.68 riastradh-drm2-base:1.4 netbsd-6-1:1.4.0.74 netbsd-6-0-2-RELEASE:1.4 netbsd-6-1-RELEASE:1.4 khorben-n900:1.4.0.72 netbsd-6-1-RC4:1.4 netbsd-6-1-RC3:1.4 agc-symver:1.4.0.70 agc-symver-base:1.4 netbsd-6-1-RC2:1.4 netbsd-6-1-RC1:1.4 yamt-pagecache-base8:1.4 netbsd-5-2:1.4.0.66 netbsd-6-0-1-RELEASE:1.4 yamt-pagecache-base7:1.4 netbsd-5-2-RELEASE:1.4 netbsd-5-2-RC1:1.4 matt-nb6-plus-nbase:1.4 yamt-pagecache-base6:1.4 netbsd-6-0:1.4.0.64 netbsd-6-0-RELEASE:1.4 netbsd-6-0-RC2:1.4 tls-maxphys:1.4.0.62 tls-maxphys-base:1.4 matt-nb6-plus:1.4.0.60 matt-nb6-plus-base:1.4 netbsd-6-0-RC1:1.4 yamt-pagecache-base5:1.4 yamt-pagecache-base4:1.4 netbsd-6:1.4.0.58 netbsd-6-base:1.4 netbsd-5-1-2-RELEASE:1.4 netbsd-5-1-1-RELEASE:1.4 yamt-pagecache-base3:1.4 yamt-pagecache-base2:1.4 yamt-pagecache:1.4.0.56 yamt-pagecache-base:1.4 cherry-xenmp:1.4.0.54 cherry-xenmp-base:1.4 bouyer-quota2-nbase:1.4 bouyer-quota2:1.4.0.52 bouyer-quota2-base:1.4 matt-mips64-premerge-20101231:1.4 matt-nb5-mips64-premerge-20101231:1.4 matt-nb5-pq3:1.4.0.50 matt-nb5-pq3-base:1.4 netbsd-5-1:1.4.0.48 netbsd-5-1-RELEASE:1.4 netbsd-5-1-RC4:1.4 matt-nb5-mips64-k15:1.4 netbsd-5-1-RC3:1.4 netbsd-5-1-RC2:1.4 netbsd-5-1-RC1:1.4 netbsd-5-0-2-RELEASE:1.4 matt-nb5-mips64-premerge-20091211:1.4 matt-premerge-20091211:1.4 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.4 matt-nb4-mips64-k7-u2a-k9b:1.4 matt-nb5-mips64-u1-k1-k5:1.4 matt-nb5-mips64:1.4.0.46 netbsd-5-0-1-RELEASE:1.4 jym-xensuspend-nbase:1.4 netbsd-5-0:1.4.0.44 netbsd-5-0-RELEASE:1.4 netbsd-5-0-RC4:1.4 netbsd-5-0-RC3:1.4 netbsd-5-0-RC2:1.4 jym-xensuspend:1.4.0.42 jym-xensuspend-base:1.4 netbsd-5-0-RC1:1.4 mjf-devfs2-base2:1.4 netbsd-5:1.4.0.40 netbsd-5-base:1.4 matt-mips64-base2:1.4 matt-mips64:1.4.0.38 netbsd-4-0-1-RELEASE:1.4 wrstuden-revivesa-base-3:1.4 wrstuden-revivesa-base-2:1.4 wrstuden-fixsa-newbase:1.4 wrstuden-revivesa-base-1:1.4 yamt-pf42-base4:1.4 yamt-pf42-base3:1.4 hpcarm-cleanup-nbase:1.4 yamt-pf42-baseX:1.4 yamt-pf42-base2:1.4 wrstuden-revivesa:1.4.0.36 wrstuden-revivesa-base:1.4 yamt-pf42:1.4.0.34 yamt-pf42-base:1.4 mjf-devfs2:1.4.0.32 mjf-devfs2-base:1.4 keiichi-mipv6:1.4.0.30 keiichi-mipv6-base:1.4 mjf-devfs:1.4.0.28 mjf-devfs-base:1.4 matt-armv6-nbase:1.4 matt-armv6-prevmlocking:1.4 wrstuden-fixsa-base-1:1.4 netbsd-4-0:1.4.0.26 netbsd-4-0-RELEASE:1.4 cube-autoconf:1.4.0.24 cube-autoconf-base:1.4 netbsd-4-0-RC5:1.4 netbsd-4-0-RC4:1.4 netbsd-4-0-RC3:1.4 netbsd-4-0-RC2:1.4 netbsd-4-0-RC1:1.4 matt-armv6:1.4.0.22 matt-armv6-base:1.4 matt-mips64-base:1.4 hpcarm-cleanup:1.4.0.20 hpcarm-cleanup-base:1.4 netbsd-3-1-1-RELEASE:1.4 netbsd-3-0-3-RELEASE:1.4 wrstuden-fixsa:1.4.0.18 wrstuden-fixsa-base:1.4 abandoned-netbsd-4-base:1.4 abandoned-netbsd-4:1.4.0.12 netbsd-3-1:1.4.0.14 netbsd-3-1-RELEASE:1.4 netbsd-3-0-2-RELEASE:1.4 netbsd-3-1-RC4:1.4 netbsd-3-1-RC3:1.4 netbsd-3-1-RC2:1.4 netbsd-3-1-RC1:1.4 netbsd-4:1.4.0.16 netbsd-4-base:1.4 netbsd-3-0-1-RELEASE:1.4 netbsd-3-0:1.4.0.10 netbsd-3-0-RELEASE:1.4 netbsd-3-0-RC6:1.4 netbsd-3-0-RC5:1.4 netbsd-3-0-RC4:1.4 netbsd-3-0-RC3:1.4 netbsd-3-0-RC2:1.4 netbsd-3-0-RC1:1.4 netbsd-2-0-3-RELEASE:1.4 netbsd-2-1:1.4.0.8 netbsd-2-1-RELEASE:1.4 netbsd-2-1-RC6:1.4 netbsd-2-1-RC5:1.4 netbsd-2-1-RC4:1.4 netbsd-2-1-RC3:1.4 netbsd-2-1-RC2:1.4 netbsd-2-1-RC1:1.4 netbsd-2-0-2-RELEASE:1.4 netbsd-3:1.4.0.6 netbsd-3-base:1.4 netbsd-2-0-1-RELEASE:1.4 netbsd-2:1.4.0.4 netbsd-2-base:1.4 netbsd-2-0-RELEASE:1.4 netbsd-2-0-RC5:1.4 netbsd-2-0-RC4:1.4 netbsd-2-0-RC3:1.4 netbsd-2-0-RC2:1.4 netbsd-2-0-RC1:1.4 netbsd-2-0:1.4.0.2 netbsd-2-0-base:1.4 unifiedMKDEV-pre:1.3; locks; strict; comment @# @; 1.4 date 2003.12.21.17.37.26; author lukem; state Exp; branches; next 1.3; 1.3 date 2003.10.24.08.20.27; author jdolecek; state Exp; branches; next 1.2; 1.2 date 2003.10.19.19.07.28; author jdolecek; state Exp; branches; next 1.1; 1.1 date 2003.10.15.19.13.34; author jdolecek; state Exp; branches; next ; desc @@ 1.4 log @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" @ text @# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:27 jdolecek Exp $ all_md) makedev bwtwo0 cgtwo0 cgfour0 makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 makedev cd0 cd1 st0 st1 st2 fd0 makedev xd0 xd1 xd2 xd3 makedev xy0 xy1 xy2 xy3 makedev scsibus0 scsibus1 scsibus2 scsibus3 makedev std_sun3 ;; # other standard devices std_sun3) mkdev eeprom c 3 11 640 $g_kmem mkdev leds c 3 13 mkdev kd c 1 0 622 mkdev ttya c 12 0 mkdev ttyb c 12 1 mkdev mouse c 13 0 mkdev fb c 22 0 mkdev kbd c 29 0 ;; @ 1.3 log @sync with reality, put back some entries mistakely omitted in the initial conversion from MD MAKEDEV @ text @d1 1 a1 1 # $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:28 jdolecek Exp $ d12 1 a12 1 d15 1 a15 1 mkdev eeprom c 3 11 640 kmem @ 1.2 log @determine the platform number of disk partitions by looking at MAXPARTITIONS/OLDMAXPARTITIONS in kernel sources, so that it wouldn't need to be specified separately in MAKEDEV.conf change platform MAKEDEV.conf to contain only MD targets and nothing else; simplify the parsing in MAKEDEV.awk accordingly @ text @d1 1 a1 1 # $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:34 jdolecek Exp $ d15 2 @ 1.1 log @MD part of unified MAKEDEV this contains information about disk partitions used by platform, and MD MAKEDEV targets, such as 'init', MD part of 'all', as well as any other MD-specific targets not covered by MAKEDEV.tmpl @ text @d1 1 a1 1 # $NetBSD: MAKEDEV,v 1.58 2003/10/03 14:35:38 dsl Exp $ a2 3 DISKPARTITIONS=8 MD_DEVICES= @