Home | History | Annotate | only in /src/etc/etc.pmax
History log of /src/etc/etc.pmax
RevisionDateAuthorComments
 1.65 24-Oct-2003  jdolecek switch over to unified MAKEDEV
 1.64 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major range
 1.63 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.62 05-Sep-2003  dsl Put back port specific majors for ptys
 1.61 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.60 22-Aug-2003  itojun create /dev/crypto
 1.59 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.58 27-Apr-2003  ragge Add ksyms to "std" devices.
 1.57 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.56 21-Oct-2002  lukem whitespace consistency cleanup
 1.55 04-Oct-2002  elric Include cgd on the list of things to be mknod(8)ed on all arches.
 1.54 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.53 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.52 17-Jun-2002  christos Add device creation support for systrace.
 1.51 13-Mar-2002  simonb branches: 1.51.2;
Remove trailing semicolons from lines that don't need them.
TABify many lines.
 1.50 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.49 03-Mar-2002  toshii Use a tab instead of 7 spaces.
 1.48 25-Feb-2002  atatat Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
 1.47 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.46 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.45 19-Jan-2002  oster Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices.
 1.44 13-Jan-2002  manu Added clockctl
 1.43 19-Dec-2001  wiz Standardize ch* and uk* descriptions.
 1.42 19-Dec-2001  wiz Standardize ss* description.
 1.41 19-Dec-2001  wiz Standardize scsibus* description.
 1.40 02-Dec-2001  gmcgarry Allow sd15, to remain consistent throughout.
 1.39 26-Aug-2001  simonb Remove rz/tz support for pmax, switch to MI SCSI.
 1.38 27-Jul-2000  mason Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
 1.37 02-May-2000  augustss branches: 1.37.4;
Make audio devices.
 1.36 26-Feb-2000  nisimura Nuke an extra ;; introduced by md* fix.
 1.35 22-Feb-2000  nisimura Make MI SCSI device ready. For now MAKEDEV all won't create them.
 1.34 21-Jan-2000  tsutsui - rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
- now raw partitions are used for memory disk ioctls
 1.33 18-Dec-1999  tsutsui Correct md* entries.
 1.32 18-Oct-1999  ad Back out previous
 1.31 06-Oct-1999  ad More root.wheel -> root:wheel pedantry.
 1.30 18-Sep-1999  hubertf branches: 1.30.2;
Tidy up comments a bit, to make the manpages generated from the a bit
nicer. Also, add a comment on how to re-generate the manpages if the
MAKEDEV file was changed.
 1.29 26-Apr-1999  ad Add code for creating pxN. px{0-2} are created as part of std.
 1.28 26-Mar-1999  mrg build audio[0123] links.
 1.27 16-Jan-1999  abs On platforms that have GENERIC kernels containing 'bpfilter 8' or greater,
create at least eight bpf dev entries. (All except atari).
 1.26 17-Nov-1998  jonathan Add 'md' devices for ramdisk; make as part of 'minimal'.
Clean up 'all', and comment-in /dev/lkm.
 1.25 17-Nov-1998  jonathan Support 'MAKEDEV minimal' for ramdisk scripts. Fix 'dz' alias for dc ttys.
 1.24 13-Nov-1998  oster Added RAID devices for everyone!
 1.23 15-Oct-1998  thorpej Add /dev/scsibus* device nodes.
 1.22 10-May-1998  mhitch SCSI drives at target 5 and 6 (and 7 for the DS3100) are now included
in the standard configuration, so build the rz* devices for them.
 1.21 09-May-1998  mycroft Move tun to major number 93.
 1.20 01-Dec-1997  mhitch Create disk and tape devices for a second SCSI adapter for 'all'.
 1.19 28-Nov-1997  mhitch Allow creating disk devices on a second SCSI bus (rz8 - rz14).
 1.18 28-Nov-1997  jonathan Use correct major number when creating tun? devices.
 1.17 28-Nov-1997  jonathan Apply patch for reserved framebuffer devices suggested in PR 4474.
 1.16 26-Nov-1997  tv Fixes PR #3858: /dev/fd uniformly updated in MAKEDEV to make directory
