Commit Graph

286 Commits

Author SHA1 Message Date
brian
750825d87d Change the permissions on /dev/tun* to 0600 root:wheel 2001-02-03 00:32:17 +00:00
cokane
f9e962299f D'oh! Forgot to link to /dev/voodoo. 2001-01-26 01:13:29 +00:00
n_hibma
b3019938ed Give the USB devices sensible default permissions.
Suggested by:  Kaltashkin Eugene <zhecka@klondike.ru>
2001-01-07 18:43:31 +00:00
phk
dad22c2203 Add the "mdctl" device under the "std" stanza. 2000-12-28 20:59:19 +00:00
phk
329572ef47 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
4098ede1c8 Add MAKEDEV support for jogdial device, the first cut of which will be
committed shortly.
2000-12-11 19:10:40 +00:00
msmith
0cf618ab88 Add the 'amr' control device. 2000-11-28 21:53:42 +00:00
truckman
8848151ef6 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
d413956ca1 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
eedf28497a 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
37aea887b9 Entry for umodem0 devices, 124. 2000-10-29 14:06:12 +00:00
n_hibma
3f71e941c5 The USB scanner driver. To be used together with SANE. 2000-10-25 10:34:38 +00:00
sos
f1cb282c27 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
079fd646f5 Add the ATA RAID (ar) device 2000-10-24 14:31:24 +00:00
markm
9b1951c2c4 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
cc6a9bf43e Teach MAKEDEV about 'aac'. 2000-09-13 05:03:02 +00:00
iwasaki
c74760cac8 Add /dev/acpi for ACPI. 2000-08-29 20:20:54 +00:00
jhb
75cc887d03 - 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
652c71251a 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
a0648803e0 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
1768ef16d8 Add the acdNt# devices to the acd entry, for individual track access. 2000-08-11 09:22:34 +00:00
green
240d3d93b9 Keep urandom as a link to random (but a hard link). 2000-07-30 16:18:48 +00:00
green
0245f1b8ff 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
92a13c19ec 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
5eaa310707 Add /dev/agpgart for AGP.
Reviewed by:	dfr
2000-07-19 09:21:14 +00:00
imp
fdb4620ebf Apm device is now safe to be world readable, so make it so. 2000-07-19 06:35:58 +00:00
tanimura
4b24af17f5 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
8a1ba138c0 Force the link from 3dfx# -> 3dfx, so that it doesn't bail with "file
exists"
2000-06-26 15:42:48 +00:00
markm
0cb90f0e22 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
7c12974292 Add 3dfxN to MAKEDEV, automatically links 3dfx to the last 3dfxN made. 2000-06-24 06:36:39 +00:00
tanimura
c9bc541ebb 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
e7e55dee5e Learn how to create device nodes for the 'twe' devices. 2000-05-24 23:49:49 +00:00
jhb
62d996c563 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
67d918cccd Fix the linking in my `sa' changes.
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2000-05-10 02:51:36 +00:00
peter
5d47a897e4 Fix some whitespace brokeness.. (usio and ctx) 2000-05-09 01:15:55 +00:00
peter
09f116183e Finish off replacing the rest of the duplicate mknod's with hard links. 2000-05-09 00:07:46 +00:00
peter
c4fc8b07be 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
37c368d91c Add [en]sa devices for othoginality. 2000-05-08 21:32:24 +00:00
asmodai
3529108e96 Fix comparison of units.
Submitted by:	Maxim Sobolev <sobomax@altavista.net> on -current
2000-05-06 14:17:23 +00:00
peter
c3346fdb5a 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
4f569299da 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
f0ab09536f Doug Ambrisko recommends not using minor 0-127 yet (Hardware flow
control)
2000-03-26 19:48:49 +00:00
n_hibma
1cdca787f4 Add the entry for usio, major 138 2000-03-26 12:59:22 +00:00
n_hibma
16f629fdf5 Add the entries for urio. 2000-03-18 18:45:48 +00:00
jlemon
0979b5871c Correct device naming for IDA disk nodes (idad) 2000-03-08 18:14:02 +00:00
rwatson
e4a1c89708 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
fcc93e7ad6 Add the uhid device.
Approved by:   jhk
2000-02-12 21:16:01 +00:00
rwatson
5634cb3a64 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
ab3fb70182 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
n_hibma
f51b95863f Add the unlpt\d+ device to MAKEDEV. It is the same as ulpt\d+, except
that it does not reset the printer when opened. This fixes the problem
of printing a document almost till the end and then resetting the
printer when the next print job is started.

Submitted by:   Christopher Masto <chris@netmonger.net>

Also, remove all but the ums0 device from the fixit target 'to save
precious i-nodes on the fixit floppy'.
2000-01-23 11:40:10 +00:00