Commit Graph

213 Commits

Author SHA1 Message Date
pst
076cfa8917 Add support for Connectix QuickCam(tm) 1996-02-02 19:25:24 +00:00
mpp
f88cbd872d Another round of spelling fixes. 1996-01-31 15:03:18 +00:00
bde
d22ac46d89 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
joerg
edd59e682b Restrict /dev/io perms to 0600. 1995-12-31 09:30:30 +00:00
markm
8c5a934390 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
bde
8c32155166 Add random and urandom. 1995-10-29 15:52:31 +00:00
bde
ac8199f721 Update Digiboard entries.
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su>
1995-10-17 16:26:54 +00:00
peter
4d2e89d364 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
ats
36724a3361 Add a description for the wcd* devices to the Disks section. 1995-09-16 23:15:01 +00:00
jkh
e92ad7a6e8 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
9e7d4c369b 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
jkh
be30cbf80b Device entry for IDE CDROM driver.
Submitted by:	Serge Vakulenko <vak@cronyx.ru>
1995-08-18 11:29:05 +00:00
peter
2f6c7b308d 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
jkh
bf8557b50d Add device support for the Matrox Meteor.
Submitted by:	james
1995-08-01 13:15:52 +00:00
jkh
9ddd99f336 Fix the mknod for spigot. 1995-07-30 12:56:26 +00:00
bde
88e65e7a0e 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
jkh
41201e797e New sound device names.
Reviewed by:	hasty & lowe
Submitted by:	pst
1995-07-29 00:40:40 +00:00
jkh
0743b73e18 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
jkh
8fa9c080b2 Add tun0 to the all rule. 1995-05-18 10:51:03 +00:00
rgrimes
3a513aab50 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
aaee6b9c85 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
2ee3fcc951 The lites web page has moved.
Submitted by:	rich
1995-05-11 20:39:36 +00:00
ache
ac22a9bd82 Change 'rc' entries from 'r' to 'm', conflict with ptys 1995-05-07 23:04:03 +00:00
dufault
951ba4e317 Make scsi control devices such as "/dev/rsd0.ctl". 1995-05-03 18:15:35 +00:00
dufault
282ed8f77a Use the correct offset for LabPC digital devices. 1995-05-01 14:34:45 +00:00
jkh
6ff69c069e 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
d8eed3841b 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
84d0c56564 Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*. 1995-04-28 07:39:21 +00:00
dufault
c139bc1e76 Add National Instruments "LabPC" driver 1995-04-28 00:51:40 +00:00
bde
8e9d78165f 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
8dc74eaa49 Add 'rc' devices. 1995-04-23 12:02:21 +00:00
jkh
d73b1b9572 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
jkh
229b996581 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
ad5be313bf Make /dev/pss instead of /dev/sndproc (unused) 1995-03-13 00:10:40 +00:00
bde
25d3b3b65c Clean up white space. 1995-03-12 15:25:32 +00:00
dufault
ae68db153f 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
18c8883ce0 Add processor and worm drivers 1995-03-04 20:54:24 +00:00
bde
b7a6031511 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
f99a1b535c Add Matsushita CDROM device entries.
Submitted by: Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-03-02 04:11:47 +00:00
ache
c028e79030 Cleanup device names, add more devices for Linux sounddriver 1995-02-27 18:54:27 +00:00
joerg
43f9bff834 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
945b95fa15 Change permissions and ownership of joystick device files. 1995-02-22 23:52:58 +00:00
bde
0d6380ec6f 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
6c30d3bff8 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
319cd36ec1 Add device entries for ISDN driver. 1995-02-14 23:48:05 +00:00
ugen
f8ece4f3b4 Added /dev/snp? entry.. 1995-02-14 21:13:14 +00:00
bde
37333a0b5a 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
032a0441f8 Device entries for >32 PTYs.
Submitted by:	Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:10:02 +00:00
jkh
d7a9cb4397 Video Spigot entries.
Submitted by:	Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-07 12:07:18 +00:00
jkh
382821fffd Add tun to list of devices.
Submitted by:	mr
1995-02-01 23:15:11 +00:00
jmz
9929ea8915 Add joystick 1995-01-25 21:21:28 +00:00
jkh
8ef602caf2 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
7d52d1a428 Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00
bde
24f0109bbd 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
fbda28b008 Fix wrong regexps 1994-12-08 00:44:55 +00:00
ache
f5cd25ca49 Fix wrong unit=expr for tty? cua? 1994-12-06 23:06:10 +00:00
bde
fa622f57ad 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
2c600a1f32 Remove yet one pccons-related comment 1994-12-04 23:50:40 +00:00
ache
8cc0e64ac8 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
phk
057ea97a94 Added vn*, doing the same thing as sd* and wd*. (Disklabel support will
be added to the vn driver).
1994-12-04 20:15:15 +00:00
jkh
07cc9aecea Add back the Croynx stuff I nuked accidently. I'm not touching this
file anymore after this.  My link makes it too painful to make
interactive mods, and I don't have the CVS tree here so making changes
for "previous history" have to get done on freefall, with the corresponding
degree of pain.
1994-12-03 14:01:01 +00:00
jkh
e9ff8a829c Back out previous commit until we work this out. Sigh. 1994-12-03 04:46:09 +00:00
wollman
3297ce2308 Add cronyx driver entries. 1994-12-03 00:07:49 +00:00
jkh
98fb9b578a |From: Keith Walker <kew@timesink.spk.wa.us>
|Message-Id: <199412011713.JAA03374@timesink.spk.wa.us>
|To: jkh@whisker.hubbard.ie
|Subject: A little problem with MAKEDEV
|
|For a while now, MAKEDEV's been kinda neat: you create the cua* files,
|and it deletes the tty* files; you create the tty* files and it
|deletes the corresponding cua* files. K00l! :-)

