summaryrefslogtreecommitdiff
path: root/etc/etc.arc
AgeCommit message (Collapse)Author
2019-09-25Switch default console tty from /dev/console to /dev/consttyabs
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
2018-09-23Remove ISDN from the kernel. It has remained unmaintained for a long time,maxv
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.
2012-06-13Per discussion on tech-userlevel, finally fix PR 10127:martin
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.
2008-10-07Add a constty entry, marked 'off', with otherwise the same settingsabs
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
2007-07-24Add a comment reminding to update the release notes if the list ofpavel
kernels change.
2007-01-15Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) tohubertf
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@
2006-12-03Rename pccons(4) device node from ttyC0 to MI ttyv0tsutsui
to avoid conflict with com(4).
2005-05-23Ecoff kernels are no longer needed.tsutsui
2004-06-20remove ad-hok list of pty's from port tty files, and auto-generate it sochristos
that it is consistent, and in the proper order.
2003-12-21Rework MAKEDEV:lukem
* 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-10-24switch over to unified MAKEDEVjdolecek
2003-10-19determine the platform number of disk partitions by lookingjdolecek
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
2003-10-19no need to duplicate creation of wskbd/wsmouse - target 'wscons'jdolecek
creates these
2003-10-15MD part of unified MAKEDEVjdolecek
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
2003-10-10reassing majors for crypto and pf to use the newly defined MI major rangejdolecek
2003-10-04Revert 'console' back to /dev/console (from /dev/constty)dsl
2003-10-03Change 'console' login to use /dev/constty so that its output isn'tdsl
stolen by code that requests system messages using TIOCCONS.
2003-10-03Add a /dev/constty == /dev/console but with minor 1.dsl
Use for tty sessions on 'console' so that output doesn't pinched by anyone using TIOCCONS to get kernel and system messages.
2003-09-19add isdn telephony dialout devicespooka
2003-09-05Put back port specific majors for ptysdsl
2003-09-01add back st* creation, which was accidentally removed in rev 1.32. (hi dsl@ !)lukem
this should fix arc autobuild
2003-08-30Change the way pseudo tty devices are generated in order to avoiddsl
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)
2003-08-22create /dev/cryptoitojun
2003-07-27reserve cdev major # for PF. ok'ed by technical-execitojun
2003-04-27Add ksyms to "std" devices.ragge
2003-04-17Add an 'init' target, that creates the device nodes in the case wherefvdl
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.
2003-03-31make ipl consistently "IP Filter"perry
2003-03-30Sync vnd descriptions to one wording.wiz
2002-12-19use single minimal default disktab file for most archs, replacingjdolecek
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
2002-12-02consistency tweakslukem
2002-12-02- add snap_post, which makes "clean depend all release" in ../distrib/lukem
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
2002-10-21whitespace consistency cleanuplukem
2002-10-04Include cgd on the list of things to be mknod(8)ed on all arches.elric
2002-08-09- in local), only run $0.local if it is an existing filelukem
(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)
2002-06-18Update comment on how to regenerate MAKEDEV(8) after changing thewiz
MAKEDEV script. Not that anybody acts on it, but it's nicer if it's correct.
2002-06-17Add device creation support for systrace.christos
2002-05-04Move the sample fstab files to /usr/share/examples/fstab/. Duplicatesjdolecek
or very similar configs removed.
2002-04-15Set KERNEL_SUFFIXES=ecofftsutsui
2002-04-14Build distrib sets for release.tsutsui
2002-04-09Back out last change because we now have a special disktab for thetron
FFS regression test.
2002-04-09Add missing "floppy288" entry required for FFS regression test.tron
2002-03-16Rename ISDN devices, per discussion on tech-kern. The network devicesmartin
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).
2002-03-13Remove trailing semicolons from lines that don't need them.simonb
TABify many lines.
2002-03-04various cleanups inspired by etc.i386/MAKEDEV:lukem
* 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...)
2002-03-03Use a tab instead of 7 spaces.toshii
2002-02-25Change a 62 to a 16, so that the proper number of slots is skipped.atatat
Fixes PR 15650.
2002-02-13Added ttyp[g-zA-Z] (bin/15594).martti
2002-02-02Fix minor mistake made while increasing number of pty devices: where we hadtls
"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.
2002-02-02Add support for many more (930 or 992) ptys than the current 256.tls
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.
2002-01-21Move 'wscons' to directly after 'std'. Various MAKEDEVs had it pretty muchabs
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.