Commit Graph

254 Commits

Author SHA1 Message Date
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
n_hibma
d391e2ce0f 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
n_hibma
c949fad9c4 Group of usb and usb\d+ is now operator and permissions are 0660.
Might need to be revisted to make it 0640 and limit the access to usb
and usb\d+ (in sys/dev/usb/usb.c) to 'retrieve info' only for operator.
2000-01-21 09:42:20 +00:00
jkh
a90388ad5b Add device entries for new parallel port radio clock driver.
We were supposed to get these in far earlier and didn't, hence
the commit after feature freeze.  A promise is a promise. :)

Submitted by:	Sascha Schumann <sascha@schumann.cx>
2000-01-19 18:16:24 +00:00
mjacob
fe114528e0 add SES driver 2000-01-15 21:04:13 +00:00
guido
6d4f148a66 Readd ipfilter devices
PR:		16093
2000-01-13 20:27:22 +00:00
obrien
c5f442850d Remove usage of chgrp(1) and wrap long lines. 2000-01-07 16:20:25 +00:00
msmith
771c20362e Now that chown is no longer available, we shouldn't try to use it.
Improve the internal mknod() to understand being passed an (optional)
user:group specification.

Don't apply root:wheel to nodes explicitly anywhere, it's the default.

Remove an odd looking uucp:wheel assignment, as it's inconsistent with
all the other tty?? devices.
2000-01-06 10:56:46 +00:00
msmith
f3ef7b4ecf Add support for building the 'mlx?' devices, which will be used by the
upcoming 'mlxcontrol' utility.
1999-12-29 01:11:29 +00:00
kato
0f669b4213 Added following modes:
5in     HD 2 heads, 77 cylinders, 8 sectors/track, 1024 bytes/sector
 5/3.5in DD 2 heads, 80 cylinders, 8 sectors/track, 512 bytes/sector

Meanings of the rogrammer-readeble fd name were explained by Brian
Fundakowski Feldman and Peter Wemm in hackers list and NOKUBI
Hirotaka.

Reviewed by:	nyan
1999-12-28 07:38:38 +00:00
bde
ca9961972f Moved $FreeBSD$ to its usual place after the CSRG id.
Fixed some style bugs for cam (superflous umask and missing newline).

Fixed bogons for apm.  The pattern "apm*" matched too many things; apm
and apmctl were both made twice by `MAKEDEV all'.  Hopefully no one
depends on `MAKEDEV apm0' making apm or on `MAKEDEV apm' making apmctl.
1999-12-26 15:24:58 +00:00
green
48b97c0997 Remove all vestiges of /usr programs (awk, sed, grep...) from MAKEDEV.
MAKEDEV can now run (with /sbin/chown and /bin/chgrp, still) without
any /usr.  The default PATH for MAKEDEV is now "/sbin:/bin" to prevent
against further spammage of /usr programs in MAKEDEV.  In the event
of an emergency, the variable "MAKEDEVPATH" can be used to replace
PATH, but I don't know what that emergency could be.
   Let me know if you have any problems.  I've tested it as well as
I could, which basically means everything except for RocketPorts.

Reviewed in principle by:	peter
1999-12-19 09:42:15 +00:00
joerg
b25aed7d44 The target `all' evoluted into a kitchen-sink these days... It's no
longer really suitable as a default to create the various /dev nodes
to be contained on the fixit floppy, since all our proud new devide
nodes finally made the fixit floppy run over...

So instead create a new target titled `fixit' which creates just the
dev nodes for a single unit per each default driver; whoever needs
more of them is free to create whatever he needs, perhaps after
killing unused nodes before.  There were more than 700 /dev nodes on
the floppy before that action, and it's still around 350 now.  I doubt
all the various /dev/ugen* entries are really useful on such a tool,
so people, please check, and if you feel like more could be eliminated
from that floppy, kill'em.

While i was at it, removed traces of ft(8) that still survived even
though the driver has long since been dead.