[Ed Note - I think this behavior was wrong, and this fix better].
1994-12-02 16:08:53 +00:00
ache
1ae2cfac1d Wrong raw device was created for cd/mcd: d instead of c 1994-11-12 15:48:54 +00:00
phk
4e05ae59ba /dev/apm should be /dev/apm0 1994-11-10 02:32:29 +00:00
phk
2d4936ee51 The last committer didn't know that '*' doesn't start a comment in shell's ???? 1994-11-02 06:36:42 +00:00
pst
4c5df449bb Add kernel hooks for /dev/vatio -- a minimalistic BSD audio driver emulator
created by Amancio Hasty (specificly, this, in conjunction with his sound
driver mods for dual-mode DMA will allow VAT compiled for BSD/386 1.1 to
run under FreeBSD 2.x.)
1994-11-01 01:47:22 +00:00
phk
1f435dfb78 fixed a typing error. 1994-10-29 10:03:37 +00:00
phk
0b163fea5e Make devices for sd2 and sd3 too. If we have them in Generic, we should
have the devices too.
1994-10-26 01:30:47 +00:00
sos
b32ff3d559 Added socksys device (for iBCS2 emulation) 1994-10-13 20:10:14 +00:00
dg
e5b61506f7 Added entry for apm device (needed for Advanced Power Management support). 1994-10-01 03:32:26 +00:00
rgrimes
2c4a2211a4 You must rm -f lkm before attempting to create it. 1994-09-30 07:33:42 +00:00
wollman
1498c1006a Make /dev/lkm as a part of std'. Delete references to ancient com' driver. 1994-09-23 19:17:27 +00:00
phk
51bb4b5e34 Added wd2 and wd3 to the standard set. They are in GENERICAH, they can
be installed on, so they should be in /dev as well.

