Commit Graph

405 Commits

Author SHA1 Message Date
bde
5ff2c2e2fb Remove chmod of pcaudio* to 666. Not everyone should be allowed to
play the speaker and consume 10-100% of the available cycles.

Remove chmods of sound devices to 666.  Use chmod to give the same security
holes.
1995-04-28 07:53:43 +00:00
bde
9b057d0c4d Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*. 1995-04-28 07:39:21 +00:00
dufault
6702bdcc1b Add National Instruments "LabPC" driver 1995-04-28 00:51:40 +00:00
bde
9f7c1b77ac Reviewed by: Gene Stark (starkhome!gene@sbstark.cs.sunysb.edu)
Change ownership of tw* from bin.bin to root.operator.  Hardware devices
shouldn't be accessible to bin.
1995-04-26 08:07:30 +00:00
ache
e9609fc2f3 Add 'rc' devices. 1995-04-23 12:02:21 +00:00
rgrimes
23e4756f71 A better solution for the noisy ibcs2 startup, just echo a space and then
call ibcs2.
Submitted by:	jkh, slight modification by me.
1995-04-13 21:23:17 +00:00
jkh
f86d0bfb93 I missed some of Frank Durda's changes for MAKEDEV. Fixed.
Submitted by:	Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-04-13 00:51:55 +00:00
rgrimes
0a71b378b5 Add missing "echo '.'" to end of file so that the next file called
starts on a new line.
1995-04-10 01:39:13 +00:00
rgrimes
22293c7df5 This is a purely cosmetic clean up. Fix many cut and paste problems that
had turned tabs into spaces.
1995-04-09 09:54:51 +00:00
jkh
862ad01747 Don't spit out a gratuitous ibcs2 startup message. 1995-04-06 02:38:37 +00:00
ache
05fe559358 Set desired cursor type for syscons 1995-04-04 17:34:55 +00:00
ache
f63d9c35af Add missing ';' 1995-04-01 12:55:33 +00:00
ache
a44e8ddbd2 Restore my function key configuration stuff which Rod promise to
restore but really didn't do it.
Restore message from old rc about configuring syscons whith
echo added before it to go to new line after "echo -n xtend" f.e.
and similar stuff.
1995-03-30 09:39:51 +00:00
rgrimes
01cb869dd8 This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration.  I was not going to
    change that out from under you.... a user never need edit netstart
    or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc.  It is just unworkable as
    a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
    get up,  it doesn't start every bloody daemon that might talk to a
    socket...  netstart ifconfig's the devices and sets up routing if
    configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
    messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
    started before syslogd because if you are the dns server for your domain,
    you'd like named to resolve remote hosts in syslog.conf,  but this is
    a minority case and the trivial workarround is to put the syslog host
    in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
    to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
    NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
    xtend, and all of the syscons stuff
    (this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
    with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
    to this file now) and the full name of the kernel has been restored to
    /etc/motd

