Commit Graph

225 Commits

Author SHA1 Message Date
Bruce Evans
0e229bc0a8 Add chowns for pty's, ttyv's and ttyd's. Correct the chown for lptctl's.
The group was wrong if MAKEDEV was run in a directory with group other
than wheel.  This may have messed up the group in recent SNAPs
(sysinstall/obj should have group bin).

Reset the umask to 77 after running MAKEDEV.local.  Some cases depend on
the 77 default.  MAKEDEV.local and all cases should probably set the
umask explictly and not depend on a default.  Most cases already set it.
1995-02-10 20:08:25 +00:00
Jordan K. Hubbard
a8716840ba Device entries for >32 PTYs.
Submitted by:	Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:10:02 +00:00
Jordan K. Hubbard
89bcd2d778 Video Spigot entries.
Submitted by:	Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-07 12:07:18 +00:00
Jordan K. Hubbard
770f05c102 Add tun to list of devices.
Submitted by:	mr
1995-02-01 23:15:11 +00:00
Jean-Marc Zucconi
61b1d15857 Add joystick 1995-01-25 21:21:28 +00:00
Jordan K. Hubbard
2f6df2645b Gunther Schadow <gusw@fub46.zedat.fu-berlin.de>'s
driver for the Genius GS-4500 hand scanner.
Submitted by:	gusw@fub46.zedat.fu-berlin.de
1995-01-07 14:52:08 +00:00
Andreas Schulz
c8ac34903c Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00
Bruce Evans
6216a129da Add support for sliced disk devices ssd*, svn*, swd*. The `s' at the start
of these names is so that they can be distinguished in MAKEDEV until the
non-sliced devices go away.
1994-12-16 15:59:44 +00:00
Andrey A. Chernov
1fc232a389 Fix wrong regexps 1994-12-08 00:44:55 +00:00
Andrey A. Chernov
634225d12e Fix wrong unit=expr for tty? cua? 1994-12-06 23:06:10 +00:00
Bruce Evans
8a1068b371 Name the serial ports tty* and cua* in comments. ttyd* and cuaa* don't
match all the port names.

Start using shell functions to avoid duplication.

Make tty* independent of cua*.  Restore support for old names (tty0 ==
ttyd0, cua0 = cuaa0...).

Restore making of lpt1 and lpt2 by default.

Keep umask 077 for making vty*.  World-ioctable vtys are huge security holes
because of bugs in syscons.

Make vga if a vty is made.  It may still be required for X.  It got nuked
with pc*.

Start using umask consistently to avoid using chmod.
1994-12-06 19:50:17 +00:00
Andrey A. Chernov
6a3a94427d Remove yet one pccons-related comment 1994-12-04 23:50:40 +00:00
Andrey A. Chernov
ab9ea4a725 New serial naming convention, remove tty0?, change cua0? --> cuaa?
Remove pccons stuff, we don't have it.
1994-12-04 23:48:38 +00:00
Poul-Henning Kamp
d71771e8e3 Added vn*, doing the same thing as sd* and wd*. (Disklabel support will
be added to the vn driver).
1994-12-04 20:15:15 +00:00
Jordan K. Hubbard
e28b57d51b Add back the Croynx stuff I nuked accidently. I'm not touching this
file anymore after this.  My link makes it too painful to make
interactive mods, and I don't have the CVS tree here so making changes
for "previous history" have to get done on freefall, with the corresponding
degree of pain.
1994-12-03 14:01:01 +00:00
Jordan K. Hubbard
46953c1291 Back out previous commit until we work this out. Sigh. 1994-12-03 04:46:09 +00:00
Garrett Wollman
ce257f0e68 Add cronyx driver entries. 1994-12-03 00:07:49 +00:00
Jordan K. Hubbard
4274bc80ca |From: Keith Walker <kew@timesink.spk.wa.us>
|Message-Id: <199412011713.JAA03374@timesink.spk.wa.us>
|To: jkh@whisker.hubbard.ie
|Subject: A little problem with MAKEDEV
|
|For a while now, MAKEDEV's been kinda neat: you create the cua* files,
|and it deletes the tty* files; you create the tty* files and it
|deletes the corresponding cua* files. K00l! :-)

[Ed Note - I think this behavior was wrong, and this fix better].
1994-12-02 16:08:53 +00:00
Andrey A. Chernov
0e60e64d95 Wrong raw device was created for cd/mcd: d instead of c 1994-11-12 15:48:54 +00:00
Poul-Henning Kamp
feba6ddfd8 /dev/apm should be /dev/apm0 1994-11-10 02:32:29 +00:00
Poul-Henning Kamp
3ac570fb2d The last committer didn't know that '*' doesn't start a comment in shell's ???? 1994-11-02 06:36:42 +00:00
Paul Traina
5ea2be93cd Add kernel hooks for /dev/vatio -- a minimalistic BSD audio driver emulator
created by Amancio Hasty (specificly, this, in conjunction with his sound
driver mods for dual-mode DMA will allow VAT compiled for BSD/386 1.1 to
run under FreeBSD 2.x.)
1994-11-01 01:47:22 +00:00
Poul-Henning Kamp
e68790c363 fixed a typing error. 1994-10-29 10:03:37 +00:00
Poul-Henning Kamp
85572e130f Make devices for sd2 and sd3 too. If we have them in Generic, we should
have the devices too.
1994-10-26 01:30:47 +00:00
Poul-Henning Kamp
a8a4ffd402 Various changes to the 1.1.5.1'sh install procedure. 1994-10-17 02:32:41 +00:00
Poul-Henning Kamp
3626ca509d Some changes to the old floppies to handle the new /etc/init's way of doing
things.
1994-10-16 20:38:27 +00:00
Poul-Henning Kamp
a5faf1be52 disklabel needs the "full-disk" partition 1994-10-15 07:56:02 +00:00
Søren Schmidt
a163498e32 Added socksys device (for iBCS2 emulation) 1994-10-13 20:10:14 +00:00
David Greenman
48a103c379 Added entry for apm device (needed for Advanced Power Management support). 1994-10-01 03:32:26 +00:00
Rodney W. Grimes
3c067b94d4 You must rm -f lkm before attempting to create it. 1994-09-30 07:33:42 +00:00
Garrett Wollman
98f78f2786 Make /dev/lkm as a part of std'. Delete references to ancient com' driver. 1994-09-23 19:17:27 +00:00
Rodney W. Grimes
b556ffbab0 1. Change all references for the kernel from /386bsd to /kernel.
2.  Make this say it is 2.0.0 (Development).

3.  Update the stty commands to say ^H for erase.

4.  Update the disklabel commands to use the new 4.4 syntax.
1994-09-15 04:46:16 +00:00
Poul-Henning Kamp
bee596e3db Added wd2 and wd3 to the standard set. They are in GENERICAH, they can
be installed on, so they should be in /dev as well.

Removed the smoking remains of dcf*. I didn't realize that it had made it
into MAKEDEV.  Gone from cdevsw long time ago, gone from /dev now.
1994-09-07 21:35:52 +00:00
Geoff Rehmet
12365022c0 Make it possible to run lptcontrol on a printer port which does not
actually have a printer connected or online:
- MAKEDEV:		remove all signs of lpa
			add lpctl? devices (minor # = unit + 128)
- usr.sbin/Makefile	add lptcontrol
- sys/i386/isa/lpt.c	implement the LP_BYPASS flag: when a unit is
			opened with this flag set, the printer is
			not primed, and no check is made to see that
			the printer is online.  This can only be used
			to pass ioctls.  (giving us /dev/lpctl?)
- lptcontrol.c		use /dev/lpctl? (LP_BYPASS)
			-f flag removed, -u flag added
- lptcontrol.8		document changes in lptcontrol
			rewrite using mandoc macros
Submitted by:	Geoff.
1994-09-03 22:47:08 +00:00
Jordan K. Hubbard
c7d2a2ef65 Put some of Rod's ugly hacks back - a couple of them prevent Yet Another Reboot
after bin/des distribution is extracted, so I figure it's worth it.
1994-06-29 20:29:12 +00:00
Rodney W. Grimes
57922c2a6c $rotdelay is now initialized to "-d 0 -n 1" and no longer changed based
upon disk type.  In far more cases than not this is the optimal setting
for any disk drive made after 1990.

This now means all installs will have the disks newfs'ed with either:
newfs -b 8192 -f 1024 -d 0 -n 1
or
newfs -n 4096 -f 512 -d 0 -n 1
depending on what the user chooses for the blocking factor.
1994-06-29 06:46:02 +00:00
Jordan K. Hubbard
81510658b4 Clean up the installation docs a bit (geeze Loise were they EVER out of
date!!) and rename them to something more eye-catching so people will read them
again (considering the previous state of affairs, I'm actually rather glad they didn't!).
1994-06-28 09:01:55 +00:00
Jordan K. Hubbard
4f351f3ff4 Add --unlink flag to all tar commands, but each for different reasons.
1. Add to secr and bindists to possibly save the occasional fool who
   doesn't RTFM and uses the wrong command to extract this (or even someone
   who's legitimately using this to extract on top of a bindist somewhere
   *else*).

2. Do the right thing with any symlinks in the src tree.  Right now, we're
   free of the buggers, but just in case.
1994-06-28 07:28:28 +00:00
Jordan K. Hubbard
c95719bae6 Remove Rod's hacks - they're no longer necessary with static tar/gzip and
tar --unlink.
1994-06-28 07:20:30 +00:00
Jordan K. Hubbard
4d7351f7d4 Commit Scott's changes to the bad144 stuff - bad144 takes a list of bad
blocks as *multiple* arguments, not one argument (as was incorrectly being
passed).
1994-06-28 05:56:13 +00:00
Jordan K. Hubbard
f150b420d2 Commit a small change to allow FreeBSD to install on a different drive.
The kernel configs already support this, so with a boot floppy or a utility
like booteasy, the user should be able to install and boot off the second drive.
Hurrah.
1994-06-20 06:05:16 +00:00
Jordan K. Hubbard
36dc2b3fd6 Fixes from Bruce Evans:
o insecure and inconsistent permissions for tape devices.
	o didn't make the DOSpartition wd devices.
1994-06-17 21:50:07 +00:00
Jordan K. Hubbard
b4c84151ac Add a beep to the load_fd stuff for each floppy insert request so
that you can read a book and load the floppy distribution at the same
time.. :-)
1994-06-15 21:04:04 +00:00
Jordan K. Hubbard
d5500fb5b4 Remove the --exclude libc.so.1.1 line; with a static gzip and tar we
no longer need it, and it's just one more thing we would have to remember
to change with every shared lib version bump.
1994-06-15 21:02:36 +00:00
Jordan K. Hubbard
b83e1e51be Commit Rod's magic EXTRACT scripts to the tree so that we can work on
them.  These were al hand-copied over before.
1994-06-15 20:15:12 +00:00
Jordan K. Hubbard
abe5ea49b0 1. Bump minimum root size to 8MB (we need that much now).
2. Bump version number to 1.1.5 for impending release.
1994-06-15 19:23:33 +00:00
Geoff Rehmet
bccbb20f01 Modify messages about the resolver manual page as per Rod's suggestions.
The configure function now tells the user to type "man 5 resolver"
for more info on resolv.conf, but mentions that the bindist must
be fully installed before this can be done (actually a user won't
have reached this stage if he doesn't have an installed bindist ;-)
1994-06-12 11:05:04 +00:00
Geoff Rehmet
3b7e1fa300 Allow configuration of resolv.conf though "configure". The
configuration which is done is minimal, and the script refers the user
to the resolver(5) manual page for information on fine-tuning name
resolution.
1994-06-11 12:42:35 +00:00
Geoff Rehmet
80dde3cb2b Change reference to libc.so.1.0 to libc.so.1.1.
(Pointed out by Volker Paepcke)
1994-06-08 10:52:10 +00:00
Jordan K. Hubbard
0b1915b6d4 I just realized that the vtty's won't kick in until the user loads the bindist
and reboots multiuser.  Ammend the text slightly to avoid confusion.
1994-06-04 12:00:51 +00:00
Jordan K. Hubbard
ed7be55bbd 1. Bumped version number to 1.1.5 in preparation for impending release.
2. Added notes that tell the user a little bit about how to use syscons
   since they'll be running it from the outset now and would probably like
   to know how to switch terminals.
1994-06-04 11:55:56 +00:00
Andrey A. Chernov
f21bfa8ee5 From Ache:
Add proper devices for new sio initial/locking mechanism
1994-05-30 03:53:01 +00:00
Rodney W. Grimes
26ceed66d4 Fix all the sound devices to NOT have the absolute path /dev, the makes for
missing device files in releases!!
1994-05-21 08:55:52 +00:00
Jordan K. Hubbard
d4d8a38f6f Add 4 VTY's back to the list of things to create by default (the codrv
comments were obsolete), also create a PS/2 mouse entry.
1994-05-19 11:05:09 +00:00
Rodney W. Grimes
862d153aaa Fisx spelling error from John Lind 1994-05-15 01:10:17 +00:00
Rodney W. Grimes
12d6354a35 >From 1.1 branhc:
----------------------------
revision 1.13.2.1
date: 1994/05/05 03:58:27;  author: rgrimes;  state: Exp;  lines: +15 -25
Upgrade some things that are now different in 1.1.
----------------------------
1994-05-15 01:09:23 +00:00
Andrey A. Chernov
3c7d122598 Make dialout devices owned by uucp.dialer with 660 mode 1994-05-10 09:18:11 +00:00
Rodney W. Grimes
bacf044f40 Use the hostname.interface file just like the 3 floppy install. 1994-05-03 10:11:47 +00:00
Jordan K. Hubbard
eeee6ddd2b Configure: If netmask wasn't entered at all, it caused the ifconfig line to
have a bogus trailing `netmask' with no argument.  Fixed.

