Commit Graph

287 Commits

Author SHA1 Message Date
brian
2b4420e8f9 Don't specify root:wheel for tun*, it's the default.
Pointed out by:	bde
2001-02-03 23:31:31 +00:00
brian
6ea1307c05 Change the permissions on /dev/tun* to 0600 root:wheel 2001-02-03 00:32:17 +00:00
cokane
a4be54702c D'oh! Forgot to link to /dev/voodoo. 2001-01-26 01:13:29 +00:00
n_hibma
fc589915cc Give the USB devices sensible default permissions.
Suggested by:  Kaltashkin Eugene <zhecka@klondike.ru>
2001-01-07 18:43:31 +00:00
phk
2c89edf9bb Add the "mdctl" device under the "std" stanza. 2000-12-28 20:59:19 +00:00
phk
fb055f99b3 Create the vn%d.ctl devices.
In a few days I will commit a patch which changes vn(4) to use the
disk-minilayer.  This will make vn(4) fully DEVFS friendly but have
the side effect that vnconfig needs the vn%d.ctl devices to be able
to configure vn(4).

Please remake your /dev/vn entries with this revision of MAKEDEV if
you don't rung DEVFS already.
2000-12-16 18:46:45 +00:00
nsayer
8d74a263ce Add MAKEDEV support for jogdial device, the first cut of which will be
committed shortly.
2000-12-11 19:10:40 +00:00
msmith
33e0e594a8 Add the 'amr' control device. 2000-11-28 21:53:42 +00:00
truckman
ba9ae7c4f7 Back out change to prepend /sbin:/bin to $PATH, just overwrite $PATH
with these in the normal case.

Set MAKEDEVPATH in sysinstall to include the /mnt2 stuff before starting
the fixit shell.
2000-11-05 17:59:29 +00:00
truckman
f8f09a580e Change MAKEDEV so that it prepends /sbin:/bin to $PATH instead of totally
overwriting $PATH, and find mknod $PATH instead of hardcoding /sbin so
that the copy of MAKEDEV on the fixit floppy is usable, since mknod and
expr live in /mnt2/stand when the fixit floppy is running.

Get rid of the sed invokation in release/Makefile that attempts to
delete the PATH setting stuff from MAKEDEV on the fixit floppy.  This
hasn't worked since a long ago change to MAKEDEV caused the sed
expression to no longer match.

PR:		misc/21241
2000-11-05 15:34:58 +00:00
msmith
32bfa9aed6 Move 'tw*' after 'twe*' so that it's possible to create the control device
for the 'twe' driver.  This is an expedient solution for an
actually-manifesting symptom of a major problem with MAKEDEV.  Roll on
DEVFS.
2000-10-31 00:21:41 +00:00
n_hibma
a0c82949bf Entry for umodem0 devices, 124. 2000-10-29 14:06:12 +00:00
n_hibma
71ac041c16 The USB scanner driver. To be used together with SANE. 2000-10-25 10:34:38 +00:00
sos
b5115253f7 Oops better ad the ar device to the all target, people might want to
install on these...
2000-10-24 15:40:20 +00:00
sos
093d7695b1 Add the ATA RAID (ar) device 2000-10-24 14:31:24 +00:00
markm
e93e32833d Make the [u]random device's permissions match those in the matching
make_dev() call.

At the moment, it is an error for anyone but root to write to this
device (EPERM), and the permissions don't suggest that. Soon, however,
anyone will be able to write here, but only root will cause an implicit
reseed.
2000-09-14 17:48:47 +00:00
msmith
b529d77307 Teach MAKEDEV about 'aac'. 2000-09-13 05:03:02 +00:00
iwasaki
bf91a5cf43 Add /dev/acpi for ACPI. 2000-08-29 20:20:54 +00:00
jhb
948d20ddba - Break the acd track devices out into a seperate target acdXt[Y]. The
X field is treated the same as the unit number for acdX.  The optional
  Y parameter specifies the number of track devices to create starting at
  track 1.  If Y is not specified, it defaults to 100.
