Home | History | Annotate | only in /src/etc/etc.prep
History log of /src/etc/etc.prep
RevisionDateAuthorComments
 1.42 24-Oct-2003  jdolecek switch over to unified MAKEDEV
 1.41 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major range
 1.40 03-Oct-2003  dsl Add a /dev/constty == /dev/console but with minor 1.
Use for tty sessions on 'console' so that output doesn't pinched by anyone
using TIOCCONS to get kernel and system messages.
 1.39 19-Sep-2003  pooka add isdn telephony dialout devices
 1.38 30-Aug-2003  dsl Change the way pseudo tty devices are generated in order to avoid
any pipes and running other commands (eg dd).
Measurable speeds up creating pseudo ttys.
(there has to be a better way than editing 51 files! - tedious at only
6 key presses per file)
 1.37 22-Aug-2003  itojun create /dev/crypto
 1.36 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.35 27-Apr-2003  ragge Add ksyms to "std" devices.
 1.34 17-Apr-2003  fvdl Add an 'init' target, that creates the device nodes in the case where
MAKEDEV is being called from init(8) to create an MFS /dev. For most
ports, this is the same as 'all'. The only exceptions are i386 and
x86_64.
 1.33 31-Mar-2003  perry make ipl consistently "IP Filter"
 1.32 30-Mar-2003  wiz Miscellaneous fixes from Igor Sobrado, in PRs 20943-20959.
 1.31 23-Oct-2002  jdolecek don't bother creating /dev/io on archs which don't support it
 1.30 21-Oct-2002  lukem whitespace consistency cleanup
 1.29 04-Oct-2002  elric Include cgd on the list of things to be mknod(8)ed on all arches.
 1.28 09-Aug-2002  lukem - in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
 1.27 18-Jun-2002  wiz Update comment on how to regenerate MAKEDEV(8) after changing the
MAKEDEV script. Not that anybody acts on it, but it's nicer if it's correct.
 1.26 17-Jun-2002  christos Add device creation support for systrace.
 1.25 16-Mar-2002  martin branches: 1.25.2;
Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
 1.24 13-Mar-2002  simonb Remove trailing semicolons from lines that don't need them.
TABify many lines.
 1.23 04-Mar-2002  lukem various cleanups inspired by etc.i386/MAKEDEV:

* use "ln -fs foo bar" instead of "rm -f bar; ln -s foo bar"

* remove unnecessary chown root or chgrp wheel directives; older code here
didn't bother doing this, so why be inconsistent

* when making directories, don't use -p and don't redirect stdout to /dev/null

* clean up whitespace

* wrap the main parser code in a function makedev(), and call makedev
instead of "sh $0". (this is a bit faster)

* don't barf when we have fdesc mounted; just skip the devices fdesc provides


(these files should really be automagically generated...)
 1.22 03-Mar-2002  toshii Use a tab instead of 7 spaces.
 1.21 26-Feb-2002  kleink Bring pseudo terminal devices' major numbers in sync with reality again.
 1.20 25-Feb-2002  atatat Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
 1.19 02-Feb-2002  tls Fix minor mistake made while increasing number of pty devices: where we had
"pty0 pty1 pty2 pty3" before, for a total of 64 device nodes, we now want
just "pty0" for a total of 62 -- the original commit had "pty0 pty1" for a
total of 124, which ate too many inodes and made "ls /dev" a bit messy.
 1.18 02-Feb-2002  tls Add support for many more (930 or 992) ptys than the current 256.

Changes taken from the i386 MAKEDEV. Note that the unusual use of 'dd'
to index an array was chosen because 'dd' is on all ports' install media.

This form of this change comes from Andrew Brown; the original idea to
bump the number of ptys this way comes from Brian Marcotte at Panix.
 1.17 21-Jan-2002  abs Move 'wscons' to directly after 'std'. Various MAKEDEVs had it pretty much
at the end, and as wscons (actually ttyE0) is required to login on the console,
it is probably better that an out of space MAKEDEV fail on some other device.
 1.16 19-Jan-2002  oster Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices.
 1.15 13-Jan-2002  manu Added clockctl
 1.14 08-Jan-2002  lukem fix a couple of spelling mistakes in the i4b* descriptions
 1.13 19-Dec-2001  wiz Standardize ch* and uk* descriptions.
 1.12 19-Dec-2001  wiz Standardize scsibus* description.
 1.11 11-Dec-2001  kleink Create pci devices.
 1.10 11-Dec-2001  kleink Create wsfont device.
 1.9 29-Oct-2001  augustss Create wsmuxN and wsmuxctlN together.