Rod:  Please take this into 1.1 Release.
1994-04-26 23:26:18 +00:00
Søren Schmidt
75a489c919 device support for pcaudio added 1994-04-21 14:08:27 +00:00
Rodney W. Grimes
641ecfdd1d >From BETA_1_1 branch:
----------------------------
revision 1.1.2.1
date: 1994/04/10 20:20:26;  author: rgrimes;  state: Exp;  lines: +11 -5
Use /dev/fd0 instead of /dev/fd0a.  Add mounting of mcd1 if mcd0
fails when searching for a cdrom drive.
1994-04-18 04:26:25 +00:00
Rodney W. Grimes
f010fbc6da >From BETA_1_1 branch
----------------------------
revision 1.1.2.1
date: 1994/04/10 20:20:25;  author: rgrimes;  state: Exp;  lines: +3 -3
Use /dev/fd0 instead of /dev/fd0a.  Add mounting of mcd1 if mcd0
fails when searching for a cdrom drive.
1994-04-18 04:25:21 +00:00
Rodney W. Grimes
863c4478c0 >From BETA_1_1 branch:
----------------------------
revision 1.2.2.3
date: 1994/04/17 19:45:24;  author: rgrimes;  state: Exp;  lines: +13 -2
Eliminate warning messages about /sbin/sh /sbin/init and /etc/termcap
when extracting the bin or des archives.  Note this is also the
place I fixed the libc.so.1.0 problem a long time ago by adding
a --exclude libc.so.1.0 to the tar command.
1994-04-17 19:57:35 +00:00
Andrey A. Chernov
6d518cf807 Fix tty? entry in the same way like cua entry
Add error diagnotic about unknown device name
1994-04-03 14:24:52 +00:00
Andrey A. Chernov
207a3900f0 Fix error in making cua entries for two multiports
(> 10 devices)
1994-04-03 04:39:54 +00:00
Rodney W. Grimes
4e208024d0 These are the installation and profile files from the 1.0 cdins*.flp
floppy images.  Put in as they were in 1.0, about to change them to
work with 1.1.
1994-03-20 00:12:38 +00:00
Rodney W. Grimes
1a231d77d2 >From Chris Christoph P. U. Kukulies kuku@acds.physik.rwth-aachen.de
Change references to we0 to be ed0 since the we driver is long gone.
1994-03-18 03:09:51 +00:00
Rodney W. Grimes
01bfdff2c1 Add mitsumi cdrom /dev entries. 1994-03-07 00:57:38 +00:00
Rodney W. Grimes
edb52a9f6d >From BETA_1_1 branch
Add missing ${cpioverbose} option.
1994-03-07 00:43:11 +00:00
Andrew Moore
27dd9a00a3 Don't sync a ro-mounted fs. 1994-03-02 00:03:41 +00:00
Andrew Moore
9bf051a923 Don't offer to mount a to-be-overwritten DOS partition. 1994-03-01 23:51:48 +00:00
Andrew Moore
2b4ff1d41e extract() is more friendly
added load_dos (just calls load_fd)
1994-02-25 23:34:14 +00:00
Rodney W. Grimes
de5faa7720 It is not nice to extract libc.so.1.0 using tar when tar is using it!!
UGLY HACK TO GET 1.1 BETA OUT :-(
1994-02-23 16:47:04 +00:00
Rodney W. Grimes
df6193abae Make it say Preparing for dos fs instead of Initializing.. the later sounds
scary to some people!
1994-02-23 15:43:20 +00:00
Rodney W. Grimes
c5d47aacfd Add NE2100 Per Paul Richards, and whoopsss.... I did this in /usr/src
on the WRONG system (actually, just the wrong window :-)).
1994-02-22 17:11:27 +00:00
Rodney W. Grimes
64eb68b1e5 Major hackery to get the 1.1 Beta floppies building. Have a special
pair of crunched binaries that are not built by this, but other than
that it is back to an automated procedure.  So many changes it is
hard to describe.
1994-02-21 21:52:00 +00:00
Rodney W. Grimes
b5845fe05d Correction so old alias floppy and floppy5 work. 1994-02-20 10:43:02 +00:00
Andrey A. Chernov
7fe4cce0d8 Remove sio entries per Rod suggestion 1994-02-19 15:45:13 +00:00
Andrey A. Chernov
f5531fa6c6 Sorry, expr error in last commit. 1994-02-19 14:32:56 +00:00
Andrey A. Chernov
2a369b20d2 We lost ttyd for dialin lines, now restore it 1994-02-19 13:17:03 +00:00
Andrey A. Chernov
546b9776b0 rm# for 5.25 driver changed per Bruce suggestion 1994-02-11 11:00:13 +00:00
Andrey A. Chernov
81a8e8fa0e Add floppy entries for new fd driver
(from Poul-Henning Kamp) slightly fixed
1994-02-10 10:44:08 +00:00
Rodney W. Grimes
90ce3e3585 Upgrade to 1.1 release level, add procfs entry on fstab creation. 1994-02-09 05:26:16 +00:00
Rodney W. Grimes
c6d9092e16 One more reference to fdXa removed.
Run fdisk -u after disklabel just incase we wrote block 0, this should fix
the bogus partition table when the install is to the whole disk.
1994-02-08 09:37:28 +00:00
Rodney W. Grimes
8c18e419c6 Update to use /dev/fd0 instead of /dev/fd0a. 1994-02-08 08:45:10 +00:00
Andrew Moore
a38943d9a0 Add devices for QIC 40/80 support 1994-02-07 04:25:07 +00:00
David Greenman
707a0e9f5c Added creation of a symlink for ttyv0->vga when making the 'pc0' target. 1994-01-26 23:45:34 +00:00
David Greenman
205c41b457 Deprecate "/dev/vga". Use /dev/ttyv0 always. Note that the terminal type
is still 'pc3' in /etc/ttys, and should be changed if we decide to default
to syscons.
1994-01-24 20:57:16 +00:00
Andrey A. Chernov
946b113fcf Add callout device for bidirectional port 1994-01-10 18:11:30 +00:00
Rodney W. Grimes
4348705c2b Insert tab before comment so brain dead shell does not screw up
the arguments to mknod.
1993-12-24 11:36:28 +00:00
Andrey A. Chernov
8d572de0b8 Comment out porogrammer-readable fd name set,
not needed in standard version, only for XENIX lovers.
1993-12-21 05:49:28 +00:00
Andrey A. Chernov
aa5cc1650c User-readable fd name set added:
[r]fd[n].{360,720,800,820,1200,1440,1480,1720}
Programmer-readable fd name set added in XENIX style.
1993-12-18 01:19:02 +00:00
Andrey A. Chernov
35178aadcd No more partition bits in floppy minor.
Now minor looks like UU DDDDDD, UU - unit, DDDDDD - density.
If density == 0, CMOS-detect format assumed.
For old users/pgms use fake partitions now, i.e.
	ln fd0 fd0[a-h]
