Commit Graph

311 Commits

Author SHA1 Message Date
Sheldon Hearn
a86d84351b Catch two extraneous calls to expr(1) that slipped past rev 1.311. 2001-11-27 11:57:47 +00:00
Sheldon Hearn
1699365d1a Style clean-up.
Submitted by:	bde
2001-11-25 12:49:32 +00:00
Sheldon Hearn
52055837ae 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
Sheldon Hearn
ba0d15f2d7 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
Ian Dowse
2e40803106 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
Makoto Matsushita
3e7b2f7461 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
Dima Dorfman
81b83ee95d $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
Matt Jacob
94c152b8cb move forward the ability to MAKEDEV zs devices for TurboLaser 2001-08-21 00:03:28 +00:00
Scott Long
4aa620cdc6 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
Dima Dorfman
2ce07d27e5 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
Poul-Henning Kamp
f8e4bfdd16 Stop creating vn(4) devices. 2001-05-29 09:30:42 +00:00
Poul-Henning Kamp
4650edf91e Remove altmodishe "[bc]dev, " comments.
PR:		18836
Submitted by:	ben
2001-05-29 09:29:29 +00:00
Brian Somers
ad01e0c856 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
David E. O'Brien
8efc417089 Formatting fix for rev 1.298 where I did not take enough care. 2001-03-27 17:07:37 +00:00
David E. O'Brien
e53d04016c 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
Scott Long
9d4dd86bed 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
Scott Long
d536c8f7ee 'ln -s' -> 'ln -sf' for the afa link.
Pointy hat Obtained from:	roam@orbitel.bg
2001-03-25 14:11:55 +00:00
Scott Long
17d4ed2985 Create afaN as a simlink to aacN. Add a comment about the aac device. 2001-03-22 21:29:16 +00:00
Jordan K. Hubbard
0c21a00781 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
Jordan K. Hubbard
9cd5373ea8 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
Søren Schmidt
5f2ad79058 Add the ata control device 2001-03-15 15:32:42 +00:00
David E. O'Brien
cb0a8bd6ee Comment style fixes 2001-03-06 01:02:23 +00:00
Julian Elischer
5fc391d0cc Add an entry for the nmdm devices 2001-02-27 18:36:56 +00:00
Mike Smith
671468e752 Add the 'mly' device nodes. 2001-02-25 22:52:55 +00:00
Brian Somers
a567cf6dd6 Don't specify root:wheel for tun*, it's the default.
Pointed out by:	bde
2001-02-03 23:31:31 +00:00
Brian Somers
e0cd22b7b4 Change the permissions on /dev/tun* to 0600 root:wheel 2001-02-03 00:32:17 +00:00
Coleman Kane
283028861e D'oh! Forgot to link to /dev/voodoo. 2001-01-26 01:13:29 +00:00
Nick Hibma
958210ab0d Give the USB devices sensible default permissions.
Suggested by:  Kaltashkin Eugene <zhecka@klondike.ru>
2001-01-07 18:43:31 +00:00
Poul-Henning Kamp
cbc62991e0 Add the "mdctl" device under the "std" stanza. 2000-12-28 20:59:19 +00:00
Poul-Henning Kamp
ae1abfb706 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
Nick Sayer
616027041a Add MAKEDEV support for jogdial device, the first cut of which will be
committed shortly.
2000-12-11 19:10:40 +00:00
Mike Smith
660cef19da Add the 'amr' control device. 2000-11-28 21:53:42 +00:00
Don Lewis
e1a8c6b64e 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
Don Lewis
d777543987 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
Mike Smith
f704b43d99 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
Nick Hibma
b3096d8884 Entry for umodem0 devices, 124. 2000-10-29 14:06:12 +00:00
Nick Hibma
2fd84f56d5 The USB scanner driver. To be used together with SANE. 2000-10-25 10:34:38 +00:00
Søren Schmidt
31873471da 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
Søren Schmidt
cf1127945b Add the ATA RAID (ar) device 2000-10-24 14:31:24 +00:00
Mark Murray
fb90f7b3aa 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
Mike Smith
170871defe Teach MAKEDEV about 'aac'. 2000-09-13 05:03:02 +00:00
Mitsuru IWASAKI
e4a4123b1d Add /dev/acpi for ACPI. 2000-08-29 20:20:54 +00:00
John Baldwin
02e07fcda7 - 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 Somers
fb8ee6537c 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 Somers
2bc268486d 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
Søren Schmidt
ea5cb0b3c0 Add the acdNt# devices to the acd entry, for individual track access. 2000-08-11 09:22:34 +00:00
Brian Feldman
c32527f202 Keep urandom as a link to random (but a hard link). 2000-07-30 16:18:48 +00:00
Brian Feldman
ae7ccf4237 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
Nick Sayer
a5213f145a 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
Ruslan Ermilov
572c5e2af7 Add /dev/agpgart for AGP.
Reviewed by:	dfr
2000-07-19 09:21:14 +00:00