Commit Graph

152 Commits

Author SHA1 Message Date
cwt
7674194b7a Adjustments for ccd devices:
1) Resulting special files now in group operator.  (Reviewed by bde)
2) Use $disk_umask when creating ccd device specials.  (Suggested by
   bde)
3) No longer create rccd{n}.ctl; ccd's are not necessarily scsi.
   (Suggested by bde)
4) No need to split short lines.  (Suggested by bde)
1998-02-09 08:41:49 +00:00
jkh
68d4a23fe0 Add wfd to all target, reorder devs to put like with like since we lost
all pretense of an alphabetical ordering some time back.
1998-01-22 21:26:22 +00:00
pst
5b2d50825d Bring in IDE ATAPI floppy support.
This is Junichi's v1.0 driver.

NOTE: Major device numbers have been changed to avoid conflict with other
      FreeBSD 3.0 devices.  The new numbers should be considered "official."
      This driver is still considered "beta" quality, although we have been
      playing with it.  Please submit bugs to junichi and myself.

Submitted by:	junichi@astec.co.jp
1998-01-16 22:13:07 +00:00
steve
4258e0c506 Fix generation of Comtrol RocketPort devices.
PR:		5468
Submitted by:	Steve Gericke <steveg@comtrol.com>
1998-01-09 18:32:51 +00:00
jkh
2b0bc076df strengthen mknod().
Submitted by:	bde
1998-01-03 11:53:52 +00:00
jkh
2fd599503d Fix jkh typo in VTY rule.
PR:		5411
Submitted by:	Brian Tao <taob@netcom.ca>
1998-01-02 22:16:15 +00:00
jkh
6ce389dcd3 Normalize default owner/group handling, fix bogons in a couple of
printf arg lists.
1997-12-29 09:45:23 +00:00
jkh
f5f5008388 Yet another slight bogon that I just noticed needed cleaning up. The for
loop was sloppily written, taking advantage of a default for argument
handling which few are probably aware of rather than stating its purpose
more explicitly.  Can't also help but notice that the fd* entry also contains
far more comment lines than actual statements - can we please clean that
up?  The wt* entry could use a bit of the same.
1997-12-29 00:10:20 +00:00
jkh
2d2c1486ba Whoops - one small tweak: I eliminated the deprecated isdn case,
so also remove mention of it in the comments.
1997-12-29 00:03:36 +00:00
jkh
70552aa81e Remove all explicit rm's (with and without wildcards) and replace them
with a function which does the rm/mknod in one step, eliminating the
gratuitous device node removal behavior of before.

Reviewed by:	bde
1997-12-29 00:02:18 +00:00
brian
9564a08fa8 The ``super scsi'' device is /dev/scc.
I'm not sure it's fully functional though !
1997-12-19 14:14:26 +00:00
jkh
1e98da5dbb Add entries for Comtrol Rocketport driver.
Submitted by:	Amir Farah <amir@comtrol.com>
1997-08-28 12:14:14 +00:00
jmg
671b69f613 add a bktrX target (for Bt848 based cards) 1997-05-11 00:34:36 +00:00
danny
98fd8974f6 Update MAKEDEV to handle lots of tun devices, consistent with the tun device
selection code in usr.sbin/ppp/os.c (tun0-tun127, rather than tuna and tunb).
Also, make it make all devices up to and including the requested one.
1997-03-10 02:10:58 +00:00
joerg
87a2ee48a6 Now that we can read from a worm device, handle their permissions as
we do for other disk devices, too.
1997-03-05 14:04:00 +00:00
bde
55030479cb Merged Cortex frame grabber entry from 2.2. 1997-03-03 16:13:35 +00:00
peter
f173325ac8 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
joerg
fd95191a55 Add worm(4)'s bdev entry. 1997-02-06 22:23:26 +00:00
bde
442be6986b Use shifts instead of multiplications and |' instead of +' to simplify
dkminor().  Use $((1 << 29)) instead of a mysterious decimal number for
$scisctl.  Use dkminor() instead of repeating part of it for special cases.
Shortened some long lines.
1997-01-27 06:24:10 +00:00
dg
02c3a3f7ba Change to use some unused bits in the 'type' field to extend the unit field
to 9 bits (512 units) for disk devices.
1997-01-24 22:00:35 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
nate
212fea1cc7 Added apm and card[01] devices to all target.
Suggested by:	bde
1997-01-13 17:37:20 +00:00
joerg
b5550d52c4 While being here, also create all the gsc device nodes as described in
the gsc(4) man page, and allow for more than one unit number.
1996-12-30 20:51:36 +00:00
jkh
0e16e2c15f Close PR#2198:
I've added an installation from optical disk drive facility.
	This enables FreeBSD to be installed from an optical disk, which
	may be formatted in "super floppy" style or sliced into MSDOS-FS
	and UFS partitions.

	Note:  ncr.c should be reviewed by Stefan Esser <se@freebsd.org>
	and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this
	into 2.2.

Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
1996-12-13 07:55:14 +00:00
andreas
bacf907983 Added $PATH to the end of PATH. Otherwise the command 'expr' can't be
found by the shell when running MAKEDEV from the fixit floppy environment.
1996-11-14 14:28:26 +00:00
bde
633ae526c5 Fixed cualc and cualD minor numbers which I broke in the previous commit. 1996-11-01 08:49:13 +00:00
bde
f0dc1eabd5 Restored order of cuac above ttyc.
Fixed some style bugs for cua* and tty*.