Use separate nodes for wsmouse and wskbd.
 1.8 13-Oct-2001  augustss Allow creation of wsmuxctl devices.
 1.7 10-Sep-2001  augustss Add an entry to make wsmux devices.
 1.6 08-Jan-2001  martin Add isdn devices
 1.5 05-Dec-2000  wrstuden Add MAKEDEV support for Cyclom-Y multiport serial boards. Driver
support was already in $MACHINE/$MACHINE/conf.c.
 1.4 27-Jul-2000  mason Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
 1.3 02-May-2000  kleink branches: 1.3.4;
Restructure a bit as to create wscons device nodes using the 'wscons'
argument, rather than enumerating all the terminal devices. (Convenient
side-effect: ttyEcfg ist actually created.)
 1.2 29-Apr-2000  kleink Fix raw partition number for cd(4) nodes.
 1.1 29-Feb-2000  nonaka Initial import prep port.
 1.3.4.2 11-Aug-2000  mason Move to default of 16 PTYs in "floppy" and "minimal" targets.
Requested by mason, approved by jhawk.
 1.3.4.1 11-Aug-2000  mason Create 64 PTYs in "all" target by default.
Requested by mason, approved by jhawk.
 1.25.2.1 10-Aug-2002  lukem Pull up revision 1.28 (requested by lukem):
- in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
 1.9 23-Sep-2018  maxv Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
 1.8 16-Aug-2012  abs branches: 1.8.32; 1.8.34;