- Add the acd0t target to the all target to preserve previous behavior.
- Don't add the acd0t target to the fixit target, thus keeping the fixit
  floppy from running out of i-nodes.
2000-08-28 23:14:44 +00:00
brian
c0d8c4f89b Fix the urio and ugen devices (I meant unit2minor, not minor2unit)
Problem pointed out by: markm
2000-08-18 07:01:19 +00:00
brian
2c225e0679 Add unit2minor() and use it where appropriate so that we handle
units > 255 properly.

Fix usio while I'm there
2000-08-16 16:42:50 +00:00
sos
140ba3a556 Add the acdNt# devices to the acd entry, for individual track access. 2000-08-11 09:22:34 +00:00
green
3cd153a604 Keep urandom as a link to random (but a hard link). 2000-07-30 16:18:48 +00:00
green
4f74130532 Since the driver supports both (and may have different semantics for
both soon...), create urandom instead of the link to random.  It's
also what makes sense according to the make_dev(9)'s in random(4).
2000-07-30 03:15:11 +00:00
nsayer
14503a8247 Add the tap driver.
The tap driver is used to present a virtual Ethernet interface to the
system. Packets presented by the network stack to the interface are
made available to a character device in /dev. With tap and the bridge
code, you can make remote bridge configurations where both sides of
the bridge are separated by userland daemons.

This driver also has a special naming hack to allow it to serve a similar
purpose to the vmware port.

Submitted by:	myevmenkin@att.com, vsilyaev@mindspring.com
2000-07-20 17:01:10 +00:00
ru
06cffe2533 Add /dev/agpgart for AGP.
Reviewed by:	dfr
2000-07-19 09:21:14 +00:00
imp
42caeca203 Apm device is now safe to be world readable, so make it so. 2000-07-19 06:35:58 +00:00
tanimura
7716c5370a Finally merge newmidi.
(I had been busy for my own research activity until the last weekend)

Supported devices:

SB Midi Port			(sbc + midi)
SB OPL3				(sbc + midi)
16550 UART			(midi, needs a trick in your hint)
CS461x Midi Port		(csa + midi)

OSS-compatible sequencer	(seq)

Supported playing software:

playmidi			(We definitely need more)

Notes:

/dev/midistat now reports installed midi drivers. /dev/sndstat reports
only pcm drivers. We need the new name(pcmstat?).

EMU8000(SB AWE) does not sound yet but does get probed so that the OPL3
synth on an AWE card works.

TODO:

MSS/PCI bridge drivers
Midi-tty interface to support general serial devices
Modules
2000-07-11 11:49:33 +00:00
cokane
34aedd1b1f Force the link from 3dfx# -> 3dfx, so that it doesn't bail with "file
exists"
2000-06-26 15:42:48 +00:00
markm
06c84cc174 Clean up all the old setup code for the old /dev/random. This will be
revisited when the new /dev/random is done.
2000-06-25 10:55:23 +00:00
cokane
f3680800aa Add 3dfxN to MAKEDEV, automatically links 3dfx to the last 3dfxN made. 2000-06-24 06:36:39 +00:00
tanimura
423e956387 1. Update Comtrol RocketPort driver(rp) to version 3.02.
2. Newbusify the driver.
3. Build as a module.

4. Use correct minor numbers when creating device files.
5. Correctly lock control characters.
6. Return ENXIO when device not configured.
Submitted by:	Tor Egge	<Tor.Egge@fast.no>

7. Fix the baud_table.
Submitted by:	Elliot Dierksen	<ebd@oau.org>

Note:
- the old driver still lives in src/sys/i386/isa, so that you can
  revert to it if something goes wrong.
