Commit Graph

214 Commits

Author SHA1 Message Date
rgrimes
c6563af053 Reviewed by: sos
Submitted by:	bde

rc.i386 failed messily when I used a serial console.

Editors note:
Use file redirection so that all the kbdcontrol and vidcontrol
commands act upon /dev/ttyv0 instead of stdin.  Though this feature
is not documented it is the intended behavior of {vid,kbd}control
and shall be documented in the future as such.
1995-05-26 18:06:52 +00:00
jkh
515b1b92e4 Add tun0 to the all rule. 1995-05-18 10:51:03 +00:00
rgrimes
17fc6d821b Remove all /dev/'s from device names, they should all be relative
to /dev.  Putting absolute paths in here breaks the make release
process, and screws up testing of this script in other directories.

Submitted by:	bde
1995-05-15 09:44:10 +00:00
gpalmer
249601e430 Clean up the matcd entry so it deletes the *matcdl* entries before trying
to create new ones.

Reviewed by:	davidg, rgrimes
1995-05-15 06:55:18 +00:00
jkh
dc7062c07a The lites web page has moved.
Submitted by:	rich
1995-05-11 20:39:36 +00:00
ache
0044255e3c Change 'rc' entries from 'r' to 'm', conflict with ptys 1995-05-07 23:04:03 +00:00
dufault
d1f7e52e49 Make scsi control devices such as "/dev/rsd0.ctl". 1995-05-03 18:15:35 +00:00
dufault
26b0e06cf4 Use the correct offset for LabPC digital devices. 1995-05-01 14:34:45 +00:00
jkh
affe35f024 As a public service (and because I'd like to see more LITES people chose
FreeBSD), add mach-4 target to MAKEDEV; it creates various compatability
devices for Mach4.
Submitted by:	(Submitter name unknown) <root@ns2.redline.ru>
1995-04-30 07:56:45 +00:00
bde
5ff2c2e2fb Remove chmod of pcaudio* to 666. Not everyone should be allowed to
play the speaker and consume 10-100% of the available cycles.

Remove chmods of sound devices to 666.  Use chmod to give the same security
holes.
1995-04-28 07:53:43 +00:00
bde
9b057d0c4d Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*. 1995-04-28 07:39:21 +00:00
dufault
6702bdcc1b Add National Instruments "LabPC" driver 1995-04-28 00:51:40 +00:00
bde
9f7c1b77ac Reviewed by: Gene Stark (starkhome!gene@sbstark.cs.sunysb.edu)
Change ownership of tw* from bin.bin to root.operator.  Hardware devices
shouldn't be accessible to bin.
1995-04-26 08:07:30 +00:00
ache
e9609fc2f3 Add 'rc' devices. 1995-04-23 12:02:21 +00:00
rgrimes
23e4756f71 A better solution for the noisy ibcs2 startup, just echo a space and then
call ibcs2.
Submitted by:	jkh, slight modification by me.
1995-04-13 21:23:17 +00:00
jkh
f86d0bfb93 I missed some of Frank Durda's changes for MAKEDEV. Fixed.
Submitted by:	Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-04-13 00:51:55 +00:00
rgrimes
0a71b378b5 Add missing "echo '.'" to end of file so that the next file called
starts on a new line.
1995-04-10 01:39:13 +00:00
rgrimes
22293c7df5 This is a purely cosmetic clean up. Fix many cut and paste problems that
had turned tabs into spaces.
1995-04-09 09:54:51 +00:00
jkh
862ad01747 Don't spit out a gratuitous ibcs2 startup message. 1995-04-06 02:38:37 +00:00
ache
05fe559358 Set desired cursor type for syscons 1995-04-04 17:34:55 +00:00
ache
f63d9c35af Add missing ';' 1995-04-01 12:55:33 +00:00
ache
a44e8ddbd2 Restore my function key configuration stuff which Rod promise to
restore but really didn't do it.
Restore message from old rc about configuring syscons whith
echo added before it to go to new line after "echo -n xtend" f.e.
and similar stuff.
1995-03-30 09:39:51 +00:00
rgrimes
01cb869dd8 This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration.  I was not going to
    change that out from under you.... a user never need edit netstart
    or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc.  It is just unworkable as
    a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
    get up,  it doesn't start every bloody daemon that might talk to a
    socket...  netstart ifconfig's the devices and sets up routing if
    configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
    messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
    started before syslogd because if you are the dns server for your domain,
    you'd like named to resolve remote hosts in syslog.conf,  but this is
    a minority case and the trivial workarround is to put the syslog host
    in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
    to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
    NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
    xtend, and all of the syscons stuff
    (this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
    with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
    to this file now) and the full name of the kernel has been restored to
    /etc/motd

