Commit Graph

52 Commits

Author SHA1 Message Date
uwe 0bef15d29d Build GENERIC kernel as part of make release. 2006-04-22 02:19:47 +00:00
christos 0553899e97 remove ad-hok list of pty's from port tty files, and auto-generate it so
that it is consistent, and in the proper order.
2004-06-20 21:30:26 +00:00
jdolecek 1b00681156 switch over to unified MAKEDEV 2003-10-24 20:12:04 +00:00
jdolecek 930959c6c0 fix floppy & ramdisk targets 2003-10-24 11:05:23 +00:00
jdolecek 1eeb241e42 sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
2003-10-24 08:20:26 +00:00
jdolecek 7a46124ea4 determine the platform number of disk partitions by looking
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-19 19:07:26 +00:00
jdolecek 7126da0813 MD part of unified MAKEDEV
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-15 19:13:32 +00:00
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 5c2824bce4 Revert 'console' back to /dev/console (from /dev/constty) 2003-10-04 07:41:11 +00:00
dsl e5217087d8 Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.
2003-10-03 14:54:20 +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 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
perry 2f1f870fa8 make ipl consistently "IP Filter" 2003-03-31 03:58:55 +00:00
wiz 8dab8f4d58 Miscellaneous fixes from Igor Sobrado, in PRs 20943-20959. 2003-03-30 17:41:51 +00:00
jdolecek 67705b22ff use single minimal default disktab file for most archs, replacing
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-19 20:03:46 +00:00
jdolecek e51f1ff7d3 don't bother creating /dev/io on archs which don't support it 2002-10-23 22:56:29 +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
tsutsui b58660379a Fix cd and md entries since RAW_PART is 2 on sh3 ports. 2002-07-18 15:07:48 +00:00
wiz 4549742eba Add note about how to make MAKEDEV(8). 2002-06-18 13:54:40 +00:00
itojun 19a306b9bd no apm device on mmeye 2002-06-18 05:01:09 +00:00
christos 4bef4356c3 Add device creation support for systrace. 2002-06-17 16:21:03 +00:00
uch d2b36af297 type miss of i partition: 9->8 2002-05-25 16:31:09 +00:00
uch c46d7a2d08 increase partition to 16. 2002-05-22 15:02:22 +00:00
jdolecek 074863cac2 Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
2002-05-04 19:43:57 +00:00
tron ddec80a3a4 Back out last change because we now have a special disktab for the
FFS regression test.
2002-04-09 14:11:22 +00:00
tron 78e9ad7e9c Add missing "floppy288" entry required for FFS regression test. 2002-04-09 12:40:33 +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
kleink 80f8e27ae5 Bring pseudo terminal devices' major numbers in sync with reality again. 2002-02-26 21:13:32 +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 5fc8a3a2c4 Remove empty sections (confuse MAKEDEV2manpage) 2001-06-08 14:43:20 +00:00
lukem 7fd298e837 remove all reference to ttyv* to pccons, since the kernels for these ports
don't implement a character device at the referenced major number (12).
2001-05-10 01:29:57 +00:00
lukem 702f01cdba remove references to pcvt 2001-05-10 01:04:39 +00:00
tsutsui 03076560df Fix memory disk entries (md?c -> md?d)
since RAW_PART == 3 on these ports.
2000-09-27 10:33:27 +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
msaitoh 96b85dc028 set major number of /dev/console to 0 (not 8 (com)) 2000-03-27 19:35:25 +00:00