- The module does not detach very well. Attaching works fine.
2000-06-11 06:43:16 +00:00
msmith
918f25d617 Learn how to create device nodes for the 'twe' devices. 2000-05-24 23:49:49 +00:00
jhb
340c567fdf Add kbd1 to MAKEDEV's all) target so that we support using kbdcontrol
to switch keyboards out of the box.
2000-05-12 02:56:31 +00:00
obrien
7bae16de68 Fix the linking in my `sa' changes.
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2000-05-10 02:51:36 +00:00
peter
cb0c837016 Fix some whitespace brokeness.. (usio and ctx) 2000-05-09 01:15:55 +00:00
peter
1fdae04488 Finish off replacing the rest of the duplicate mknod's with hard links. 2000-05-09 00:07:46 +00:00
peter
d3b16da45f Use printf (shell builtin) instead of cut - cut isn't in /bin.
This should fix the ttyA* and cuaA* up to the maximum possible 128 nodes.
2000-05-08 22:56:17 +00:00
obrien
75b1eefecc Add [en]sa devices for othoginality. 2000-05-08 21:32:24 +00:00
asmodai
d29c3aef01 Fix comparison of units.
Submitted by:	Maxim Sobolev <sobomax@altavista.net> on -current
2000-05-06 14:17:23 +00:00
peter
4c69e0f4d7 Fix a couple of easy cases where we make two identical devices.. one
/dev/xxx and one /dev/rxxx.  This changes them to a hard link so that
less inodes are consumed and so that the permissions are always in sync.
There are lots more of these still.
2000-05-01 10:43:06 +00:00
chris
920a19976b Replace the /dev/stdin, /dev/stdout, and /dev/stderr nodes with
symlinks to fd/0, fd/1, and fd/2 respectively.  This will make
things easier for upcoming changes to fdesc (and does not break
anything for the current state of things) and hopefully its
position as the replacement for our existing static /dev/fd nodes.

Suggested (and reviewed) by:	phk
2000-04-26 06:12:42 +00:00
n_hibma
8228779b11 Doug Ambrisko recommends not using minor 0-127 yet (Hardware flow
control)
2000-03-26 19:48:49 +00:00
n_hibma
e49a6026c4 Add the entry for usio, major 138 2000-03-26 12:59:22 +00:00
n_hibma
5445855c7b Add the entries for urio. 2000-03-18 18:45:48 +00:00
jlemon
b81515b53b Correct device naming for IDA disk nodes (idad) 2000-03-08 18:14:02 +00:00
rwatson
ce579c85fe Modify MAKEDEV to create four bpf devices instead of one when doing a
MAKEDEV all, making DHCP on multiple interfaces happier, and allowing use
of tcpdump to to debug DHCP, without creating more devices.
(we need devfs)

Modify MAKEDEV to create four tun devices in MAKEDEV all as well, since
we're being gratuitous with network pseudo-devices.
(we need devfs)

Approved by:	The Hubbard
2000-02-18 05:49:08 +00:00
n_hibma
0efdb1e473 Add the uhid device.
Approved by:   jhk
2000-02-12 21:16:01 +00:00
rwatson
a4d6222e61 Remove /dev/console from the jail /dev environment. It's probably not
strictly a security hole, but neither is it a very good idea.  Replace
it with a symlink to /dev/null to happify programs that expect it.

It is suggested that users of the jail environment modify the jail's
syslog.conf to not send stuff to /dev/console, but instead syslog
it somewhere else.  Such as a loghost, potentially even to the host
environment's syslog.

Approved by:	jkh
2000-02-09 22:08:12 +00:00
bde
945f3db468 Fixed chgrp lossage in rev.1.233. Most floppy devices and all slices for disk
devices because accessible by group wheel instead of group operator.

Didn't fix fishy group for rsa*.ctl.  This device should have group operator
if that is safe, or mode 600 and group wheel.

Removed ssc and uk*.

Removed bogus (redundant) chmod's to 600.
2000-01-29 10:32:49 +00:00