Submitted by:	pts
1995-03-30 06:26:19 +00:00
jkh
2fbf3422ed Fix apm and gsc rules to allow <blah>0' or just <blah>' to be shorthand.
[Actually, it's `<blah>*' but I'm not telling anyone]
1995-03-21 06:31:00 +00:00
ache
203c57da8b Make /dev/pss instead of /dev/sndproc (unused) 1995-03-13 00:10:40 +00:00
bde
0fcaf7139a Clean up white space. 1995-03-12 15:25:32 +00:00
dufault
9b4b6386ec Noticed by: Nate
Fixed the MAKEDEV pattern for SCSI processor type driver so it doesn't
screw up ptys.  Does anyone want to suggest a better name than "pt0" for
SCSI processor devices before 2.1?
1995-03-11 12:07:57 +00:00
dufault
75d2a55de3 Add processor and worm drivers 1995-03-04 20:54:24 +00:00
bde
03e0899381 For sd, vn and wd:
Support sliced devices better.  E.g.:
`sh MAKEDEV sd0' creates [r]sd0 and [r]sd0s[1-4] as well as [r]sd0[a-h]
(the extra devices created by default won't hurt apart from wasting inodes).
`sh MAKEDEV sd0s1[a-h]' creates [r]sd0s1[a-h] (any partition creates all).
`sh MAKEDEV sd0s5' creates [r]sd0s5.

Support unit numbers 0-31 (was 0-6).

For wd:

Remove support for creating DOSpartitions wd*[i-m].  These will get removed
if you run MAKEDEV on `all' or on wd*.
1995-03-04 12:22:14 +00:00
jkh
b31a4ac53d Add Matsushita CDROM device entries.
Submitted by: Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-03-02 04:11:47 +00:00
ache
2c783960a6 Cleanup device names, add more devices for Linux sounddriver 1995-02-27 18:54:27 +00:00
joerg
f148c03229 Allow tty0? to be an alias for tty? when creating the dev nodes.
People tend to be confused unnecessarily otherwise.
1995-02-24 19:26:59 +00:00
jmz
48e2735922 Change permissions and ownership of joystick device files. 1995-02-22 23:52:58 +00:00
bde
5395aa40b4 Fix some bogus and missing chowns:
444 -> root.wheel
root -> root.wheel
uucp -> uucp.wheel (perhaps this should be .dialer, but .wheel is safer)
missing -> root.wheel

chown to root is usually bogus because mknod had to be run by root to
create the inode.  Setting the group explictly is currently necessary
because MAKEDEV does nothing to ensure that its working directory has
a suitable group.

Driver authors!  Please fix any bogons in MAKEDEV that involve your
drivers.  The sound devices are still world writable...
1995-02-17 12:32:34 +00:00
bde
519080d6b6 Adjust for rearranged slice numbers. Only create partitions on slice 0
for now (there are too many minors to create by default).  The special
sliced disk case ssd*|svn*|swd*) can almost replace the standard disk
case sd*|vn*|wd*) now (it just creates a few more devices), but there
will have to be special cases to allow creating slices 6-31 and partitions
on slices 2-31.