Submitted by:	pts
1995-03-30 06:26:19 +00:00
jkh
2fbf3422ed Fix apm and gsc rules to allow <blah>0' or just <blah>' to be shorthand.
[Actually, it's `<blah>*' but I'm not telling anyone]
1995-03-21 06:31:00 +00:00
ache
203c57da8b Make /dev/pss instead of /dev/sndproc (unused) 1995-03-13 00:10:40 +00:00
bde
0fcaf7139a Clean up white space. 1995-03-12 15:25:32 +00:00
dufault
9b4b6386ec Noticed by: Nate
Fixed the MAKEDEV pattern for SCSI processor type driver so it doesn't
screw up ptys.  Does anyone want to suggest a better name than "pt0" for
SCSI processor devices before 2.1?
1995-03-11 12:07:57 +00:00
dufault
75d2a55de3 Add processor and worm drivers 1995-03-04 20:54:24 +00:00
bde
03e0899381 For sd, vn and wd:
Support sliced devices better.  E.g.:
`sh MAKEDEV sd0' creates [r]sd0 and [r]sd0s[1-4] as well as [r]sd0[a-h]
(the extra devices created by default won't hurt apart from wasting inodes).
`sh MAKEDEV sd0s1[a-h]' creates [r]sd0s1[a-h] (any partition creates all).
`sh MAKEDEV sd0s5' creates [r]sd0s5.

Support unit numbers 0-31 (was 0-6).

For wd:

Remove support for creating DOSpartitions wd*[i-m].  These will get removed
if you run MAKEDEV on `all' or on wd*.
1995-03-04 12:22:14 +00:00
jkh
b31a4ac53d Add Matsushita CDROM device entries.
Submitted by: Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-03-02 04:11:47 +00:00
ache
2c783960a6 Cleanup device names, add more devices for Linux sounddriver 1995-02-27 18:54:27 +00:00
joerg
f148c03229 Allow tty0? to be an alias for tty? when creating the dev nodes.
People tend to be confused unnecessarily otherwise.
1995-02-24 19:26:59 +00:00
jmz
48e2735922 Change permissions and ownership of joystick device files. 1995-02-22 23:52:58 +00:00
bde
5395aa40b4 Fix some bogus and missing chowns:
444 -> root.wheel
root -> root.wheel
uucp -> uucp.wheel (perhaps this should be .dialer, but .wheel is safer)
missing -> root.wheel

chown to root is usually bogus because mknod had to be run by root to
create the inode.  Setting the group explictly is currently necessary
because MAKEDEV does nothing to ensure that its working directory has
a suitable group.

Driver authors!  Please fix any bogons in MAKEDEV that involve your
drivers.  The sound devices are still world writable...
1995-02-17 12:32:34 +00:00
bde
519080d6b6 Adjust for rearranged slice numbers. Only create partitions on slice 0
for now (there are too many minors to create by default).  The special
sliced disk case ssd*|svn*|swd*) can almost replace the standard disk
case sd*|vn*|wd*) now (it just creates a few more devices), but there
will have to be special cases to allow creating slices 6-31 and partitions
on slices 2-31.

Fix bogus default cases.
1995-02-16 16:03:29 +00:00
jkh
86c5f007ce Add device entries for ISDN driver. 1995-02-14 23:48:05 +00:00
ugen
1538491f9d Added /dev/snp? entry.. 1995-02-14 21:13:14 +00:00
bde
b05d6b2adc Add chowns for pty's, ttyv's and ttyd's. Correct the chown for lptctl's.
The group was wrong if MAKEDEV was run in a directory with group other
than wheel.  This may have messed up the group in recent SNAPs
(sysinstall/obj should have group bin).

Reset the umask to 77 after running MAKEDEV.local.  Some cases depend on
the 77 default.  MAKEDEV.local and all cases should probably set the
umask explictly and not depend on a default.  Most cases already set it.
1995-02-10 20:08:25 +00:00
jkh
05810ff0ed Device entries for >32 PTYs.
Submitted by:	Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:10:02 +00:00
jkh
5d2cd114db Video Spigot entries.
Submitted by:	Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-07 12:07:18 +00:00
jkh
9b15d8ef61 Add tun to list of devices.
Submitted by:	mr
1995-02-01 23:15:11 +00:00
jmz
152d1bd214 Add joystick 1995-01-25 21:21:28 +00:00
jkh
7acc81dc27 Gunther Schadow <gusw@fub46.zedat.fu-berlin.de>'s
driver for the Genius GS-4500 hand scanner.
Submitted by:	gusw@fub46.zedat.fu-berlin.de
1995-01-07 14:52:08 +00:00
ats
4dcc6483b0 Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00
bde
4b9c4e466a Add support for sliced disk devices ssd*, svn*, swd*. The `s' at the start
of these names is so that they can be distinguished in MAKEDEV until the
non-sliced devices go away.
1994-12-16 15:59:44 +00:00
ache
3772939b8c Fix wrong regexps 1994-12-08 00:44:55 +00:00
ache
9eb8d28049 Fix wrong unit=expr for tty? cua? 1994-12-06 23:06:10 +00:00
bde
bc0e9de8d2 Name the serial ports tty* and cua* in comments. ttyd* and cuaa* don't
match all the port names.

Start using shell functions to avoid duplication.

Make tty* independent of cua*.  Restore support for old names (tty0 ==
ttyd0, cua0 = cuaa0...).

Restore making of lpt1 and lpt2 by default.

Keep umask 077 for making vty*.  World-ioctable vtys are huge security holes
because of bugs in syscons.

Make vga if a vty is made.  It may still be required for X.  It got nuked
with pc*.

Start using umask consistently to avoid using chmod.
1994-12-06 19:50:17 +00:00
ache
c45aabace0 Remove yet one pccons-related comment 1994-12-04 23:50:40 +00:00
ache
dafd331078 New serial naming convention, remove tty0?, change cua0? --> cuaa?
Remove pccons stuff, we don't have it.
1994-12-04 23:48:38 +00:00