Removed the smoking remains of dcf*. I didn't realize that it had made it
into MAKEDEV.  Gone from cdevsw long time ago, gone from /dev now.
1994-09-07 21:35:52 +00:00
csgr
d43d0141c9 Make it possible to run lptcontrol on a printer port which does not
actually have a printer connected or online:
- MAKEDEV:		remove all signs of lpa
			add lpctl? devices (minor # = unit + 128)
- usr.sbin/Makefile	add lptcontrol
- sys/i386/isa/lpt.c	implement the LP_BYPASS flag: when a unit is
			opened with this flag set, the printer is
			not primed, and no check is made to see that
			the printer is online.  This can only be used
			to pass ioctls.  (giving us /dev/lpctl?)
- lptcontrol.c		use /dev/lpctl? (LP_BYPASS)
			-f flag removed, -u flag added
- lptcontrol.8		document changes in lptcontrol
			rewrite using mandoc macros
Submitted by:	Geoff.
1994-09-03 22:47:08 +00:00
jkh
eea4609f28 Fixes from Bruce Evans:
o insecure and inconsistent permissions for tape devices.
	o didn't make the DOSpartition wd devices.
1994-06-17 21:50:07 +00:00
ache
0f9d4a68bf From Ache:
Add proper devices for new sio initial/locking mechanism
1994-05-30 03:53:01 +00:00
rgrimes
8f3082d986 Fix all the sound devices to NOT have the absolute path /dev, the makes for
missing device files in releases!!
1994-05-21 08:55:52 +00:00
jkh
c61fc879d4 Add 4 VTY's back to the list of things to create by default (the codrv
comments were obsolete), also create a PS/2 mouse entry.
1994-05-19 11:05:09 +00:00
ache
41b64e0b45 Make dialout devices owned by uucp.dialer with 660 mode 1994-05-10 09:18:11 +00:00
sos
d6961f411f device support for pcaudio added 1994-04-21 14:08:27 +00:00
ache
ad5b8cd4d6 Fix tty? entry in the same way like cua entry
Add error diagnotic about unknown device name
1994-04-03 14:24:52 +00:00
ache
639792d62c Fix error in making cua entries for two multiports
(> 10 devices)
1994-04-03 04:39:54 +00:00
rgrimes
96b63761ec Add mitsumi cdrom /dev entries. 1994-03-07 00:57:38 +00:00
ache
b7beda1987 Remove sio entries per Rod suggestion 1994-02-19 15:45:13 +00:00
ache
036de24b41 Sorry, expr error in last commit. 1994-02-19 14:32:56 +00:00
ache
7cf8094528 We lost ttyd for dialin lines, now restore it 1994-02-19 13:17:03 +00:00
alm
a1b2d6afe7 Add devices for QIC 40/80 support 1994-02-07 04:25:07 +00:00
dg
ad351feabd Added creation of a symlink for ttyv0->vga when making the 'pc0' target. 1994-01-26 23:45:34 +00:00
dg
0310c62c3b Deprecate "/dev/vga". Use /dev/ttyv0 always. Note that the terminal type
is still 'pc3' in /etc/ttys, and should be changed if we decide to default
to syscons.
1994-01-24 20:57:16 +00:00
ache
b027a3388b Add callout device for bidirectional port 1994-01-10 18:11:30 +00:00
rgrimes
47e8bf6fa0 Insert tab before comment so brain dead shell does not screw up
the arguments to mknod.
1993-12-24 11:36:28 +00:00
ache
f4dc6154ef Comment out porogrammer-readable fd name set,
not needed in standard version, only for XENIX lovers.
1993-12-21 05:49:28 +00:00
ache
cd08ed370b User-readable fd name set added:
[r]fd[n].{360,720,800,820,1200,1440,1480,1720}
Programmer-readable fd name set added in XENIX style.
1993-12-18 01:19:02 +00:00
ache
4d324b874d No more partition bits in floppy minor.
Now minor looks like UU DDDDDD, UU - unit, DDDDDD - density.
If density == 0, CMOS-detect format assumed.
For old users/pgms use fake partitions now, i.e.
	ln fd0 fd0[a-h]
No new floppy names added (expect fd? and rfd?),
because don't have agreement yet, so make devices
only for CMOS-detected formats.
1993-12-16 04:34:11 +00:00
alm
4e2fe971b0 From: Sergey Ryzhkov, Serge Vakulenko
E-mail: <sir@kiae.su>, <vak@zebub.msk.su>
added new /dev/wt entries for wt.c version 1.3

8) Some controllers support only 1024 block length.
   Setting WT_BSIZE bit in device minor number turns on this mode.

Minor number structure:
	0bfffuuu