That's step #1.  #2 will follow...
1999-12-14 22:36:03 +00:00
msmith
0ddf613fca As promised long ago, remove the last evidence of the 'sd' driver.
SCSI disks are only known as 'da' now.
1999-11-27 21:17:02 +00:00
phk
3b38d4c545 Do not create bdev nodes anymore. Instead create cdev nodes with the
same names:

        rover# ls -l /dev/*wd0a
        crw-r-----  1 root  operator    3,   0 Nov 26 20:20 /dev/rwd0a
        crw-r-----  1 root  operator    3,   0 Nov 26 20:20 /dev/wd0a

Notice: Over time, no earlier than FreeBSD 5.0, the "r*" names may
be discontinued.  A fair number of programs and scripts need to
(un)learn some tricks before then.

This will take no effect until you either run MAKEDEV by hand or
reinstall your system.

WARNING:  Kernels older than approx November 22 will not be happy
about a /dev created with MAKEDEV after this commit.  Please update
your /kernel.good etc.
1999-11-26 20:45:26 +00:00
n_hibma
c058bf3280 Make the devices for the endpoints 0-15, not only for 0. This creates
ugen0 and ugen0.1 - ugen0.15, not only ugen0 (control endpoint).
1999-11-24 21:05:59 +00:00
phk
3d54d3434f Remove /dev/drum 1999-11-24 19:14:11 +00:00
phk
bb1b0143c3 Remove leftover reference to the "od" devices. 1999-11-24 19:07:31 +00:00
n_hibma
9257d7c5a0 Add the entry for usb (as opposed to usb<number>). It's minor is equivalent
to usb255 and will be used for the event queue of the usb daemon.
1999-11-17 23:02:34 +00:00
sos
90188d1d4b cleanup the IDE cases a bit, add the ad driver to the all: target. 1999-11-09 12:53:01 +00:00
nik
0c2ff8ce1e Document the ch* devices.
PR:             docs/14401
Submitted by:   Crist J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>
1999-11-01 19:45:59 +00:00
obrien
fb0fd2c664 Fix ownership of /dev/fd/*. We still had a bin:bin hangover from pre-3.0.
Noticed by:	bde
1999-10-30 07:00:13 +00:00
brian
99455ff0f7 Fix ``MAKEDEV acd''
Spotted by: Mark Knight <mkn@FreeBSD.org.uk>
1999-10-15 16:20:58 +00:00
gibbs
e4a81da9a3 Remove references to the od driver. These devices are no attached by
the da driver and using the same major/minor scheme with the old name
only leads to confusion.

PR: misc/14279
1999-10-12 15:51:58 +00:00
peter
0078f32414 remove ipl hooks 1999-10-10 15:13:48 +00:00
msmith
9ac9ad09b0 Add entries for the 'amrd' and 'mlxd' disk nodes used by the AMI MegaRAID
and Myles drivers respectively.
1999-10-07 02:37:04 +00:00
phk
cacd50768f Add support for md driver.
sort some comments
1999-09-21 11:11:26 +00:00
bde
b954d78bfc Fixed some disordering (mainly of case lists for disks).
Fixed bitrot in the `wcd*)' case.
1999-09-13 16:15:58 +00:00
sheldonh
d8a93d30ec Apply a consistent style to most of the etc scripts. Particularly, use
case instead of test where appropriate, since case allows case is a sh
builtin and (as a side-effect) allows case-insensitivity.

Changes discussed on freebsd-hackers.

Submitted by:	Doug Barton <Doug@gorean.org>
1999-09-13 15:44:20 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
gehenna
ef881e6127 added usb0 to 'all' target for usbd(8) 1999-08-21 18:01:42 +00:00
sheldonh
42550e4713 Use a colon (:) instead of a period (.) to distinguish the group name
from the user name when using chown(8).

PR:	13157
Reported by:	Patrick Powell <papowell@astart.com>
1999-08-16 16:00:23 +00:00
iwasaki
be16db802f Put apmd configuration and rc files in /etc.
Update some files for apmd.
1999-07-10 18:02:42 +00:00
phk
f4278e6711 Add a pseudo target called "jail" which DTRT for a jail(2)'ed /dev 1999-07-09 21:35:17 +00:00