Fix bogus default cases.
1995-02-16 16:03:29 +00:00
jkh
86c5f007ce Add device entries for ISDN driver. 1995-02-14 23:48:05 +00:00
ugen
1538491f9d Added /dev/snp? entry.. 1995-02-14 21:13:14 +00:00
bde
b05d6b2adc 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
jkh
05810ff0ed Device entries for >32 PTYs.
Submitted by:	Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:10:02 +00:00
jkh
5d2cd114db Video Spigot entries.
Submitted by:	Jim Lowe <james@blatz.cs.uwm.edu>
1995-02-07 12:07:18 +00:00
jkh
9b15d8ef61 Add tun to list of devices.
Submitted by:	mr
1995-02-01 23:15:11 +00:00
jmz
152d1bd214 Add joystick 1995-01-25 21:21:28 +00:00
jkh
7acc81dc27 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
ats
4dcc6483b0 Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00
bde
4b9c4e466a 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
ache
3772939b8c Fix wrong regexps 1994-12-08 00:44:55 +00:00
ache
9eb8d28049 Fix wrong unit=expr for tty? cua? 1994-12-06 23:06:10 +00:00
bde
bc0e9de8d2 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
ache
c45aabace0 Remove yet one pccons-related comment 1994-12-04 23:50:40 +00:00
ache
dafd331078 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
phk
58b2cf4ed5 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
jkh
69bb6a6b41 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
jkh
d7649fc477 Back out previous commit until we work this out. Sigh. 1994-12-03 04:46:09 +00:00
wollman
35374ac0be Add cronyx driver entries. 1994-12-03 00:07:49 +00:00
jkh
5a68a901c1 |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
ache
c890ff0027 Wrong raw device was created for cd/mcd: d instead of c 1994-11-12 15:48:54 +00:00
phk
4026933d05 /dev/apm should be /dev/apm0 1994-11-10 02:32:29 +00:00
phk
7df70f140b The last committer didn't know that '*' doesn't start a comment in shell's ???? 1994-11-02 06:36:42 +00:00
pst
125d6c349a 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
phk
74265c3dfa fixed a typing error. 1994-10-29 10:03:37 +00:00
phk
c513529b1a 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
phk
805eb48b1c Various changes to the 1.1.5.1'sh install procedure. 1994-10-17 02:32:41 +00:00
phk
f20bc18ebc 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
phk
f25b4a6f31 disklabel needs the "full-disk" partition 1994-10-15 07:56:02 +00:00
sos
885bdfae21 Added socksys device (for iBCS2 emulation) 1994-10-13 20:10:14 +00:00
dg
416758cb8c Added entry for apm device (needed for Advanced Power Management support). 1994-10-01 03:32:26 +00:00
rgrimes
2a0f9fb71c You must rm -f lkm before attempting to create it. 1994-09-30 07:33:42 +00:00
wollman
dd53ce8c4e Make /dev/lkm as a part of std'. Delete references to ancient com' driver. 1994-09-23 19:17:27 +00:00
rgrimes
e2a30c4423 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
phk
8956b2c26c 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
csgr
7b6e72a847 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
jkh
be1084404e 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
rgrimes
355d3febaf $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
jkh
199756725f 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
jkh
6d707c8ea5 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
jkh
04b8177493 Remove Rod's hacks - they're no longer necessary with static tar/gzip and
tar --unlink.
1994-06-28 07:20:30 +00:00
jkh
0e44d1d495 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
jkh
0b5307b380 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
jkh
98677b3c8a 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
jkh
f9a488d4c5 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
jkh
7d394c9463 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
jkh
45edfbbd43 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
jkh
9529691929 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
csgr
45cfbd81b1 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
csgr
e05a2e89dd 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
csgr
d53b5f6190 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
jkh
3158d42d83 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
jkh
3e722ff68c 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
ache
d342b6820c From Ache:
Add proper devices for new sio initial/locking mechanism
1994-05-30 03:53:01 +00:00
rgrimes
0ae9ac787d 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
jkh
dcc3e629af 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
rgrimes
c960b32a54 Fisx spelling error from John Lind 1994-05-15 01:10:17 +00:00
rgrimes
ea9dc212e8 >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
ache
3abdfe3b03 Make dialout devices owned by uucp.dialer with 660 mode 1994-05-10 09:18:11 +00:00
rgrimes
50c4325ec8 Use the hostname.interface file just like the 3 floppy install. 1994-05-03 10:11:47 +00:00
jkh
9ac05a42c3 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
sos
4d31872c3f device support for pcaudio added 1994-04-21 14:08:27 +00:00
rgrimes
39955230ef >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
rgrimes
a122f03302 >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
rgrimes
1205808a32 >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
ache
f4bf06486e 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
ache
776e65c57a Fix error in making cua entries for two multiports
(> 10 devices)
1994-04-03 04:39:54 +00:00
rgrimes
5dc4502e16 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
rgrimes
1caf8350ad >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
rgrimes
b970b7dac2 Add mitsumi cdrom /dev entries. 1994-03-07 00:57:38 +00:00
rgrimes
e4ce6c4034 >From BETA_1_1 branch
Add missing ${cpioverbose} option.
1994-03-07 00:43:11 +00:00
alm
215bf4dcd0 Don't sync a ro-mounted fs. 1994-03-02 00:03:41 +00:00
alm
c5949e77c8 Don't offer to mount a to-be-overwritten DOS partition. 1994-03-01 23:51:48 +00:00
alm
a0857f9bf3 extract() is more friendly
added load_dos (just calls load_fd)
1994-02-25 23:34:14 +00:00
rgrimes
91a83116a5 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
rgrimes
cb161e918b 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
rgrimes
cd479ce39c 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
rgrimes
317fa93e13 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
rgrimes
2b01e1a3da Correction so old alias floppy and floppy5 work. 1994-02-20 10:43:02 +00:00
ache
25c78dd606 Remove sio entries per Rod suggestion 1994-02-19 15:45:13 +00:00
ache
d05ae37f7c Sorry, expr error in last commit. 1994-02-19 14:32:56 +00:00
ache
0e6427f1ee We lost ttyd for dialin lines, now restore it 1994-02-19 13:17:03 +00:00
ache
80e3ce1b44 rm# for 5.25 driver changed per Bruce suggestion 1994-02-11 11:00:13 +00:00
ache
65bc995bd6 Add floppy entries for new fd driver
(from Poul-Henning Kamp) slightly fixed
1994-02-10 10:44:08 +00:00
rgrimes
16d21ccc58 Upgrade to 1.1 release level, add procfs entry on fstab creation. 1994-02-09 05:26:16 +00:00
rgrimes
f7ebbd4064 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
rgrimes
774c921f15 Update to use /dev/fd0 instead of /dev/fd0a. 1994-02-08 08:45:10 +00:00
alm
3ac0b190f0 Add devices for QIC 40/80 support 1994-02-07 04:25:07 +00:00
dg
4b3f7a255e Added creation of a symlink for ttyv0->vga when making the 'pc0' target. 1994-01-26 23:45:34 +00:00
dg
76b4ea09c1 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
ache
6cc7152206 Add callout device for bidirectional port 1994-01-10 18:11:30 +00:00
rgrimes
a493de1b14 Insert tab before comment so brain dead shell does not screw up
the arguments to mknod.
1993-12-24 11:36:28 +00:00
ache
3ebd494429 Comment out porogrammer-readable fd name set,
not needed in standard version, only for XENIX lovers.
1993-12-21 05:49:28 +00:00
ache
c6dd6bc403 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
ache
b09ed3483f 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
alm
ca3921c30f 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
rgrimes
29c03b31ae 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
alm
8dd2f93d69 Removed option to install FreeBSD alongside an existing *BSD
paritition, since disklabel cannot deal with this...
1993-11-12 04:58:31 +00:00
alm
b45acf0195 fixed conditional that caused install to see a DOS partition when none exists. 1993-11-08 03:58:31 +00:00
wollman
2257be3bc4 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
rgrimes
222742d2c2 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
jkh
4b07614ec4 Moved sound drivers from major 21 to major 30. 1993-10-23 22:24:35 +00:00
jkh
b5012e4cab New snd*) target for making driver entries for new sound driver. 1993-10-23 10:58:51 +00:00
nate
0f7d6b2a33 Fixe a spelling error and added both the mse (logitech and ATI inport) and
the psm (PS/2 bus) mouse support

