Commit Graph

64 Commits

Author SHA1 Message Date
jdolecek
2d42eb283b reassing majors for crypto and pf to use the newly defined MI major range 2003-10-10 22:47:10 +00:00
dsl
fca3294820 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.
2003-10-03 14:35:36 +00:00
dsl
35bb292640 Put back port specific majors for ptys 2003-09-05 17:02:52 +00:00
dsl
818622e67a 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)
2003-08-30 11:00:20 +00:00
itojun
4440262659 create /dev/crypto 2003-08-22 05:06:22 +00:00
itojun
3f14c71f75 reserve cdev major # for PF. ok'ed by technical-exec 2003-07-27 14:17:57 +00:00
ragge
ce0bf5c28d Add ksyms to "std" devices. 2003-04-27 13:15:28 +00:00
fvdl
750b5b8327 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.
2003-04-17 18:03:10 +00:00
lukem
bc22c3f4d9 whitespace consistency cleanup 2002-10-21 04:14:47 +00:00
elric
f31269d0d9 Include cgd on the list of things to be mknod(8)ed on all arches. 2002-10-04 18:53:22 +00:00
lukem
fa4442cae4 - 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)
2002-08-09 02:39:15 +00:00
wiz
b097765198 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.
2002-06-18 13:40:14 +00:00
christos
4bef4356c3 Add device creation support for systrace. 2002-06-17 16:21:03 +00:00
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
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