Commit Graph

48 Commits

Author SHA1 Message Date
simonb
f5612134fc Remove trailing semicolons from lines that don't need them.
TABify many lines.
2002-03-13 01:26:54 +00:00
lukem
6b68804273 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...)
2002-03-04 14:02:29 +00:00
toshii
0d030b3347 Use a tab instead of 7 spaces. 2002-03-03 14:15:58 +00:00
atatat
681a706ec7 Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
2002-02-25 07:34:55 +00:00
ross
a70d2bc993 Comments here are harvested for a man page, so avoid &<>. 2002-02-14 13:42:05 +00:00
tls
59b84cdaa8 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.
2002-02-02 20:58:43 +00:00
ragge
b1ce179c55 ttyw0 is virtual consoles on vax, ttyv0 was old controlling terminal for
QVSS/QDSS. ttySx and ttyTx are DHU11 serial ports.
2002-02-02 11:23:16 +00:00
tls
1977a7b24e 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.
2002-02-02 07:04:44 +00:00
oster
e474b1951e Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices. 2002-01-19 18:59:17 +00:00
manu
98572ccabc Added clockctl 2002-01-13 14:21:26 +00:00
wiz
b83df16226 Standardize ch* and uk* descriptions. 2001-12-19 18:29:56 +00:00
wiz
864c94c933 Standardize scsibus* description. 2001-12-19 17:58:05 +00:00
lukem
54ef4cb4dc remove the special case for ttyv0 (which was actually ttyqf renamed), per
discussion with matt thomas. (now the vax has 16 more ptys to use!  :)
2001-05-10 01:31:40 +00:00
ragge
68c0ea9798 Add /dev/leds. 2001-02-18 10:50:45 +00:00
matt
85567a9983 Make cd0c instead cd0d? 2000-11-07 23:17:41 +00:00
tsutsui
90ac46632d Make md(4) device files on "all" target. 2000-10-29 13:03:37 +00:00
matt
01c441e0c2 Fix device creation for SCSI tapes. 2000-08-11 19:19:03 +00:00
mason
db8e04e0f8 Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
2000-07-27 18:43:14 +00:00
tsutsui
cac7cebd3e - rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
- now raw partitions are used for memory disk ioctls
2000-01-21 12:28:22 +00:00
tsutsui
e2c4e62e16 Correct md* entries. 1999-12-18 03:09:44 +00:00
ad
652f0f8841 Back out previous 1999-10-18 22:41:23 +00:00
ad
993ac32fff Final chown user.group -> chown user:group changes. 1999-10-06 22:26:14 +00:00
hubertf
018c7b4f42 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.
1999-09-18 00:23:35 +00:00
abs
87d31b1197 Move 'random*' before 'ra*'. Now 'MAKEDEV all' works. 1999-06-27 20:06:48 +00:00
abs
4ab98c0660 Move 'raid*' before 'ra*' in case statement to avoid false match of ra*
against 'raid{0,1,2}'.
1999-06-27 20:01:49 +00:00
abs
a6e0ab6a8c On platforms that have GENERIC kernels containing 'bpfilter 8' or greater,
create at least eight bpf dev entries. (All except atari).
1999-01-16 01:40:27 +00:00
ragge
2a5432c589 Use shell arithmetic instead of awk. (avoid awk in miniroot). 1998-12-08 21:43:06 +00:00
oster
a8e48ccd6e Fix RAIDframe typo. (Reported by msaitoh@netbsd.org) 1998-11-21 23:41:13 +00:00
oster
8bfd722a35 Added RAID devices for everyone! 1998-11-13 04:49:01 +00:00
thorpej
7490553d67 Add /dev/scsibus* device nodes. 1998-10-15 21:22:51 +00:00
ragge
998459d30b Add generic serial ports as 'std'. 1998-08-31 18:52:10 +00:00
ragge
d491ae4df6 /dev entries + getty stubs for virtual console. 1998-06-05 22:31:43 +00:00
ragge
9727ea1870 Add entries for generic console (gc*) and QDSS screen (qc* qnd qd*). 1998-03-20 18:23:57 +00:00
ragge
72087874f4 Split out MSCP floppies as a separate device (rx) instead of handling
them as disk drives.
1998-02-08 14:15:18 +00:00
tv
60ac257eb3 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).
1997-11-26 03:09:23 +00:00
fair
ffa1ced6be add appropriate entry to make "random" as documented in rnd(4).
add "random" entry to "all".
1997-11-20 05:57:38 +00:00
lukem
ed0a7677a8 * unlink devices before attempting to mknod them
* remove superfluous umasks
* replace `eval ...` with $((...)) or ${i#...}
* use $0 instead of MAKEDEV
* warn on unknown devices
* add enss* to ss*
* ensure tapes are root.operator 660
1997-08-22 15:30:49 +00:00
perry
07a71fdfd0 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.
1997-07-31 04:08:15 +00:00
phil
ffde90f14b 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.
1997-07-23 01:29:36 +00:00
phil
840d172649 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.
1997-07-22 23:13:05 +00:00
veego
a902cc2ba7 Added a new device entry for ipfilter: /dev/ipauth 1997-07-07 22:26:51 +00:00
thorpej
7f29bb4668 Add ipnat and ipstate at the appropriate minor numbers off the ipfilter
device.
1997-05-31 23:52:55 +00:00
ragge
4ffaf6dd1c Add device nodes for DL11. 1997-02-04 19:24:36 +00:00
ragge
3896082c5a Add rd, sd, cd, md, st, ss, uk, ch and ipl device entries. 1997-01-05 18:49:12 +00:00
ragge
667d9ae775 Put in mt additions. Remove tms. 1996-07-14 13:58:38 +00:00
ragge
56a1fca0f0 Added 'all' option to create a reasonable amount of standard devices.
Tape devices now called after their kernel names, (ie. ts0, ht0) and
not mt? for all of them. mt? names are kept as symbolic links anyway
so that it don't break anything.
1996-01-07 16:53:15 +00:00
ragge
b196060eb7 pcs750.bin -> pcs750.bin.uu 1995-09-05 19:53:01 +00:00
ragge
1cf91eafdf etc files specific for vax added. 1995-08-25 21:25:09 +00:00