(The psm driver will have to come later)
1993-10-19 20:00:35 +00:00
rgrimes
cb844f9aa8 Make darn sure that fsck does not try to fsck dos file systems by setting
the fsck pass to 0, same thing for dump field, in the fstab that is
created by this script.
1993-10-19 19:58:55 +00:00
rgrimes
62f301bbd6 Remove reference to EPSILON release. 1993-10-19 17:33:38 +00:00
jkh
23dde6a5b2 Checked and corrected various bits of grammar, as requested. 1993-10-16 12:41:36 +00:00
rgrimes
7d700d3b23 Fix the document title to match the format of our other docs.
Clean up some stuff so that it reads a little better (some one please
review this for me!)

Adaptec controllers are 154x and 174x series.  Add Buslogic 545S.
1993-10-16 12:22:45 +00:00
rgrimes
04b048a4b8 Remove the EPSILON from the release level 1993-10-16 12:06:30 +00:00
rgrimes
672d7f757d Fix the title up on this, removed the date and format it to match
the RELEASE NOTES.

Adaptec controllers are now 154x and 174x series, no more reference
to specific models.  Revamp the CSI hard disk controller section in
general to be more user readable.

Add the fact that the Mitsumi CDROM controller and drive are now
supported.

Add a note that the Intel 82501 serial chip is NOT supported.

Floppy controller is fd0, not fdc0, same for wd disk controller.
1993-10-16 12:05:51 +00:00
chmr
81d35d6d98 Allow install floppy to be placed in the B: drive. 1993-10-16 09:12:08 +00:00
rgrimes
623ab6affd Added /dev/zero and /dev/io, they have been around for a while, time to
have some /dev entries.
1993-10-06 03:35:03 +00:00
rgrimes
520d1c04c1 Release level changed from GAMMA to EPSILON 1993-10-01 19:22:43 +00:00
rgrimes
58fd303159 Updated to reflect the fact the there is no longer an ne driver, told to
use ed0 as the replacement, noted new addresses
1993-10-01 04:43:56 +00:00
rgrimes
82f5690cfd Changed address freebsd-comments to freebsd-questions 1993-10-01 04:40:57 +00:00
rgrimes
1bdc84cb97 Support for new wt driver. Removed old references to as* disk types since
they are long gone.
1993-09-30 20:18:59 +00:00
alm
dca51f7e83 added to install_notes instructions for loading distribtuion
files from a MS-DOS partition.
Minor cleanup:
fixed spelling error in inst1.install
capitalized sentences in kc.profile
reworded initial load_fd options
1993-09-22 07:38:18 +00:00
alm
4687ff86f6 Extended load_fd() to support reading from the first Primary DOS
partition of the boot disk.  So we have yet another medium via
which to load the FreeBSD distribution files.  load_fd() has
options for listing and (if reading from the C:  drive) changing
directories.