(and file nodes) owned by root.wheel, and /dev/fd directory mode 755. Now
it matches mtree (and the rest of the system's permissions/owner layout).
 1.15 20-Nov-1997  fair add appropriate entry to make "random" as documented in rnd(4).
add "random" entry to "all".
 1.14 13-Nov-1997  jonathan Make symlink /dev/mouse -> /dev/fb0 for Xserver as part of 'all'.
 1.13 30-Oct-1997  jonathan Changes to pmax MAKEDEV and /dev/ttys:

* Remove old MAKEDEV code for scc and dc that tried to map tty0 and
tty01 to whichever major/minor were the two comm ports.
* Use /dev/tty[abcd] for the scc driver, in linearly increasing
minor-number order. (cf. NetBSD/sparc),
* Use /dev/ttyD[0123] for the dc705 (DZ11 clone) driver, in linearly
increasing minor-number order. (cf. NetBSD/vax).
* Add the above entires to the pmax /etc/ttys.

While we're here, fix wrong major for tun, and comment out unsupported devices.
Addresses PRs pmax/4007, pmax/4330, pmax/4367.
 1.12 22-Aug-1997  lukem branches: 1.12.2;
* use $0 instead of MAKEDEV
* remove devices before mknod-ing them
* use ${i#...} and $((...)) instead of `eval ...`
* tz* has perms 660 root.operator (instead of 666 root.wheel)
* consolidate a few devices into one case, with internal switching
for the slight difference (usually unit name and major number)
* reset the umask after MAKEDEV.local
* don't treat ttyv* specially - it's an i386-ism
 1.11 19-Aug-1997  lukem remove incorrect vn* entry, as vnd* exists and vn* doesn't work anyway
 1.10 31-Jul-1997  perry Make MAKEDEV and MAKEDEV.local mutually consistant. Reported in
pr #2596 by Tatoku Ogaito, but my fix is different from his.
This is purely an aesthetic change.
 1.9 23-Jul-1997  phil Make all tty??/pty?? pairs that can be opened by openpty().
Remove use of awk for generating names.
Make all consistent as possible.
Closes PR 3420.
 1.8 22-Jul-1997  phil Make all MAKEDEVs make fd/* similar. No need for awk or expr.
Inspired by PR 3420. Some MAKEDEVS had the fd separated out
of std and fd added to std.
 1.7 07-Jul-1997  veego Added a new device entry for ipfilter: /dev/ipauth
 1.6 01-Jun-1997  thorpej Add ipl, ipnat, and ipstate devices at the appropriate minors of
cdev major 91.
 1.5 17-Sep-1996  thorpej RCS id police
 1.4 17-Sep-1996  jonathan * Add target for all, needed for 1.2 distributions and installation.
* Add entries for fb? generic framebuffer pseudo-device.
* comment in entries for lkm.
 1.3 17-Aug-1995  thorpej branches: 1.3.6;
Add entries for the ccd.
 1.2 24-Jul-1995  jonathan Add entries for bpf; added commented-out entries for lkm, tun. The awk
code for disks `knows' that disk device names are two chars,
which broke MAKEDEV vnd<N>; hacked so that vn*<n> works.
 1.1 17-Jan-1995  mellon MAKEDEV for pmax
 1.3.6.1 17-Sep-1996  thorpej Update from trunk, by request from Jonathan Stone.
 1.12.2.7 27-Sep-1998  cgd pull up rev 1.22 from trunk (mhitch).
 1.12.2.6 09-May-1998  mycroft Pull up 1.21, per request of jonathan.
 1.12.2.5 15-Dec-1997  mellon Pull rev 1.20 up from trunk (mhitch)
 1.12.2.4 28-Nov-1997  mellon Pull rev 1.16 through 1.19 up from trunk (jonathan)
 1.12.2.3 20-Nov-1997  mellon Pull rev 1.15 up from trunk (fair)
 1.12.2.2 13-Nov-1997  mellon Pull rev 1.14 up from trunk (jonathan)
 1.12.2.1 03-Nov-1997  mellon Pull rev 1.13 up from trunk (jonathan)
 1.30.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.37.4.2 11-Aug-2000  mason Move to default of 16 PTYs in "floppy" and "minimal" targets.
Requested by mason, approved by jhawk.
 1.37.4.1 11-Aug-2000  mason Create 64 PTYs in "all" target by default.
Requested by mason, approved by jhawk.
 1.51.2.1 10-Aug-2002  lukem Pull up revision 1.54 (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.10 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.9 21-Oct-2016  flxd Bless pmax with USB device files/majors and make kernel configs with USB and typical drivers work.
OK christos@ simonb@
 1.8 06-Sep-2011  apb branches: 1.8.26;
Change foo*) case patterns to foo[0-9]*) in MD MAKEDEV.conf files,
as was done earlier today for the MI MAKEDEV.tmpl. There are
also a few instances of slightly different changes in the
case patterns.
 1.7 06-Sep-2006  ad Remove 'makedev mouse'.
 1.6 29-Jul-2006  ad branches: 1.6.2;
Remove RASTERCONSOLE support from the pmax port.
 1.5 22-Dec-2003  lukem Add warn() to display message to stderr prefixed by the script name,
and use appropriately.
 1.4 21-Dec-2003  lukem 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"
 1.3 13-Dec-2003  ad Make wscons device nodes, and build the WSCONS kernel.
 1.2 19-Oct-2003  jdolecek 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.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.6.2.1 08-Sep-2006  rpaulo Pull up following revision(s) (requested by ad in ticket #126):
etc/etc.pmax/MAKEDEV.conf: revision 1.7
Remove 'makedev mouse'.
 1.8.26.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.8.26.1 04-Nov-2016  pgoyette Sync with HEAD
 1.18 04-Nov-2016  flxd Add new USB-enabled kernel config(s) based upon GENERIC for pmax, include it as kernel set in the build and make it a choice in sysinst.
OK simonb@
 1.17 14-Dec-2009  matt branches: 1.17.30;
Merge from matt-nb5-mips64
 1.16 24-Jul-2007  pavel branches: 1.16.18; 1.16.26;
Add a comment reminding to update the release notes if the list of
kernels change.
 1.15 29-Jul-2006  ad Remove RASTERCONSOLE support from the pmax port.
 1.14 15-Dec-2004  jmc Make sure miniroot subdir gets created
 1.13 13-Dec-2003  ad branches: 1.13.4;
Make wscons device nodes, and build the WSCONS kernel.
 1.12 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.11 12-Jul-2002  thorpej Make release building work again.
 1.10 02-May-2002  lukem branches: 1.10.2;
- consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
for a given platform
 1.9 09-Feb-2002  lukem do not bother setting owner or group when ${INSTALL}ing releases
 1.8 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.7 10-Sep-2000  matt We actually do know about KERNOBJDIR so use it.
 1.6 19-Apr-2000  simonb branches: 1.6.4;
Don't need ()'s around "cd ... && ${MAKE} ...".
 1.5 27-Apr-1999  simonb Greatly simplify by doing the moral equivalent of
cd ../distrib/pmax && make install
 1.4 27-Apr-1999  simonb + Build (but don't install) INSTALL and RAMDISK kernels.

+ Make installation/diskimage installation/netboot in ${RELEASEDIR}

+ snap_md_post depends on the diskimage, the diskimage tar file and
the install kernel, and installs these into the right places in
${RELEASEDIR}.
 1.3 05-Feb-1999  cjs branches: 1.3.2;
Update all this crap so that `make snapshot' makes snapshots in release(7)
format, rather than in some unknown format. Also clean up the code a bit,
remove some code duplication, and add documentation to the Makefile.
 1.2 17-Dec-1997  perry ld.so.conf is now supplied on all ports -- remove from here
 1.1 11-Nov-1997  jonathan branches: 1.1.2;
Allow etc.{$MACHINE_ARCH}/Makefile.inc to add files to BIN1, BIN2, BIN3.
 1.1.2.3 20-Jul-1998  mellon Pull up 1.2 (fvdl)
 1.1.2.2 22-Dec-1997  perry fix a minor nit on the branch (jonathan)
 1.1.2.1 11-Nov-1997  perry file Makefile.inc was added on branch netbsd-1-3 on 1997-12-22 22:35:29 +0000
 1.3.2.1 20-Oct-1999  he Pull up revisions 1.4-1.5 (requested by simonb):
Bring pmax release building machinery up-to-date.
 1.6.4.1 30-Sep-2001  he Pull up revision 1.7 (requested by simonb):
Use ${KERNOBJDIR} to locate kernel build directory.
 1.10.2.1 20-Jul-2002  lukem Pull up revision 1.11 (requested by thorpej in ticket #485):
Make release building work again.
 1.13.4.1 06-Apr-2005  he Pull up revision 1.14 (requested by jmc in ticket #1046):
Make sure the installation/miniroot subdir gets created.
 1.16.26.1 09-Sep-2009  matt Add support for pmax64 kernels.
 1.16.18.2 24-Jul-2007  pavel Add a comment reminding to update the release notes if the list of
kernels change.
 1.16.18.1 24-Jul-2007  pavel file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:28 +0000
 1.17.30.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.13 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.12 07-May-2002  simonb Fix some white space niggles.
 1.11 07-May-2002  jdolecek fix typos
 1.10 09-Apr-2002  tron Back out last change because we now have a special disktab for the
FFS regression test.
 1.9 09-Apr-2002  tron Add missing "floppy288" entry required for FFS regression test.
 1.8 05-Jan-2000  simonb Remove "miniroot" and "install-ramdisk" entries altogether - we'll
reference local disktab files in distrib/pmax.
 1.7 05-Jan-2000  simonb Make "miniroot" 2MB and add a 3MB "install-ramdisk" entry. Add comments
to both of these referring to which Makefile in src/distrib/pmax they are
used in.
 1.6 17-Nov-1998  jonathan Add pmax disktab entry for 'miniroot' (currently a full root image).
 1.5 08-Nov-1997  jonathan Increase 'a' partitions from 16 to 32 mbytes, by stealing 16 Mbytes
from swap. Sanity-check. With help from entropy@zippy.bernstein.com
 1.4 28-Nov-1996  jonathan branches: 1.4.2;
Fix missing continuation char for added su# line.
 1.3 28-Nov-1996  jonathan * Add copy of Alpha RZ25 disktab entry, modified to pmax-size partitions.
* Add :su#: entry for the RZ58, which uses ZBR and is larger than
multiplying out ns, nt, nc would suggest.
* Add some entries for locally-popular third-party disks, again
adding :su#: entries, as examples..
 1.2 17-Sep-1996  thorpej RCS id police
 1.1 17-Jan-1995  mellon disktab for pmax
 1.4.2.2 01-Dec-1998  cgd pull up rev 1.6 from trunk (simonb)
 1.4.2.1 09-Nov-1997  mellon Pull rev 1.5 up from trunk (jonathan)
 1.4 26-Aug-2001  simonb Remove rz/tz support for pmax, switch to MI SCSI.
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 22-Aug-1995  jtc ufs -> ffs; PR #1381
 1.1 17-Jan-1995  mellon fstab for pmax rz drives
 1.2 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.1 26-Aug-2001  simonb Remove rz/tz support for pmax, switch to MI SCSI.
 1.2 17-Dec-1997  perry ld.so.conf is now supplied on all ports -- remove from here
 1.1 03-Nov-1997  jonathan branches: 1.1.2;
Add a skeleton ld.so.conf which puts /usr/X11R6/lib on the default ld path.
 1.1.2.2 20-Jul-1998  mellon Obsolete
 1.1.2.1 03-Nov-1997  mellon file ld.so.conf was added on branch netbsd-1-3 on 1998-07-20 15:25:26 +0000
 1.16 25-Sep-2019  abs Switch default console tty from /dev/console to /dev/constty

With this switch processes (such as xconsole) can open /dev/console
without breaking login on the text or serial console. This can be
trivially triggered by enabling xdm in rc.conf and hitting
Ctrl+Alt+F1 or equivalent once booted.

The changes:
- Add entry for /dev/console or /dev/constty if missing
- If a port's had /dev/console 'on' switch it off and enable /dev/constty
- If a port did not have /dev/console 'on', leave /dev/constty off

Some ports had /dev/console off and /dev/ttyE0 enabled, presumably to
avoid just this issue. It may make sense to adjust these also (but not
in this pass)

As discussed on current-users
 1.15 13-Jun-2012  martin branches: 1.15.34; 1.15.36;
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.14 07-Oct-2008  abs branches: 1.14.18; 1.14.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.13 29-Jul-2006  ad branches: 1.13.20;
Remove RASTERCONSOLE support from the pmax port.
 1.12 20-Jun-2004  christos 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.11 30-Oct-2003  drochner getttyent(3) was changed to complain about unknown words at the end of
tty definitions. Use '#' to separate comments.
 1.10 04-Oct-2003  dsl Revert 'console' back to /dev/console (from /dev/constty)
 1.9 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.8 06-Jan-2003  wiz compatibility, not compatiblity.
 1.7 13-Feb-2002  martti Added ttyp[g-zA-Z] (bin/15594).
 1.6 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.5 06-Oct-1999  ad branches: 1.5.6;
Default terminal type of /dev/console is 'rcons'.
 1.4 16-Nov-1998  jonathan branches: 1.4.2; 1.4.4;
Comment out lines corresponding to LK-201 keyboard and DEC serial mouse.
Fixes PR port-pmax/5389.

ttyflags -a clobbers them even if they are set to `off', overriding
the 4800-bit and parity modes needed by the DEC serial kbd/mice.
 1.3 30-Oct-1997  jonathan Changes to pmax MAKEDEV and /dev/ttys:

* Remove old MAKEDEV code for scc and dc that tried to map tty0 and
tty01 to whichever major/minor were the two comm ports.
* Use /dev/tty[abcd] for the scc driver, in linearly increasing
minor-number order. (cf. NetBSD/sparc),
* Use /dev/ttyD[0123] for the dc705 (DZ11 clone) driver, in linearly
increasing minor-number order. (cf. NetBSD/vax).
* Add the above entires to the pmax /etc/ttys.

While we're here, fix wrong major for tun, and comment out unsupported devices.
Addresses PRs pmax/4007, pmax/4330, pmax/4367.
 1.2 17-Sep-1996  thorpej branches: 1.2.2;
RCS id police
 1.1 17-Jan-1995  mellon default /etc/ttys for pmax
 1.2.2.2 23-Nov-1998  cgd pull up rev 1.4 from trunk (jonathan)
 1.2.2.1 03-Nov-1997  mellon Pull rev 1.3 up from trunk (jonathan)
 1.4.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.2.1 08-Jan-2000  he Pull up revision 1.5 (requested by ad):
Set the terminal type of /dev/console to 'rcons'.
 1.5.6.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.13.20.1 17-Jan-2009  mjf Sync with HEAD.
 1.14.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.14.18.1 30-Oct-2012  yamt sync with head
 1.15.36.1 28-Oct-2019  martin Pull up following revision(s) (requested by abs in ticket #384):

etc/etc.evbmips/ttys: revision 1.7
etc/etc.sparc64/ttys: revision 1.12
etc/etc.shark/ttys: revision 1.9
etc/etc.amiga/ttys: revision 1.25
etc/etc.arc/ttys: revision 1.9
etc/etc.sbmips/ttys: revision 1.6
etc/etc.landisk/ttys: revision 1.4
etc/etc.alpha/ttys: revision 1.13
etc/etc.amigappc/ttys: revision 1.4
etc/etc.mmeye/ttys: revision 1.8
etc/etc.ia64/ttys: revision 1.2
etc/etc.sandpoint/ttys: revision 1.8
etc/etc.hp300/ttys: revision 1.17
etc/etc.riscv/ttys: revision 1.2
etc/etc.i386/ttys: revision 1.21
etc/etc.aarch64/ttys: revision 1.2
etc/etc.algor/ttys: revision 1.6
etc/etc.sparc/ttys: revision 1.17
etc/etc.mipsco/ttys: revision 1.7
etc/etc.luna68k/ttys: revision 1.9
etc/etc.iyonix/ttys: revision 1.5
etc/etc.evbcf/ttys: revision 1.3
etc/etc.netwinder/ttys: revision 1.9
etc/etc.mvme68k/ttys: revision 1.10
etc/etc.evbarm/ttys: revision 1.8
etc/etc.evbsh3/ttys: revision 1.7
etc/etc.pmax/ttys: revision 1.16
etc/etc.hpcmips/ttys: revision 1.12
etc/etc.vax/ttys: revision 1.10
etc/etc.news68k/ttys: revision 1.10
etc/etc.mvmeppc/ttys: revision 1.7
etc/etc.hppa/ttys: revision 1.2
etc/etc.next68k/ttys: revision 1.11
etc/etc.ews4800mips/ttys: revision 1.3
etc/etc.epoc32/ttys: revision 1.2
etc/etc.emips/ttys: revision 1.2
etc/etc.evbppc/ttys: revision 1.7
etc/etc.sgimips/ttys: revision 1.11
etc/etc.or1k/ttys: revision 1.2
etc/etc.cesfic/ttys: revision 1.6
etc/etc.amd64/ttys: revision 1.7
etc/etc.playstation2/ttys: revision 1.7
etc/etc.zaurus/ttys: revision 1.4
etc/etc.newsmips/ttys: revision 1.10

Switch default console tty from /dev/console to /dev/constty

With this switch processes (such as xconsole) can open /dev/console
without breaking login on the text or serial console. This can be
trivially triggered by enabling xdm in rc.conf and hitting
Ctrl+Alt+F1 or equivalent once booted.

The changes:
- Add entry for /dev/console or /dev/constty if missing
- If a port's had /dev/console 'on' switch it off and enable /dev/constty
- If a port did not have /dev/console 'on', leave /dev/constty off

Some ports had /dev/console off and /dev/ttyE0 enabled, presumably to
avoid just this issue. It may make sense to adjust these also (but not
in this pass)

As discussed on current-users
 1.15.34.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed