Commit Graph

318 Commits

Author SHA1 Message Date
Jordan K. Hubbard
d243e2f7f4 1.2 -> 1.44MB floppies. 1997-02-09 23:17:50 +00:00
Joerg Wunsch
94e7483c11 Add worm(4)'s bdev entry. 1997-02-06 22:23:26 +00:00
Bruce Evans
def920e3ec Use shifts instead of multiplications and |' instead of +' to simplify
dkminor().  Use $((1 << 29)) instead of a mysterious decimal number for
$scisctl.  Use dkminor() instead of repeating part of it for special cases.
Shortened some long lines.
1997-01-27 06:24:10 +00:00
David Greenman
ac9e2a2511 Change to use some unused bits in the 'type' field to extend the unit field
to 9 bits (512 units) for disk devices.
1997-01-24 22:00:35 +00:00
Jordan K. Hubbard
5bdab685d1 As /etc/sysconfig and /etc/rc.i386 is now, you can't modify the syscons
bell type on boot. Slightly annoying when your system doesn't have a speaker.
This adds a `keybell' frob for setting it.  Closes PR#2519

Submitted-By: Jonathan Mini <mini@hydrogen.nike.efn.org>
1997-01-24 10:12:45 +00:00
Joerg Wunsch
3e92fe3bd3 by popular request I submit the following disktab entry for inclusion in
/etc/disktab

Submitted by:	lada@ws2301.gud.siemens.co.at (Hr.Ladavac)
1997-01-17 23:06:25 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Nate Williams
6cebb6a689 Added apm and card[01] devices to all target.
Suggested by:	bde
1997-01-13 17:37:20 +00:00
Joerg Wunsch
513a014830 While being here, also create all the gsc device nodes as described in
the gsc(4) man page, and allow for more than one unit number.
1996-12-30 20:51:36 +00:00
Jordan K. Hubbard
0b3870cb60 Close PR#2198:
I've added an installation from optical disk drive facility.
	This enables FreeBSD to be installed from an optical disk, which
	may be formatted in "super floppy" style or sliced into MSDOS-FS
	and UFS partitions.

	Note:  ncr.c should be reviewed by Stefan Esser <se@freebsd.org>
	and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this
	into 2.2.

Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
1996-12-13 07:55:14 +00:00
Andreas Klemm
fda1c610e8 Added $PATH to the end of PATH. Otherwise the command 'expr' can't be
found by the shell when running MAKEDEV from the fixit floppy environment.
1996-11-14 14:28:26 +00:00
Jordan K. Hubbard
190cca38e9 Add an entry for minimum - that's a lot easier. 1996-11-09 09:23:09 +00:00
Bruce Evans
ce5636f791 Fixed cualc and cualD minor numbers which I broke in the previous commit. 1996-11-01 08:49:13 +00:00
Bruce Evans
fab5b1c43d Restored order of cuac above ttyc.
Fixed some style bugs for cua* and tty*.

Removed superfluous chmod for consolectl.

FIxed a tiny security bug for perfmon and changed the style for
perfmon to match the style of the non-std devices.
1996-10-25 15:01:33 +00:00
Stefan Eßer
d018c1a988 Add character device (78,0): pci
Submitted by:	wollman
1996-10-22 20:41:03 +00:00
David Greenman
4364e32501 Changed ttyc? and cuac? specifications to support multiple controllers.
A "MAKEDEV ttyc0" now creates 32 units for controller 0, ttyc1 for
controller 1, etc..
1996-10-13 01:12:01 +00:00
Andrey A. Chernov
02601dae20 Remove sleep before moused, problem fixed with new consolectl device 1996-09-09 19:59:14 +00:00
Søren Schmidt
a41cbc45be Fix for the problem that moused hangs if it is started from /etc/rc
Introduces the /dev/consolectl device for controlling various
console related things (given syscons is used).
1996-09-09 18:47:47 +00:00
Andrey A. Chernov
d71651da35 Use the same perm/owner for sysmouse as for others mouse devices 1996-09-09 00:02:44 +00:00
Andrey A. Chernov
814c1905ad Make sysmouse device for syscons 1996-09-08 23:56:27 +00:00
Andrey A. Chernov
87dc1283f8 Make moused actually work:
add sleep 20 before moused starts.
It allows all getties to activate screens.
1996-09-07 19:04:48 +00:00
Wolfram Schneider
c4a87a6a59 update comment for tun*
add comment for snp*
1996-07-02 23:11:06 +00:00
Andrey A. Chernov
97f6903efd Add moused hooks (OFF by default) 1996-06-23 20:54:42 +00:00
Andrey A. Chernov
62d543821c IDE cd fixes:
wcd?a is missing
wrong partition number was used for wcd?c
1996-06-07 15:47:15 +00:00
Satoshi Asami
a388db6b9e Bring in ccd support.
Entry to create ccd devices.
1996-05-03 05:37:34 +00:00
Jordan K. Hubbard
582af1726d Add wcd0 to `all' target. The fate of the IDE CDROM support in 2.2
is becoming clearer.. :-)
1996-05-02 09:15:57 +00:00
Garrett Wollman
a98d68cf25 Provide for creation of /dev/perfmon. 1996-03-26 21:04:54 +00:00
Jordan K. Hubbard
9ab75783da Fix Nate's spamming of this file - every backquote needs a matching one.. :-) 1996-03-19 03:48:53 +00:00
Nate Williams
3b9fa99df2 Added some comments regarding the apm device, and added support to
create the PC-CARD devices.