load_fd's notation assumes that the first Primary partition on
disk is the DOS drive C: (since this and only this one is mounted
by install).  Otherwise, the notation may be a bit confusing.
We'll know the assumption is bad if people complain about
not finding files on their "C:" drive...

Added a device file existence check to kc.profile.
1993-09-21 10:24:42 +00:00
alm
a1c237516c 1) Install now creates a DOS partition for the first (and only the
first) Primary (un-Extended) DOS partition, providing /dev/xx0h
is available.  It is mounted on /dos by default.  The /etc/fstab
entry omits the dump and fsck fields, i.e.:
/dev/xx0h	/dos	pcfs rw

The Secondary DOS partition is not used (System ID 0xF2), because I don't
know what that is.

2) Fixed default sizes so that if someone attempts to install BSD on a 24 Mb
partition by accepting defaults, they don't end up with a 1 Mb /usr
partition (up to USRMIN Mb's).  In this case, all space is split between
swap and root.

TODO:
1) Extend load_fd() to support loading distribution files directly from
the DOS partition of the hard disk.

2) Provide translated parameters to the install program (maybe
add an option to fdisk).  Currently, the true geometry is used as
default, which is inappropriate for coexistence with DOS.

3) Support installing on multiple or secondary disks.
1993-09-19 20:45:10 +00:00
alm
f58b8af741 Added /usr/distbin to PATH 1993-09-18 08:20:32 +00:00
rgrimes
b3c3e8d6c0 >From: Drew Hess <dhess@CS.Stanford.EDU>
>Date: Thu, 16 Sep 1993 23:35:48 -0700 (PDT)
There is a typo in disktab in the NetBSD-0.9 distribution.  This may be
already fixed in NetBSD-current, but it's not in any of the source that I've
sup'ed.
line 9 reads:
#       sc      #sectors/cylinder, nc*nt default
should read:
#       sc      #sectors/cylinder, ns*nt default
1993-09-18 00:00:16 +00:00
alm
be2abcc85f Added the following to the opening statement of install:
Before starting, it is important to know your hard disk's geometry
(i.e., number of cylinders, heads and sectors/track).  If installing
FreeBSD on the same disk as another operating system, then the
two systems should use the same geometry.  In particular, FreeBSD's
default geometry is inappropriate for MS-DOS.  So in this case, the
DOS geometry should be used instead.

