Commit Graph

46 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
martti 8f0fa118e2 Added ttyp[g-zA-Z] (bin/15594). 2002-02-13 09:46:01 +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 864c94c933 Standardize scsibus* description. 2001-12-19 17:58:05 +00:00
thorpej 44f4566e1a 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.
#
2001-11-29 22:45:53 +00:00
scw b1ae8f82e8 Do `make release' for the miniroot too. 2000-11-24 22:07:32 +00:00
scw 7baa1bd799 Mention mvme172/mvme177 and correct an error on the ttyZ1 line. 2000-11-24 19:51:39 +00:00
scw 53de2db906 Automate the MD `make release|snapshot' procedure.
[I should have done this ages ago.]
2000-11-24 19:49:40 +00:00
scw 647020e055 Increase the size of `rdroot' to 1024 blocks. 2000-11-24 19:39:48 +00:00
mason ee4a3af175 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.
2000-08-12 13:43:40 +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 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
scw f4db3c5d7a Add target for raid devices. 1999-02-27 17:57:31 +00:00
scw c326e60e4c Fix the ttyC*and ttyZ* entries to correctly parse the unit number. 1999-02-21 18:09:24 +00:00
scw 2a3b5c65d2 It's about time we had an /etc/fstab example with SCSI disks. 1999-02-20 00:22:43 +00:00
scw b50caeda28 Update MAKEDEV to create cd2401 tty devices. Add getty entries in
"/etc/ttys" for same.
1999-02-20 00:21:28 +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
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
perry 31a32e5502 RCS Id Police. 1998-01-09 06:09:38 +00:00
scw d38afea725 Need 768 blocks for ramdisk root entry: rdroot. 1997-12-17 21:18:23 +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
scw 291b9b23f8 Add 'tty*' target for onboard serial ports. Include in list for 'all'.
(I'm surprised this wasn't spotted earlier...)
1997-11-07 21:29:21 +00:00
lukem cdfa15cb5b * st* has perms 660 not 640
* add enss* to ss*
* invoke MAKEDEV.local as $0.local, and reset the umask afterwards
1997-08-22 11:30:57 +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 830bea2938 Add ipl, ipnat, and ipstate devices at the appropriate minors of
cdev major 7.
1997-06-01 09:23:57 +00:00
pk 4bb3612c55 Device rename: `rd' => `md' 1997-01-01 23:46:17 +00:00
chuck 6fda3d6fa9 add lp 1996-11-09 04:01:32 +00:00
chuck 6f26fca547 updated MAKEDEV based on i386 version (as requested by mycroft) 1996-11-08 22:32:11 +00:00
chuck 4be4e41eb4 import rd stuff from sun3 1996-05-20 01:40:42 +00:00
chuck 86f6358f46 add ramdisk, clean 1996-05-20 01:35:48 +00:00
chuck bc56857b49 help "make distribution" along 1996-04-12 22:51:00 +00:00