No new floppy names added (expect fd? and rfd?),
because don't have agreement yet, so make devices
only for CMOS-detected formats.
1993-12-16 04:34:11 +00:00
Andrew Moore
d79c566f9d From: Sergey Ryzhkov, Serge Vakulenko
E-mail: <sir@kiae.su>, <vak@zebub.msk.su>
added new /dev/wt entries for wt.c version 1.3

8) Some controllers support only 1024 block length.
   Setting WT_BSIZE bit in device minor number turns on this mode.

Minor number structure:
	0bfffuuu
Fields:
	uuu   - Unit number. It's possible to install
		up to three tape controllers on the same machine,
		using DRQs 1..3.  Hence, unit number can lie
		in range 0..2.
	fff   - Tape format number:
		0 - /dev/rwt0  - default density (auto select)
		1 - /dev/rwt0a - QIC 11 (obsolete)
		2 - /dev/rwt0b - QIC 24 (60 megabytes)
		3 - /dev/rwt0c - QIC 120 (120 megabytes)
		4 - /dev/rwt0d - QIC 150 (150 megabytes)
		5 - /dev/rwt0e - QIC 300 (300 megabytes?)
		6 - /dev/rwt0f - QIC 600 (600 megabytes?)
	b     - Long block size flag.  With this bit set,
		the driver will perform all i/o operations
		with the controller using 1024-byte
		blocks, instead of 512 ones.
		Some controllers need it (CMS for example).
		If you Wangtek controller does not stream well,
		you can try to use /dev/rWt0 device instead
		of /dev/rwt0 (uncomment needed lines in /dev/MAKEDEV
		to create it).