[This seems to be true for SCSI disks.   What about IDE?  With the new
boot blocks, can we ignore the disks true geometry??]
1993-09-17 09:05:52 +00:00
alm
ce8bea4555 The load_fd() now initializes the `interactive' variable to -i instead
of -v (my fault).
The extract() command now rm's /tmp/cat, not /bin/cat (my fault).
1993-09-16 00:45:34 +00:00
rgrimes
d2e9340b89 >From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Comment was wrong about what entries get made for vtyNN, it
is 0-b, not 00-12.
1993-09-14 21:42:14 +00:00
alm
37dc7644f1 Added option to overwrite an existing partition during install.
Added notes about ob-bs to install_notes.
1993-09-14 21:26:32 +00:00
alm
c2d043a940 The install disks now print the partition table data with
offsets and sizes in units of cylinders.  This will help
those who want to install FreeBSD between two existing
partitions.

Faked notes on installing via Kermit
1993-09-14 02:36:09 +00:00
alm
de9c9dc93c Brought install_notes up to date. 1993-09-13 13:37:21 +00:00
rgrimes
89b6f54b10 Fixed missing device name arguments to fdisk commands, this was the
cause of silient failure on scsi disk installs with the new floppies.
1993-09-13 12:23:38 +00:00
rgrimes
8c35e4fc63 Renumber the section starting at the duplicate 5. section. Changed
reference to RELNOTES.FreeBSD to not have an absolute path on it since
these appear in several places!
1993-09-13 07:53:28 +00:00
alm
2259d962c3 Explain purpose and original of "dos" floppy. 1993-09-13 07:26:39 +00:00
rgrimes
5437e86e30 Changed ultrastore 14F/34F driver to irq 14. 1993-09-13 03:43:53 +00:00
alm
6234210a4b Fixed the extract() command which I had broken attempting to implement
it without cat.  It now requires cat again (no way around it unless
gunzip can accept arbitrary filename suffixes).
1993-09-13 02:23:55 +00:00
rgrimes
b3df78da61 Since reboot is now installed, use it if the fsck fails 1993-09-12 23:55:35 +00:00
rgrimes
62aecc351a Change the "Insert secound installation floppy" to
"Insert the cpio installation floppy" to reduce confusion as to what floppy
is wanted.
1993-09-12 22:44:37 +00:00
rgrimes
191a876a96 Removed /usr/contrib/bin from PATH 1993-09-12 21:40:19 +00:00
alm
d6532c7e9d added a couple echo's 1993-09-11 08:55:41 +00:00
alm
9607e4a9f6 Forgot to export PATH 1993-09-11 08:41:03 +00:00
alm
87d2dbc43f Mentioned using fdisk to change active partition on multi-os systems
if os-bs is not installed.
1993-09-11 08:32:50 +00:00
alm
3081a5c12f Silence cp diagnostics for dos floppy install in case
directories exist (e.g., after running os-bs).
1993-09-11 08:17:00 +00:00
alm
9bbada29b5 remove \'s from where they shouldn't be. 1993-09-11 08:12:28 +00:00
alm
a525fcb74f Quick checkin between network hangs...
Restored trap calls in profile, and reset trap 2 at end of fsck.
Make installation of fourth floppy an option.
1993-09-11 08:08:11 +00:00
rgrimes
b82af535bf Converted many occurances of multiple spaces to tabs to save bytes
any way I can.  Converted all echo "" to be just echo

Removed sync call that seems to hang due to fd/wd driver interaction..
Now rm /.profile before the cpio floppy is copied in, this should fix
a bugger I was having with an open shell script that gets over written.
1993-09-11 06:03:37 +00:00
alm
3e808869c3 Combined some conditional statements now that `test' works correctly. 1993-09-09 14:04:20 +00:00
alm
19fe3ad59e Mostly cosmetic changes.
Added notes installing os-bs.
1993-09-09 13:52:36 +00:00
jkh
9fb1464baf Fixed some language + error where 3 floppies are called for in beginning
and 4 later.
1993-09-08 22:51:49 +00:00
rgrimes
aadedac303 From: ccml@hippo.ru.ac.za (Mike Lawrie)
Subject: Install.notes for FreeBSD-1.0-G
Here is the hacked install notes file for FreeBSD-1.0-GAMMA.

Please get someone to check the few points marked <<please check>>.
From: rgrimes

Checked the <<please check>>, and cleaned up some details.
1993-09-08 22:27:59 +00:00
alm
a4f7648d70 Adding missing sync after reading fourth install floppy.
Added /usr/distbin to path
1993-09-08 20:49:13 +00:00
alm
72da475e26 Added a fourth DOS-format floppy to the install disks containing os-bs
and miscellaneous programs which get installed into /usr/distbin.
Install now recognizes existing DOS partitions and attempts to install
after them.  Theoretically, it also remaps badblocks.

N.B.:  The fourth install floppy must have a clean DOS FAT.
Building the new distribution floppies is untested