Add 'bpf' to all ramdisk targets (*), or floppy targets if ramdisk calls that.
Sort bpf to come directly after 'std' where relevant.
* (apart from etc.evbppc who's ramdisk target *only* builds md0,
which just doesn't make sense).
Should allow a fighting chance for dhcpcd to get an IP address.
 1.7 13-Sep-2008  tsutsui branches: 1.7.18;
Move "makedev cfs" for the vcoda device from MI MAKEDEV.tmpl to
MD MAKEDEV.conf. Not all ports have vcoda in their majors.foo files
and we shouldn't (re)assign major numbers on all ports before 5.0.

Should close PR port-sgimips/38962.
 1.6 21-Mar-2007  garbled branches: 1.6.12; 1.6.16;
Create /dev/residual on prep
 1.5 26-Feb-2007  garbled add nvram device
 1.4 15-Jan-2007  hubertf Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.

See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html

Fixes PR 26511 properly.

OK'd by wrstuden@
 1.3 19-Oct-2003  jdolecek branches: 1.3.16;
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
 1.2 19-Oct-2003  jdolecek g/c audio0-3 (created by target 'audio')
g/c duplicate ttyv0 entry
 1.1 15-Oct-2003  jdolecek 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
 1.3.16.3 31-Mar-2007  bouyer Pull up following revision(s) (requested by garbled in ticket #532):
etc/etc.prep/MAKEDEV.conf: revision 1.6
Create /dev/residual on prep
 1.3.16.2 04-Mar-2007  bouyer Pull up following revision(s) (requested by garbled in ticket #482):
share/man/man4/man4.prep/intro.4: revision 1.1
usr.sbin/eeprom/eeprom.8: revision 1.12
usr.sbin/eeprom/prephandlers.c: revision 1.1
distrib/sets/lists/base/md.prep: revision 1.13
distrib/sets/lists/comp/md.prep: revision 1.22
sys/arch/prep/conf/majors.prep: revision 1.19
share/man/man4/man4.prep/Makefile: revision 1.1
share/man/man4/Makefile: revision 1.421
usr.sbin/eeprom/defs.h: revision 1.10
share/man/man4/man4.prep/nvram.4: revision 1.1
sys/arch/prep/pnpbus/nvram_pnpbus.c: revision 1.6
usr.sbin/eeprom/Makefile: revision 1.14
etc/mtree/NetBSD.dist: revision 1.333
usr.sbin/eeprom/main.c: revision 1.17
etc/etc.prep/MAKEDEV.conf: revision 1.5
distrib/sets/lists/man/mi: revision 1.978
usr.sbin/eeprom/pathnames.h: revision 1.3
sys/arch/prep/include/Makefile: revision 1.19
sys/arch/prep/include/nvram.h: revision 1.3
Finish the code in the prep nvram driver that makes it an actual device
(/dev/nvram) and implement all the associated ioctls fully. Tested with
a hacked up copy of eeprom(8). Right now it can only be used to see the
nvram GEV contents, not actually edit them. Will do that later some day.
 1.3.16.1 18-Feb-2007  tron Pull up following revision(s) (requested by hubertf in ticket #429):
etc/etc.bebox/MAKEDEV.conf: revision 1.5
etc/etc.x68k/MAKEDEV.conf: revision 1.8
etc/etc.next68k/MAKEDEV.conf: revision 1.3
etc/etc.ofppc/MAKEDEV.conf: revision 1.5
etc/etc.hpcmips/MAKEDEV.conf: revision 1.4
etc/etc.amd64/MAKEDEV.conf: revision 1.8
etc/etc.algor/MAKEDEV.conf: revision 1.4
etc/etc.sparc64/MAKEDEV.conf: revision 1.12
etc/etc.hp300/MAKEDEV.conf: revision 1.11
etc/etc.sgimips/MAKEDEV.conf: revision 1.8
etc/etc.pc532/MAKEDEV.conf: revision 1.5
etc/etc.mvmeppc/MAKEDEV.conf: revision 1.6
etc/etc.mvme68k/MAKEDEV.conf: revision 1.6
etc/etc.pmppc/MAKEDEV.conf: revision 1.6
etc/etc.cobalt/MAKEDEV.conf: revision 1.4
etc/etc.evbmips/MAKEDEV.conf: revision 1.4
etc/etc.sparc/MAKEDEV.conf: revision 1.11
etc/etc.hpcarm/MAKEDEV.conf: revision 1.7
etc/etc.i386/MAKEDEV.conf: revision 1.12
etc/etc.acorn32/MAKEDEV.conf: revision 1.8
etc/etc.evbppc/MAKEDEV.conf: revision 1.5
etc/etc.amiga/MAKEDEV.conf: revision 1.10
etc/etc.prep/MAKEDEV.conf: revision 1.4
etc/etc.sandpoint/MAKEDEV.conf: revision 1.4
etc/MAKEDEV.tmpl: revision 1.71
etc/etc.alpha/MAKEDEV.conf: revision 1.7
etc/etc.ibmnws/MAKEDEV.conf: revision 1.6
etc/etc.macppc/MAKEDEV.conf: revision 1.7
etc/etc.mmeye/MAKEDEV.conf: revision 1.5
etc/etc.mac68k/MAKEDEV.conf: revision 1.7
etc/etc.vax/MAKEDEV.conf: revision 1.10
etc/etc.arc/MAKEDEV.conf: revision 1.6
etc/etc.hp700/MAKEDEV.conf: revision 1.4
etc/etc.mipsco/MAKEDEV.conf: revision 1.3
etc/etc.atari/MAKEDEV.conf: revision 1.7
Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.
See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html
Fixes PR 26511 properly.
OK'd by wrstuden@
 1.6.16.1 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.6.12.1 05-Oct-2008  mjf Sync with HEAD.
 1.7.18.1 30-Oct-2012  yamt sync with head
 1.8.34.1 10-Jun-2019  christos Sync with HEAD
 1.8.32.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.9 18-Mar-2008  lukem Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
 1.8 24-Jul-2007  pavel branches: 1.8.4; 1.8.10; 1.8.12; 1.8.14;
Add a comment reminding to update the release notes if the list of
kernels change.
 1.7 20-Jun-2006  garbled Build the INSTALL_SMALL kernel
 1.6 03-Jan-2003  lukem Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
 1.5 02-Dec-2002  lukem - add snap_post, which makes "clean depend all release" in ../distrib/
for all platforms.
- remove now unnecessary replicated code in the various snap_md_post targets
- remove snap_md_pre; nothing uses it any more
- use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate
 1.4 02-May-2002  lukem - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
for a given platform
 1.3 31-Mar-2002  bjh21 Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
 1.2 29-Nov-2001  thorpej Change the way kernel sets are specified, and make them
more consistent. To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port. A port may
# specify the following kernels:
#
# KERNEL_SETS The list of kernels that will be
# packaged into sets, named
# kern-${kernel}.tgz. These kernels
# are also placed in the binary/kernels
# area of the release package as
# netbsd-${kernel}.gz.
#
# EXTRA_KERNELS Additional kernels to place in the
# binary/kernels area of the release
# package as netbsd-${kernel}.gz, but
# which are not placed into sets. This
# allows a port to provide e.g. a netbootable
# installation kernel containing a ramdisk.
#
# BUILD_KERNELS Additional kernels to build which are
# not placed into sets nor into the
# binary/kernels area of the release
# package. These are typically kernels
# that are built for inclusion only in
# installation disk/CD-ROM/tape images.
#
 1.1 16-Jan-2001  nonaka Add prep installer
 1.8.14.2 24-Jul-2007  pavel Add a comment reminding to update the release notes if the list of
kernels change.
 1.8.14.1 24-Jul-2007  pavel file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:28 +0000
 1.8.12.1 03-Apr-2008  mjf Sync with HEAD.
 1.8.10.1 24-Mar-2008  keiichi sync with head.
 1.8.4.1 23-Mar-2008  matt sync with HEAD
 1.5 19-Dec-2002  jdolecek use single minimal default disktab file for most archs, replacing
MD disktab where possible (everything but vax)
the MD disktab was often either empty, or contained entries even for disks
which support geometry autodetection (SCSI), and/or non-interesting/long
obsolete entries

the old records are still available in example disktab in
/usr/share/examples/disktab/disktab in case anyone would need them
 1.4 07-May-2002  simonb Fix some white space niggles.
 1.3 09-Apr-2002  tron Back out last change because we now have a special disktab for the
FFS regression test.
 1.2 09-Apr-2002  tron Add missing "floppy288" entry required for FFS regression test.
 1.1 29-Feb-2000  nonaka Initial import prep port.
 1.2 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.1 29-Feb-2000  nonaka Initial import prep port.
 1.2 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.1 06-Aug-2000  nonaka branches: 1.1.2;
for make snapshot
 1.1.2.2 13-Aug-2000  nonaka pull up (approved by thorpej)

- for make snapshot
 1.1.2.1 06-Aug-2000  nonaka file fstab.sd was added on branch netbsd-1-5 on 2000-08-13 15:03:29 +0000
 1.2 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.1 06-Aug-2000  nonaka branches: 1.1.2;
for make snapshot
 1.1.2.2 13-Aug-2000  nonaka pull up (approved by thorpej)

- for make snapshot
 1.1.2.1 06-Aug-2000  nonaka file fstab.wd was added on branch netbsd-1-5 on 2000-08-13 15:03:30 +0000
 1.8 13-Jun-2012  martin Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
 1.7 07-Oct-2008  abs branches: 1.7.18; 1.7.20;
Add a constty entry, marked 'off', with otherwise the same settings
as the console. Now when coming up in single user mode the tset in
/.profile can set the terminal type correctly.
Note: I believe constty should be 'on' and console 'off', but thats a
separate discussion
 1.6 20-Jun-2004  christos branches: 1.6.26;
remove ad-hok list of pty's from port tty files, and auto-generate it so
that it is consistent, and in the proper order.
 1.5 04-Oct-2003  dsl Revert 'console' back to /dev/console (from /dev/constty)
 1.4 03-Oct-2003  dsl Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.
 1.3 13-Feb-2002  martti Added ttyp[g-zA-Z] (bin/15594).
 1.2 12-Aug-2000  mason This should be the final part of moving to 64 PTYs by default. Added
entries for tty{r,s}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} to /etc/ttys.

Thanks to Matthew Green for pointing out the need.
 1.1 29-Feb-2000  nonaka branches: 1.1.4;
Initial import prep port.
 1.1.4.1 12-Aug-2000  mason This should be the last piece of the move to 64 default PTYs. /etc/ttys now
has entries for 64 ptys.

Thanks to Matthew Green for pointing out the need for this.
 1.6.26.1 17-Jan-2009  mjf Sync with HEAD.
 1.7.20.1 24-Jun-2012  riz Pull up following revision(s) (requested by martin in ticket #342):
etc/etc.shark/ttys: revision 1.8
etc/etc.hpcsh/ttys: revision 1.11
etc/etc.amiga/ttys: revision 1.24
etc/etc.arc/ttys: revision 1.8
etc/etc.alpha/ttys: revision 1.12
etc/etc.amigappc/ttys: revision 1.3
etc/etc.ofppc/ttys: revision 1.9
etc/etc.hp300/ttys: revision 1.16
etc/etc.rs6000/ttys: revision 1.2
etc/etc.i386/ttys: revision 1.20
etc/etc.acorn26/ttys: revision 1.4
etc/etc.iyonix/ttys: revision 1.4
etc/etc.netwinder/ttys: revision 1.8
etc/etc.mac68k/ttys: revision 1.20
etc/etc.evbarm/ttys: revision 1.7
etc/etc.pmax/ttys: revision 1.15
etc/etc.hpcmips/ttys: revision 1.10
share/terminfo/terminfo: revision 1.5
etc/etc.mvmeppc/ttys: revision 1.6
etc/etc.next68k/ttys: revision 1.10
etc/etc.acorn32/ttys: revision 1.9
etc/etc.ibmnws/ttys: revision 1.4
etc/etc.atari/ttys: revision 1.10
etc/etc.sgimips/ttys: revision 1.10
etc/etc.newsmips/ttys: revision 1.9
etc/etc.hpcarm/ttys: revision 1.6
etc/etc.cats/ttys: revision 1.7
etc/etc.amd64/ttys: revision 1.6
etc/etc.prep/ttys: revision 1.8
etc/etc.zaurus/ttys: revision 1.3
Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
Add a delete key capability to our wsvt25 entry. Fixes a problem noted by
David Lord on netbsd-users.
 1.7.18.1 30-Oct-2012  yamt sync with head

RSS XML Feed