Commit Graph

3952 Commits

Author SHA1 Message Date
joerg
3e6ff289b3 Several minor fixes to the floppy driver:
.	avoid resetting the FDC every time the last motor is going off;
	instead, give it a 60-second period for possible later reactivation.
	This prevents us from needing to recalibrate the FDC too often,
	but still allows for an ``automagic error recovery', just in case the
	controller is absolutely stuck. (Simply wait for 60 seconds, and
	try it again.)

.	made the floppy head settle time after a seek a constant
	that might be overridden by a config option. (Well, actually the
	divisor of the settle time). Pepople often reported problems with
	their floppies, so i need a simply mechanism that allows them
	to play with that value. (I personally cannot find any problem
	on *my* drives.)

.	implement the FD_DEBUG ioctl command, in case the driver
	is compiled with DEBUG turned on.

.	removed a bogus parameter from a printf; the remaining warnings
	from gcc -Wall seem to be warnings about the %b format gcc cannot
	understand

.	rearrange Garett's code to fit better in the existing structure
	of #define/type/function ordering.

.	make everything fit into 79 columns again.
1994-10-30 20:04:40 +00:00
bde
bae90071a1 Don't attempt to free null cblocks. There may be less to free than
normal due to cblock resource starvation or malloc() failing when
the device is opened.
1994-10-30 19:43:49 +00:00
joerg
5fd22a0e22 Included the command definition for FD_DEBUG.
This way, it's possible for a user to activate/deactivate floppy driver
debugging, even if (s)he doesn't like the overhead of running DDB.
Since some ppl tend to have problems with their drives, this might be
valuable for investigations.
1994-10-30 19:17:39 +00:00
joerg
1142874b61 This commit was generated by cvs2svn to compensate for changes in r4007,
which included commits to RCS files with non-trunk default branches.
1994-10-30 18:52:01 +00:00
joerg
5d1a6c44a1 Import the fdcontrol command. It has been in 1.1.5, but obviously has been lost on its way to 2.0.
This program uses the FD_DEBUG ioctl, which will have to be commited yet.
1994-10-30 18:52:01 +00:00
joerg
6ab192037c Fixed a type. 1994-10-30 18:23:22 +00:00
joerg
cdfef10748 daily:
Leave a warning to the sysop if (s)he didn't yet
	enable the /tmp cleanup code.
	Made `core' in the cleanup template look `*.core'.
	Replace `df -k' by `df -k -t local', since the stats
	for kernfs, procfs etc. are not of much interest, and
	the inclusion of nfs systems might  hang the machine (nor is it a
	`disk' statistic as the headline's telling).
weekly:
	Modified the locate.updatedb part to work even if there's no
	database yet; report errors other than `Permission denied' instead
	of silently ignoring all of them.
	Added functionality to rebuild the whatis database once a week.
1994-10-30 18:20:58 +00:00
ache
8ef66e7d70 Add commented out startup locale setup, needed for some daemons
like comsat
1994-10-30 04:33:57 +00:00
ache
e8cc63c3bb More 8bit/ctype fixes, command mode 1994-10-30 04:05:50 +00:00
ache
491abb6099 Make window 8bit clean and ctype oriented.
Fix restart after ^Z hang.
1994-10-30 03:09:58 +00:00
ache
ce751ae1f7 Fix hang on exit: needs to restore SIGIO reaction _before_
tcsetattr, because tcsetattr cause SIGIO in wakeup
1994-10-30 01:43:09 +00:00
ats
b76a2ea093 Submitted by: Paul F. Werkowski
Add a quirk line for the SONY SDT-5000 like it is done for the WangDAT tapes.
1994-10-30 00:30:27 +00:00
wollman
73fd6b51c8 Delete vax' (and i386' and `hp300' etc.) namespace pollution.
Our one supported compiler always defines the double-underscore variant,
so always use that.

Noticed by Bruce Evans after a report by John Capo.
1994-10-30 00:21:30 +00:00
ache
4f8e59373e write ptys use _the_same_ tsleep/wakeup address as read ptys due to
mistype, fixed.
1994-10-29 23:59:48 +00:00
pst
ec318c32c3 add md5 1994-10-29 23:58:55 +00:00
pst
9ceb48c2d2 This commit was generated by cvs2svn to compensate for changes in r3995,
which included commits to RCS files with non-trunk default branches.
1994-10-29 23:58:02 +00:00
pst
51b49316ee Incorproate version of md5 placed into public domain by RSA. 1994-10-29 23:58:02 +00:00
jkh
66de798440 Make this documentation more sane in the context of 2.0. 1994-10-29 13:13:40 +00:00
phk
ef42d8fed8 The latest hacks to make a release with. 1994-10-29 12:48:12 +00:00
phk
95fca924d5 Fixes related to release-production:
bdes only if !NOCRYPT
Always MAKEDEV in bindist, otherwise diskless installation is a mess.
1994-10-29 12:47:44 +00:00
phk
d347dec742 Fixed another bunch of problems. I belive we are in a working shape now. 1994-10-29 12:03:59 +00:00
phk
3b5b6554c3 Add back a "is" variable which was removed by accident. 1994-10-29 10:19:32 +00:00
phk
351aa878aa Don't check existence of -lcrypt to decide if DES is employed,
instead check that "NOCRYPT" isn't defined.
1994-10-29 10:13:34 +00:00
phk
74265c3dfa fixed a typing error. 1994-10-29 10:03:37 +00:00
phk
4a46b8f736 Fixed to make sysinstall work again. Notable changes:
Removed a dialog_clear() which somebody aimlessly had slammed into TellEm()
in absence of any understanding of the structure of this program. :-(

Skip through stage0 for now.

Make write_bootblocks write the disklabel using the kernel-call, and forget
about the boot-blocks for now.  This is wrong, but I havn't found the real
problem yet.  I will continue work on this problem.

Added a Debug-feature.  There is a printf' like Debug() now which sends its
output to ttyv1 (Alt-F2), and all "discarded output" from sub-processes end
up there too.  Made TellEm() put it's messages there also, so that we can
see where what happens.

Set the PATH for the shell we shouldn't start at the end :-)

set "npartitions" after the disklabel-editor returns, so that we actually
can edit all the 8 parts of the label.
1994-10-29 10:01:40 +00:00
jkh
fc695fb1c6 Add ipfw. 1994-10-29 08:22:13 +00:00
pst
ceda6f2de6 Test test test! sigh!
Perl's scripts are still trying to execute perl out of /usr/gnu/bin/perl.

The hack Larry was using for h2ph.1 doesn't work with the new macros, so
make it a real man page.

Also, we weren't building the .ph files, add them as an afterinstall rule
in the x2p subdirectory.
1994-10-29 07:14:55 +00:00
ache
600ce2885e Finally move DB declaration under _CURSES_PRIVATE 1994-10-28 23:38:18 +00:00
ache
17e2f636ce Fix print class mistype 1994-10-28 23:31:48 +00:00
ache
872e368581 Continue previous fix still 1994-10-28 23:27:57 +00:00
ache
eed5b939fd After some thinking better place to fix appearse curses again, not
vi(1). Remove DB from curses.h and still implement it provide
this variable for programs that expect it in any case.
1994-10-28 23:27:00 +00:00
ache
1f66985bdc Rename cDB to DB back like old good BSD curses always does,
check ultrix for example. Real place for fix will be vi(1),
wait for next commit.
1994-10-28 23:18:26 +00:00
phk
b706546997 A new Makefile, which is more our kind of makefile.
Based on Martins makefile, made by Rod, briefly tested by me
1994-10-28 22:13:22 +00:00
phk
8ef5a847e8 Add netboot to the world of make. 1994-10-28 22:11:50 +00:00
phk
79950c0308 Missed one reference to the DB variable. 1994-10-28 21:53:17 +00:00
phk
c9a9505ff1 Renamed a variable from 'DB' to 'cDB', so the vi(1) will compile again.
Nice to see that people test their fixes before they commit :-(
1994-10-28 21:39:58 +00:00
dg
feb96dc39d Fixed Jordan's editing mistake that caused this to puke. 1994-10-28 18:50:36 +00:00
joerg
850e2e3067 Fixed an evil bug where rawname() could write across the boundaries of
an array. The bug became obvious in the old system where the array was only
32 characters long (now MAXPATHLEN). Dump honored its name then (:-)
and dumped its core when calling dump -w for a fstab that contained rather long
NFS file system names. Even though this is rather unlikely to happen now,
a bug is a bug:)
1994-10-28 17:26:27 +00:00
joerg
1a6f66b178 Corrected the xref to the driver man page to be fdc(4) now that
we have one (instead of fd(4)).
1994-10-28 17:07:32 +00:00
jkh
a0ede86cbf Totally refrobnicate stage0. Add an extern to sysinstall.h so we can
all share the same `selection' variable.
1994-10-28 15:19:57 +00:00
jkh
4cdf6c2084 Add sample stuff for the ipfw(1) utility. 1994-10-28 15:17:23 +00:00
jkh
a90bff7c68 Fix up the man page a little more, delete the README that crept in
(but I'm actually just as happy to have in the attic, for reference).
1994-10-28 15:12:22 +00:00
jkh
6dbcdb0ab9 IP Firewall code from Daniel Boulet and J.S.Antsilevich
Submitted by:	danny ugen
1994-10-28 15:09:49 +00:00
jkh
e0b6ad752c This commit was generated by cvs2svn to compensate for changes in r3965,
which included commits to RCS files with non-trunk default branches.
1994-10-28 15:06:53 +00:00
jkh
cb82096387 Add the ipfw command, for IP firewall construction.
Submitted by:	danny ugen
1994-10-28 15:06:53 +00:00
jkh
8f38a9e26e Add the ipfw command, for IP firewall construction.
Submitted by:	danny ugen
1994-10-28 15:06:53 +00:00
jkh
3e33d35fb6 Andreas Klemm's tape erase patches from 1.1.5.1.
Submitted by:	andreas
1994-10-28 13:21:57 +00:00
jkh
685a08f618 Andreas Klemm's tape erase patches from 1.1.5.1
Submitted by:	andreas
1994-10-28 13:19:42 +00:00
jkh
076633a669 From: fredriks@mcs.com (Lars Fredriksen)
...
It turns out that these files do not include <sys/dkbad.h> before
<sys/disklabel.h>.
Submitted by:	fredriks
1994-10-28 12:42:05 +00:00
rgrimes
b033a47002 Removed extra slash between ${DESTDIR} and ${BINDIR}, noticed while working
on Makefile for netboot.
1994-10-28 07:54:13 +00:00