TODO: Build a disktab entry for existing DOS partitions (except extended
partitions).  This would allow loading and/or extracting the distribution
files directly from the DOS hard disk partition.
1993-09-08 11:25:17 +00:00
alm
f4df553956 Added DOS partition support and maybe badblock remappping.
The following additional changes are needed for the new install disks:
1) Remove from filesystem disk's /filelist: bin/cat, dev/MAKEDEV.local.
2) Remove from the filesystem disk: /bin/cat, /COPYRIGHT and /dev/MAKEDEV.local.
3) Add to the filesystem disk:  /sbin/fdisk, /dev/fd1a and /dev/rfd1a.
4) Build a fourth DOS disk containing at least: os-bs, rz/sz

Outstanding problems:
1) If there are >1024 cylinders, then FreeBSD cannot boot unless installed
at cylinder 0 (and since neither can DOS evidently, the two can't share
a disk in this case).
2) If FreeBSD is installed at cylinder 0, subsequent installs tend to fail.
3) If a DOS partition exists, disklabel doesn't seem to update the disk
geometry in the FreeBSD disklabel correctly (so reinstalling FreeBSD with
a new geometry requires installing it at cylinder 0).  Rod suggested
invoking disklabel on the raw c-partition.  This makes sense, but it
doesn't seem to work (newfs, for instance, can't find the new label).
1993-09-07 12:02:11 +00:00
jkh
782337285f Changed misleading comment about vty's - now clearly stated to work with
syscons, pcvt, codrv, ...
1993-09-06 03:00:38 +00:00
rgrimes
b215595560 Replaced all references to comxx with ttyxx, since that is what all the
other tools really want.

Targets sio*) and com*) now create entry named ttyxx, default setup with
a sh MAKEDEV all is to use the sio major numbers, com is all but depreicated
now.
1993-09-05 15:53:39 +00:00
rgrimes
684e3e6afb Fixed all usage of quotes to be consitent of the form ``word or phrase''. 1993-09-02 02:04:33 +00:00
jkh
7973393b87 Added some stuff, fixed some typos, generally tarted it up. 1993-09-02 00:04:15 +00:00
rgrimes
9c4b6f1fa4 A real quick hack at some floppy install notes! 1993-09-01 01:41:23 +00:00
rgrimes
cd15a71d0e Fixed typo in rm of /tmp/cat, it was rm /bin/cat, whoopsss.... 1993-09-01 01:41:03 +00:00
rgrimes
fb1a6b9935 Added DEFCYLN, DEFHEAD and DEFSECT parameters to inst1.install, these
are set to 1024/12/17
1993-08-31 15:02:53 +00:00
rgrimes
5e62de778b Updated st*) entry from Julian. 1993-08-30 07:48:38 +00:00
rgrimes
0db1345ef9 Inserted a modified version of /etc/rc so that a fsck is done on reboot
after the cpio floppy has been installed.  This fixes the corrupt disk
problem during the install.  Still need to add some echo's about expecting
disk corruption at this point in time.

Upgraded release statement to say 1.0 GAMMA.  Added a dummy read before
the instuctions so the user does not get confused by the rapid output
and thinks something scrolled off the screen.
1993-08-30 02:22:02 +00:00
rgrimes
03c6cffbd8 Removed Chris D. added --unlink option since our tar does not understand
it.
1993-08-26 15:59:21 +00:00
rgrimes
6c4dc5e508 Added a real ugle hack so that cat, tar and gzip tools used to do the
extract can be over writen.  This is done by coping them to /tmp
before the extract begins, running them from /tmp, then removing them
after the extract has completed.

Removed all section about setting up sendmail.cf, since this was for the
old sendmail stuff and should not be required by the new sendmail.cf file
that is shipped with the system.
1993-08-26 03:23:20 +00:00
rgrimes
1b48fc7c14 Removed mount -at ufs command, since it is now done by the .profile
file left by inst1.install.

Fixed cpio command so that it works with the new cpio that does not
ignore extra options.

Added echo's about building /dev files so the user knows it is doing something.
1993-08-26 03:20:28 +00:00
rgrimes
e99d2b56e4 Added DEFBLOCKING to hold the default blocking factor after the question
has been asked once.  Disabled the ability to have different blocking
factors on different partitions since this is known to trash the vm system.

Removed many extranious echo's of the users answers.  This was probably put
in for debugging and never removed.  It was quite confusing to my test users.