Removed superfluous chmod for consolectl.

FIxed a tiny security bug for perfmon and changed the style for
perfmon to match the style of the non-std devices.
1996-10-25 15:01:33 +00:00
se
78d5f7662c Add character device (78,0): pci
Submitted by:	wollman
1996-10-22 20:41:03 +00:00
dg
ed14d44dd0 Changed ttyc? and cuac? specifications to support multiple controllers.
A "MAKEDEV ttyc0" now creates 32 units for controller 0, ttyc1 for
controller 1, etc..
1996-10-13 01:12:01 +00:00
sos
a6a179df03 Fix for the problem that moused hangs if it is started from /etc/rc
Introduces the /dev/consolectl device for controlling various
console related things (given syscons is used).
1996-09-09 18:47:47 +00:00
ache
664f5531fc Use the same perm/owner for sysmouse as for others mouse devices 1996-09-09 00:02:44 +00:00
ache
b435c82147 Make sysmouse device for syscons 1996-09-08 23:56:27 +00:00
wosch
3e25342c53 update comment for tun*
add comment for snp*
1996-07-02 23:11:06 +00:00
ache
59e21d0c09 IDE cd fixes:
wcd?a is missing
wrong partition number was used for wcd?c
1996-06-07 15:47:15 +00:00
asami
415685ca3c Bring in ccd support.
Entry to create ccd devices.
1996-05-03 05:37:34 +00:00
jkh
d202e9c6fc Add wcd0 to `all' target. The fate of the IDE CDROM support in 2.2
is becoming clearer.. :-)
1996-05-02 09:15:57 +00:00
wollman
66e5084c48 Provide for creation of /dev/perfmon. 1996-03-26 21:04:54 +00:00
jkh
c1e64e481a Fix Nate's spamming of this file - every backquote needs a matching one.. :-) 1996-03-19 03:48:53 +00:00
nate
aaff9b04b7 Added some comments regarding the apm device, and added support to
create the PC-CARD devices.

Note: The APM character special device is named /dev/apm and not apm0 as
was prvioiusly since only one APM device can exist in a system at a time
according to the the APM specifications.
1996-03-18 20:28:27 +00:00
pst
ef78cb2df2 Add support for Connectix QuickCam(tm) 1996-02-02 19:25:24 +00:00
mpp
3aff305a53 Another round of spelling fixes. 1996-01-31 15:03:18 +00:00
bde
3a9c20a29c Use umask disk_umask=037 for all (writable) disks. Use umask
tape_umask=017 for all tapes.  This has a significant effect only
for ft and st (they were created with the wrong umask 002 and then
chmod'ed to mode 640; now they are created with mode 660).

Chmod the st control devices (mode 3) to 600.  These need to be
more secure than the st i/o devices, but were less secure.

Use the default umask of 077 for joy0.  002 gave mode 664, which
is insecure.

Use umask 037 for ch*.  Cosmetic.

Removed redundant chmod's.

Sorted case lists for disks.
1996-01-28 19:10:37 +00:00
joerg
0947c5eeda Restrict /dev/io perms to 0600. 1995-12-31 09:30:30 +00:00
markm
456570598f Move the creation of the *random devices to the same "target" as the
rest of the memory group - std. Also correct the permissions so as not
to force a security hole. If /dev/*random have the permission 640 and
ownership bin.kmem, it forces applications that need random numbers
to be at least SGID. Picture the scene of a SGID PGP being able to
read /dev/kmem!
1995-12-03 17:26:21 +00:00
bde
6eadaa6667 Add random and urandom. 1995-10-29 15:52:31 +00:00
bde
e28ffae1a8 Update Digiboard entries.
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su>
1995-10-17 16:26:54 +00:00
peter
2686702724 Update the /dev naming for the Specialix driver.. I've changed it to do
the same sort of thing as the Digiboard driver (ttyD*), as creating 96
/dev entries one by one was very painful.
1995-09-22 20:42:11 +00:00
ats
1fa8cd4c0c Add a description for the wcd* devices to the Disks section. 1995-09-16 23:15:01 +00:00
jkh
94c170a647 Add entries for Digiboard serial card and document Specialix driver
entries while I'm at it.
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su> + mods by jkh
1995-09-03 20:40:16 +00:00
joerg
15cd026407 Install the hooks for the Japanese `od' driver (aka. MOD).
Submitted by:	akiyama@kme.mei.co.jp (Shunsuke Akiyama)
1995-08-19 15:50:56 +00:00