Block interface (writing blocks less than 2048 bytes) is not functioning
pwoperly.  Use raw interface instead.

Thanks to all who helped to test it on the following hardware:

Controller           Drive            Volume    Interface     Thanks to
---------------------------------------------------------------------------
Archive SC-499       Archive 2150L    150 Meg   QIC-02        KIAE
CMS?                 ?                150 Meg   QIC-02        KIAE
Everex EV 831/833    ?                ?         QIC-36        Joergen Haegg
Wangtek ASSY         Wangtek          60 Meg    QIC-02        Ken Whedbee
Tecmar QT150i?       Wangtek 5150EQ   ?         QIC-02?       Marko Teiste
?                    Wangtek 5099EK   60 Meg    QIC-36        Robert Shien
Archive SC400S       ?                60 Meg    ?             Warren Toomey
1993-12-14 11:11:37 +00:00
Rodney W. Grimes
9d08e5f2ce Missing part of Julians new scsi code, add new driver uk and revise the
entries for st.
1993-11-22 05:40:49 +00:00
Andrew Moore
32c96f840b Removed option to install FreeBSD alongside an existing *BSD
paritition, since disklabel cannot deal with this...
1993-11-12 04:58:31 +00:00
Andrew Moore
a59a0c2552 fixed conditional that caused install to see a DOS partition when none exists. 1993-11-08 03:58:31 +00:00
Garrett Wollman
b704abb773 Added comment in the description of `com' devices that they are usually
not what users want unless they have re-configured their kernels.  Hopefully
some people will actually read this.
1993-11-06 23:22:23 +00:00
Rodney W. Grimes
343b7b7dd1 Add zero and io to the rm -f line for std devices so they get removed before
an attempt is made to mknod them.
1993-10-28 09:59:27 +00:00
Jordan K. Hubbard
fd511bfb54 Moved sound drivers from major 21 to major 30. 1993-10-23 22:24:35 +00:00