Note: The APM character special device is named /dev/apm and not apm0 as
was prvioiusly since only one APM device can exist in a system at a time
according to the the APM specifications.
1996-03-18 20:28:27 +00:00
Paul Traina
869fc587ed Add support for Connectix QuickCam(tm) 1996-02-02 19:25:24 +00:00
Mike Pritchard
440cac3e51 Another round of spelling fixes. 1996-01-31 15:03:18 +00:00
Bruce Evans
6a188c276a Use umask disk_umask=037 for all (writable) disks. Use umask
tape_umask=017 for all tapes.  This has a significant effect only
for ft and st (they were created with the wrong umask 002 and then
chmod'ed to mode 640; now they are created with mode 660).

Chmod the st control devices (mode 3) to 600.  These need to be
more secure than the st i/o devices, but were less secure.

Use the default umask of 077 for joy0.  002 gave mode 664, which
is insecure.

Use umask 037 for ch*.  Cosmetic.

Removed redundant chmod's.

Sorted case lists for disks.
1996-01-28 19:10:37 +00:00
Jordan K. Hubbard
9372c90cc2 Add an entry for MTA-3230 3.5" magneto-optical drives.
Submitted by:	jbryant@argus.flash.net
1996-01-15 13:17:52 +00:00
Joerg Wunsch
0ac727259c Restrict /dev/io perms to 0600. 1995-12-31 09:30:30 +00:00
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Mark Murray
7d2bdadb5b Move the creation of the *random devices to the same "target" as the
rest of the memory group - std. Also correct the permissions so as not
to force a security hole. If /dev/*random have the permission 640 and
ownership bin.kmem, it forces applications that need random numbers
to be at least SGID. Picture the scene of a SGID PGP being able to
read /dev/kmem!
1995-12-03 17:26:21 +00:00
Garrett Wollman
c7704e9ce0 Uniformize startup display to follow style of all the others. This means
in particular getting rid of most of the goop that causes syscons options
to be spread out over four separate lines.
1995-11-29 20:40:36 +00:00
Mark Murray
a2c9d3c290 Fix stupid typo.
Pointed out by: Mark Valentine
1995-11-14 06:24:00 +00:00
Mark Murray
cceb2049b4 OOps, nearly missed this bit. Add the call to rndcontrol to set the
chosen interrupts for the entropy gathering  in /dev/random.
1995-11-13 21:33:04 +00:00
Bruce Evans
2226a9e686 Add random and urandom. 1995-10-29 15:52:31 +00:00
Peter Wemm
6bb214cdc6 Part 2 of the linux LKM hook, and use the new screen saver entry
points in the modload, as enforced by the recent symorder and
bsd.kmod.mk changes..
1995-10-28 12:44:13 +00:00
Bruce Evans
d416cc848a Update Digiboard entries.
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su>
1995-10-17 16:26:54 +00:00
Joerg Wunsch
a7f096115f Make the options for newfs'ing floppies more specific; the prvious
example without optios would create floppies that waste half of their
space in i-node areas. :)  (Comment only)

Add a sample entry for a Sony 650 MB MOD.
1995-10-02 21:31:21 +00:00
Peter Wemm
4e3c5cb5f3 Update the /dev naming for the Specialix driver.. I've changed it to do
the same sort of thing as the Digiboard driver (ttyD*), as creating 96
/dev entries one by one was very painful.
1995-09-22 20:42:11 +00:00
Andreas Schulz
41a9a02d31 Add a description for the wcd* devices to the Disks section. 1995-09-16 23:15:01 +00:00
Jordan K. Hubbard
f8bf743c02 Add entries for Digiboard serial card and document Specialix driver
entries while I'm at it.
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su> + mods by jkh
1995-09-03 20:40:16 +00:00
Joerg Wunsch
d96ce489cc Install the hooks for the Japanese `od' driver (aka. MOD).
Submitted by:	akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1995-08-19 15:50:56 +00:00
Jordan K. Hubbard
736267d692 Device entry for IDE CDROM driver.
Submitted by:	Serge Vakulenko <vak@cronyx.ru>
1995-08-18 11:29:05 +00:00
Peter Wemm
150e023bc9 Add simple hooks to create /dev entries for the Specialix driver
Reviewed by:
Submitted by:
Obtained from:
1995-08-13 22:05:51 +00:00
Jordan K. Hubbard
162efbb15c Add device support for the Matrox Meteor.
Submitted by:	james
1995-08-01 13:15:52 +00:00
Jordan K. Hubbard
55cc556c42 Fix the mknod for spigot. 1995-07-30 12:56:26 +00:00
Bruce Evans
d10b6048eb Remove /dev/ from socksys link again.
Move `Individual slices' case earlier so that it can be used to handle
sliced floppies.

Remove superfluous `chmod 600's.

Fix formatting of device list.

Don't group setting of umasks with setting of units.

Remove superfluous trailing semicolons.
1995-07-29 05:25:08 +00:00
Jordan K. Hubbard
b366737bf0 New sound device names.
Reviewed by:	hasty & lowe
Submitted by:	pst
1995-07-29 00:40:40 +00:00
Jordan K. Hubbard
7dc962a0af Part of Vincenzo Capuano's changes to xntpd to support the
Boeder DCF77 Receiver.
Submitted by:	Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-07-21 13:02:13 +00:00
Rodney W. Grimes
264f3ec466 FreeBSD/386 -> FreeBSD/i386
Submitted by:	Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
1995-07-17 20:07:47 +00:00
Rodney W. Grimes
694ae09c05 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
Jordan K. Hubbard
2c3b28f96d Add tun0 to the all rule. 1995-05-18 10:51:03 +00:00
Rodney W. Grimes
f8a6f4a227 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
Gary Palmer
64cecefe43 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
Jordan K. Hubbard
7b094c1c1d The lites web page has moved.
Submitted by:	rich
1995-05-11 20:39:36 +00:00
Andrey A. Chernov
75343e2589 Change 'rc' entries from 'r' to 'm', conflict with ptys 1995-05-07 23:04:03 +00:00
Peter Dufault
99d181f7a9 Make scsi control devices such as "/dev/rsd0.ctl". 1995-05-03 18:15:35 +00:00
Peter Dufault
b53e9e2751 Use the correct offset for LabPC digital devices. 1995-05-01 14:34:45 +00:00
Jordan K. Hubbard
90e83ab7ee 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
Bruce Evans
af5b6e3f9d 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
Bruce Evans
d45ae51059 Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*. 1995-04-28 07:39:21 +00:00
Peter Dufault
657e73c4f5 Add National Instruments "LabPC" driver 1995-04-28 00:51:40 +00:00
Bruce Evans
cd782e4154 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
Andrey A. Chernov
29ea28d79e Add 'rc' devices. 1995-04-23 12:02:21 +00:00
Rodney W. Grimes
51564ceea8 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
Jordan K. Hubbard
d99fdc4f07 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
Rodney W. Grimes
40a36bc906 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
Rodney W. Grimes
1f55ebbcd9 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
Jordan K. Hubbard
0039743841 Don't spit out a gratuitous ibcs2 startup message. 1995-04-06 02:38:37 +00:00
Andrey A. Chernov
d9e7919357 Set desired cursor type for syscons 1995-04-04 17:34:55 +00:00
Andrey A. Chernov
213abfcf47 Add missing ';' 1995-04-01 12:55:33 +00:00
Andrey A. Chernov
923782ecb6 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
Rodney W. Grimes
711aa1c272 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
Jordan K. Hubbard
99b1970f84 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
Andrey A. Chernov
34ee6d3450 Make /dev/pss instead of /dev/sndproc (unused) 1995-03-13 00:10:40 +00:00
Bruce Evans
f2a5c98e24 Clean up white space. 1995-03-12 15:25:32 +00:00
Peter Dufault
a1b8d6bad1 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
Peter Dufault
8bcbc1f424 Add processor and worm drivers 1995-03-04 20:54:24 +00:00
Bruce Evans
f8360b9bf3 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
Jordan K. Hubbard
6ccfe20ece Add Matsushita CDROM device entries.
Submitted by: Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-03-02 04:11:47 +00:00
Andrey A. Chernov
8a6fe12553 Cleanup device names, add more devices for Linux sounddriver 1995-02-27 18:54:27 +00:00
Joerg Wunsch
bcdd2389fe 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
Jean-Marc Zucconi
bb12981561 Change permissions and ownership of joystick device files. 1995-02-22 23:52:58 +00:00
Bruce Evans
c69e71b3e9 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
Bruce Evans
96658fee5a 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
Jordan K. Hubbard
19c84690f0 Add device entries for ISDN driver. 1995-02-14 23:48:05 +00:00
Ugen J.S. Antsilevich
187ec8f5ae Added /dev/snp? entry.. 1995-02-14 21:13:14 +00:00
Bruce Evans
0e229bc0a8 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
Jordan K. Hubbard
a8716840ba Device entries for >32 PTYs.
Submitted by:	Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:10:02 +00:00
Jordan K. Hubbard
89bcd2d778 Video Spigot entries.
Submitted by:	Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-07 12:07:18 +00:00
Jordan K. Hubbard
770f05c102 Add tun to list of devices.
Submitted by:	mr
1995-02-01 23:15:11 +00:00
Jean-Marc Zucconi
61b1d15857 Add joystick 1995-01-25 21:21:28 +00:00
Jordan K. Hubbard
2f6df2645b 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
Andreas Schulz
c8ac34903c Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00