Added autoscan of disk for bad blocks for bad144 type disks using the new
bad144 -s option.

Renabled the asking for verbose installation.  Why was this disabled??

Added creation of etc/disktab.install on the hard disk that is a copy
of the disktab used to create the disk with.

Added a mount -at ufs to the .profile so that all the diskpartitions get
mounted on first boot from hard disk, this is so commands that may have been
loaded into a seperate usr partition can be found.
1993-08-26 03:16:51 +00:00
rgrimes
6b4c614782 Changed prompt from "> " to "kc > " so that it does not look like the
halt prompt.  Changed the prompt for destination of the kernel copy to
be "copy kernel to > " so that it is clear what it wants..
1993-08-24 19:55:16 +00:00
alm
7ab5444375 more cleanup (e.g., root and swap partitions are mandatory, not root and /usr)
no functional change
1993-08-20 21:47:42 +00:00
alm
d4f74b1706 added big loop to allow redoing the configuration 1993-08-20 18:07:39 +00:00
alm
72eaffadda added default answers
changed units from sectors to cylinders
1993-08-20 17:17:04 +00:00
rgrimes
c439871e04 Heavily modified from NetBSD sources to FreeBSD, many fixes and enhancements,
now users cpio instead of tar.  All displayed references to NetBSD changed
to ${OPSYSTEM}, OPSYSTEM=FreeBSD.
1993-08-12 07:14:23 +00:00
root
45ab6cf860 Initial import of NetBSD install2 floppy .profile 1993-08-11 12:51:37 +00:00
rgrimes
22e620ab62 Initial import of NetBSD install2 floppy /install script 1993-08-11 12:30:59 +00:00
rgrimes
0ab097a85d Changed printing messages to refer to ${OPSYSTEM} instead of NetBSD. Comments
left intact.

Simplified variables for drivename, drivetype, and sect_fwd.

Added rotdelay to newfs commands (defaults to newfs default except
for scsi disks where it defaults to 0).

Made the disk geometry questions more like what PC users are use to
reading (cylinders/heads/sectors).

Added minswap requirement of 8MB, recomendation of 2 x physical memory.

Added messages about what the blocking factor does.

Added message for mount point to NOT include the leading /

How to change disklabel to /sbin/disklabel due to bug in our /bin/sh,
I thought this has been fixed, but it has not!

Changed to use cpio instead of tar, since tar seems so brain dead.

Removed kernfs reference from /etc/fstab creation since FreeBSD does not
have the kernfs.  Made /etc/fstab tabbed so it looks pretty :-).

Added default of floppy drive 0 after we boot from hard disk.

Fixed path in inst1.profile, removed /usr/local/bin, /usr/contrib/bin and .
1993-08-11 12:30:00 +00:00
rgrimes
8c6b943ae8 Import of NetBSD inst1.fs floppy /.profile and /install scripts 1993-08-11 02:06:14 +00:00
rgrimes
eac46d12f4 Corrected kernel name from newbsd to 386bsd, it now works. 1993-08-10 14:16:33 +00:00
rgrimes
66da9da9d7 Initial import of .profile from NetBSD Kernel Copy Floppy, to be used in
building FreeBSD Kernel Copy Floppy.
1993-08-10 12:20:12 +00:00
rgrimes
401548e742 Removed as0 and as1 from the all case since these are obsolete (use sd0...) 1993-08-02 10:16:10 +00:00
rgrimes
fb001b5cc4 Removed vty04 from sh MAKEDEV all since that casued root login problems
on the console if you do not run codrv.
1993-07-30 11:00:54 +00:00
rgrimes
410f4d6401 Fixed some errors in disktab (from NetBSD), floppy 5 corrected, and CP3100.
Fixed some errors in disktab (from NetBSD), floppy 5 corrected, and CP3100.
MAKEDEV script from 0.1.2.4 system.
1993-07-19 18:50:36 +00:00
rgrimes
828f9c602d This commit was generated by cvs2svn to compensate for changes in r37,
which included commits to RCS files with non-trunk default branches.
1993-06-20 13:41:45 +00:00
rgrimes
241ccdeaf3 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00
rgrimes
fa404b12c2 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00