Commit Graph

50 Commits

Author SHA1 Message Date
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
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
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 2646ef33cd Standardize ss* description. 2001-12-19 18:14:21 +00:00
wiz 864c94c933 Standardize scsibus* description. 2001-12-19 17:58:05 +00:00
gmcgarry 5585cbd30c Allow sd15, to remain consistent throughout. 2001-12-02 02:51:28 +00:00
simonb e60403a3f9 Remove rz/tz support for pmax, switch to MI SCSI. 2001-08-26 11:55:38 +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
augustss 40ca86f953 Make audio devices. 2000-05-02 08:17:51 +00:00
nisimura bd10f55368 Nuke an extra ;; introduced by md* fix. 2000-02-26 04:43:27 +00:00
nisimura a23763688e Make MI SCSI device ready. For now MAKEDEV all won't create them. 2000-02-22 03:57:38 +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 9438e96c3b More root.wheel -> root:wheel pedantry. 1999-10-06 22:01:56 +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
ad eebf5c0180 Add code for creating pxN. px{0-2} are created as part of std. 1999-04-26 04:46:46 +00:00
mrg 202cdd3fa1 build audio[0123] links. 1999-03-26 04:37:29 +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
jonathan 22bc029ea1 Add 'md' devices for ramdisk; make as part of 'minimal'.
Clean up 'all', and comment-in /dev/lkm.
1998-11-17 23:09:46 +00:00
jonathan 5d02b7f1b1 Support 'MAKEDEV minimal' for ramdisk scripts. Fix 'dz' alias for dc ttys. 1998-11-17 19:02:46 +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
mhitch cf000ad823 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.
1998-05-10 16:52:14 +00:00
mycroft 434bd12422 Move tun to major number 93. 1998-05-09 00:13:57 +00:00
mhitch 0ceb9d5518 Create disk and tape devices for a second SCSI adapter for 'all'. 1997-12-01 22:42:20 +00:00
mhitch ff89300263 Allow creating disk devices on a second SCSI bus (rz8 - rz14). 1997-11-28 03:11:58 +00:00
jonathan f8686e38a4 Use correct major number when creating tun? devices. 1997-11-28 01:09:52 +00:00
jonathan 3d42eeddd3 Apply patch for reserved framebuffer devices suggested in PR 4474. 1997-11-28 00:55:10 +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
jonathan 040d2c120f Make symlink /dev/mouse -> /dev/fb0 for Xserver as part of 'all'. 1997-11-13 04:59:36 +00:00
jonathan f6cf10401f 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.
1997-10-30 04:18:27 +00:00
lukem 3554ac334d * 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
1997-08-22 12:16:28 +00:00
lukem 67087092d4 remove incorrect vn* entry, as vnd* exists and vn* doesn't work anyway 1997-08-19 13:33:04 +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 4baed972cd Add ipl, ipnat, and ipstate devices at the appropriate minors of
cdev major 91.
1997-06-01 09:12:02 +00:00
thorpej 67af0bc1f0 RCS id police 1996-09-17 21:45:53 +00:00
jonathan 6cf64bc50d * Add target for all, needed for 1.2 distributions and installation.
* Add entries for fb? generic framebuffer pseudo-device.
* comment in entries for lkm.
1996-09-17 04:00:00 +00:00
thorpej 7b8694c512 Add entries for the ccd. 1995-08-17 18:02:27 +00:00
jonathan ef30d723a9 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.
1995-07-24 17:28:13 +00:00
mellon 24c10f9e51 MAKEDEV for pmax 1995-01-17 22:51:03 +00:00