Fields:
	uuu   - Unit number. It's possible to install
		up to three tape controllers on the same machine,
		using DRQs 1..3.  Hence, unit number can lie
		in range 0..2.
	fff   - Tape format number:
		0 - /dev/rwt0  - default density (auto select)
		1 - /dev/rwt0a - QIC 11 (obsolete)
		2 - /dev/rwt0b - QIC 24 (60 megabytes)
		3 - /dev/rwt0c - QIC 120 (120 megabytes)
		4 - /dev/rwt0d - QIC 150 (150 megabytes)
		5 - /dev/rwt0e - QIC 300 (300 megabytes?)
		6 - /dev/rwt0f - QIC 600 (600 megabytes?)
	b     - Long block size flag.  With this bit set,
		the driver will perform all i/o operations
		with the controller using 1024-byte
		blocks, instead of 512 ones.
		Some controllers need it (CMS for example).
		If you Wangtek controller does not stream well,
		you can try to use /dev/rWt0 device instead
		of /dev/rwt0 (uncomment needed lines in /dev/MAKEDEV
		to create it).

Block interface (writing blocks less than 2048 bytes) is not functioning
pwoperly.  Use raw interface instead.

Thanks to all who helped to test it on the following hardware:

Controller           Drive            Volume    Interface     Thanks to
---------------------------------------------------------------------------
Archive SC-499       Archive 2150L    150 Meg   QIC-02        KIAE
CMS?                 ?                150 Meg   QIC-02        KIAE
Everex EV 831/833    ?                ?         QIC-36        Joergen Haegg
Wangtek ASSY         Wangtek          60 Meg    QIC-02        Ken Whedbee
Tecmar QT150i?       Wangtek 5150EQ   ?         QIC-02?       Marko Teiste
?                    Wangtek 5099EK   60 Meg    QIC-36        Robert Shien
Archive SC400S       ?                60 Meg    ?             Warren Toomey
1993-12-14 11:11:37 +00:00
rgrimes
32ccc7585c Missing part of Julians new scsi code, add new driver uk and revise the
entries for st.
1993-11-22 05:40:49 +00:00
wollman
431cfc20ae Added comment in the description of `com' devices that they are usually
not what users want unless they have re-configured their kernels.  Hopefully
some people will actually read this.
1993-11-06 23:22:23 +00:00
rgrimes
b182197678 Add zero and io to the rm -f line for std devices so they get removed before
an attempt is made to mknod them.
1993-10-28 09:59:27 +00:00
jkh
ea3c8daf86 Moved sound drivers from major 21 to major 30. 1993-10-23 22:24:35 +00:00
jkh
4666429023 New snd*) target for making driver entries for new sound driver. 1993-10-23 10:58:51 +00:00
nate
6a7f32aab7 Fixe a spelling error and added both the mse (logitech and ATI inport) and
the psm (PS/2 bus) mouse support

(The psm driver will have to come later)
1993-10-19 20:00:35 +00:00
rgrimes
6990d963e1 Added /dev/zero and /dev/io, they have been around for a while, time to
have some /dev entries.
1993-10-06 03:35:03 +00:00
rgrimes
773bc5cea1 Support for new wt driver. Removed old references to as* disk types since
they are long gone.
1993-09-30 20:18:59 +00:00
rgrimes
280e372add >From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Comment was wrong about what entries get made for vtyNN, it
is 0-b, not 00-12.
1993-09-14 21:42:14 +00:00
jkh
5d6b69219b Changed misleading comment about vty's - now clearly stated to work with
syscons, pcvt, codrv, ...
1993-09-06 03:00:38 +00:00
rgrimes
3033ef8ea1 Replaced all references to comxx with ttyxx, since that is what all the
other tools really want.

Targets sio*) and com*) now create entry named ttyxx, default setup with
a sh MAKEDEV all is to use the sio major numbers, com is all but depreicated
now.
1993-09-05 15:53:39 +00:00
rgrimes
4e1401186b Updated st*) entry from Julian. 1993-08-30 07:48:38 +00:00
rgrimes
16af953e41 Removed as0 and as1 from the all case since these are obsolete (use sd0...) 1993-08-02 10:16:10 +00:00
rgrimes
f79988043e Removed vty04 from sh MAKEDEV all since that casued root login problems
on the console if you do not run codrv.
1993-07-30 11:00:54 +00:00
rgrimes
b289e6513e Fixed some errors in disktab (from NetBSD), floppy 5 corrected, and CP3100.
Fixed some errors in disktab (from NetBSD), floppy 5 corrected, and CP3100.
MAKEDEV script from 0.1.2.4 system.
1993-07-19 18:50:36 +00:00
rgrimes
241ccdeaf3 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00