Commit Graph

321 Commits

Author SHA1 Message Date
bde
df30d6374f Support more than 32 sio unit numbers. The maximum unit number is now
(65536 * 32 - 1), but MAKEDEV only supports up to (32 * 32 -1).  Device
names use the unit number in base 32 for all "digits".

This required fixing an old bug in MAKEDEV:ttyminor().  Its arg was the
global $unit instead of $1.

Reminded by:	Valentin K. Ponomarenko <valka@krog.ukrtel.net>
MFC-after:	1 week
2002-03-31 09:15:43 +00:00
cjc
d488da1915 Remove a mention of the worm(4) device that was missed when it was
removed from MAKEDEV in 1.171.

PR:		misc/35729
MFC after:	1 day
2002-03-10 22:34:56 +00:00
jhb
1fd7d64d57 Fix MAKEDEV for RocketPort (rp(4)) cuaR* and ttyR* to work with the
updated driver.  The newer driver in current outputs a version string
that contains a space, so we need to eat two words in between RocketPortX
and the number of ports on the board.
2002-02-09 21:16:54 +00:00
cjc
c939887237 Fix some leftover stray characters from expr(1)-to-$(()) sweeps.
PR:		bin/33158
Submitted by:	Adrian Filipi-Martin <adrian@ubergeeks.com>
MFC after:	1 day
2001-12-27 22:41:35 +00:00
joerg
5a63bf2b84 Remove nonstandard floppy device nodes. Only keep the base device node,
plus the symbolic links to the fake BSD partitions.

Also remove the rfd* devices, they are neither necessary nor documented
anymore.
2001-12-27 15:03:25 +00:00
sheldonh
80798b4225 Now that smbfs is fully integrated into the base system, create
/dev/nsmb* device nodes, which used to be done by the port installation.

PR:		33068
Submitted by:	Dimitry Andric <dim@xs4all.nl>
2001-12-26 15:44:06 +00:00
des
ac8ed77cfa Bruce says the links are not needed. 2001-12-05 08:50:51 +00:00
des
ecc2670185 Call the ATAPI tape devices "ast" and "nast", not "rast" and "nrast". Add
backward compatibility symlinks for good measure.
DEVFS already gets this right (except for the symlinks).

PR:		24781
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
MFC after:	3 days
2001-12-04 00:48:21 +00:00
des
d3e87ede47 Create {ad,da,...}s1[a-h].
PR:		19849
Submitted by:	Udo Erdelhoff <ue@nathan.ruhr.de>
MFC after:	3 days
2001-12-04 00:40:38 +00:00
msmith
e614b0ad04 Support the 'ciss' device node.
MFC after:	1 week
2001-11-27 23:12:00 +00:00
sheldonh
776532304a Catch two extraneous calls to expr(1) that slipped past rev 1.311. 2001-11-27 11:57:47 +00:00
sheldonh
4a36d47b42 Style clean-up.
Submitted by:	bde
2001-11-25 12:49:32 +00:00
sheldonh
915800e911 Avoid unnecessary calls to expr(1) by using standard shell arithmetic
expansion instead.

MFC after:	1 week
2001-11-20 17:56:34 +00:00
sheldonh
aaeaa0d93a Introduce new shell functions hexdigit, hexprint and zeropad.
Use these new functions instead of printf(1), which is scheduled for
removal as a shell builtin command, and which will not be available as a
standalone utility if MAKEDEV is run prior to mounting /usr.

Requested by:	knu
2001-11-20 17:24:35 +00:00
iedowse
2332b7be9a Add support for making the Coda /dev/cfsN devices.
PR:		conf/22695
Submitted by:	Kenneth Ingham <ingham@i-pi.com>
2001-11-18 00:20:08 +00:00
matusita
212eddcc65 sysinstall complains about creating acd0t* devices while all dists are
extracted and recreating device files.

Without this, you'll see following messages when 'MAKEDEV all':
	[:  : out of range
	[:  : out of range
	acd0t is invalid -- can't have more than 32 devices or 169 tracks

Reported by: David Syphers <dsyphers@uchicago.edu> (at current@FreeBSD.org)
2001-11-13 18:07:14 +00:00
dd
3700e53927 $units is the canonical name for the number of units to create; use it.
PR:		29971
Submitted by:	Joseph Mallett <jmallett@xMach.org>
2001-08-23 22:19:53 +00:00
mjacob
e6e6a6f268 move forward the ability to MAKEDEV zs devices for TurboLaser 2001-08-21 00:03:28 +00:00
scottl
66a4ec3504 Add /dev/hpn? as an alias to /dev/aac? so that the HP version of the CLI
utility will work, and document it in the manpage.

MFC after:	3 days
2001-07-25 22:36:17 +00:00
dd
f51667b39c Don't insist on creating rocketport devices in /dev.
PR:		21394
Submitted by:	Craig Leres <leres@ee.lbl.gov>
2001-06-28 07:07:12 +00:00
phk
4228d2730e Stop creating vn(4) devices. 2001-05-29 09:30:42 +00:00
phk
781572d862 Remove altmodishe "[bc]dev, " comments.
PR:		18836
Submitted by:	ben
2001-05-29 09:29:29 +00:00
brian
d56c2badd6 Add a ``digi'' driver.
This driver supports PCI Xr-based and ISA Xem Digiboard cards.
dgm will go away soon if there are no problems reported.  For now,
configuring dgm into your kernel warns that you should be using
digi.  This driver is probably close to supporting Xi, Xe and Xeve
cards, but I wouldn't expect them to work properly (hardware
donations welcome).

The digi_* pseudo-drivers are not drivers themselves but contain
the BIOS and FEP/OS binaries for various digiboard cards and are
auto-loaded and auto-unloaded by the digi driver at initialisation
time.  They *may* be configured into the kernel, but waste a lot
of space if they are.  They're intended to be left as modules.

The digictl program is (mainly) used to re-initialise cards that
have external port modules attached such as the PC/Xem.
2001-05-02 01:08:09 +00:00
obrien
e429759bcf Formatting fix for rev 1.298 where I did not take enough care. 2001-03-27 17:07:37 +00:00
obrien
98ec60c8cc Don't call the fictious `MAKEDEV' from the path "/sbin:/bin" when we
recurse.  Rather recurse on ourself (as we know our own name).
2001-03-27 01:23:07 +00:00
scottl
1ce565e86b Bah. 'ln -sf' -> 'ln -fs'. I need to read my email more closely in the
mornings.

Pointy hat again Obtained from:	roam@orbitel.org
2001-03-25 15:51:43 +00:00
scottl
912034d72b 'ln -s' -> 'ln -sf' for the afa link.
Pointy hat Obtained from:	roam@orbitel.bg
2001-03-25 14:11:55 +00:00
scottl
ca468b5fe7 Create afaN as a simlink to aacN. Add a comment about the aac device. 2001-03-22 21:29:16 +00:00
jkh
a7421f4945 Add back the wd* entries. It turns out they're still used by the PC98.
Noted by:	nyan
2001-03-22 10:39:03 +00:00
jkh
cc245046cd Don't create legacy wd* devices by default. Let the user do this if
they so desire it.

Suggested by:	rwatson
2001-03-22 07:30:02 +00:00
sos
7889f80f2c Add the ata control device 2001-03-15 15:32:42 +00:00
obrien
e942c0fc60 Comment style fixes 2001-03-06 01:02:23 +00:00
julian
21c0f33eb6 Add an entry for the nmdm devices 2001-02-27 18:36:56 +00:00
msmith
ef5b3005a9 Add the 'mly' device nodes. 2001-02-25 22:52:55 +00:00
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