Commit Graph

11329 Commits

Author SHA1 Message Date
Bill Paul abc60cd9fc Amend my fix a bit. My way failed to take leap years into account. The
simplest thing is to just calculate the days using curtime - boottime / 86400.
The modification for this is less obtrusive anyway.

Suggested by: Bill Fenner <fenner@parc.xerox.com>
1995-11-21 05:43:27 +00:00
Peter Wemm 10459e8c10 Link up John Hay's ar(4) man page..
This shouldn't conflict with ar(1) because of the search order...
1995-11-21 04:02:37 +00:00
Peter Wemm fbe98235bb Man page for the Arnet driver.. 1995-11-21 03:07:26 +00:00
Peter Wemm e7c234a1a1 Add and document the hooks for John Hay's Arnet sync driver... 1995-11-21 02:50:10 +00:00
Peter Wemm cc9fce5ad7 This driver supports the Arnet SYNC/570i ISA cards that is based on the
HD64570 chip. Both the 2 and 4 port cards is supported and auto detected.

Line speeds of up to 2Mbps is possible. At this speed about 85% of the
bandwidth is usable with 486DX processors.

The standard FreeBSD sppp code is used for the link level layer. The
default protocol used is PPP. The Cisco HDLC protocol can be used by
adding "link2" to the ifconfig line in /etc/sysconfig or where ever
ifconfig is run.

At the moment only the V.35 and X.21 interfaces is supported. The others
may need tweaks to the clock selection code.

Submitted by: John Hay <jhay@mikom.csir.co.za>
1995-11-21 02:32:04 +00:00
Peter Wemm 8fb90141c8 If a lcp configure request is received in the lcp opened state and it
is acknowledged, it should go to the lcp ack sent state.

Don't reply on lcp echo requests when not in the lcp opened state.

If the interface is set to CISCO mode, it should still be marked
running when ifconfiged.

Fixed a few indentations that had gone wrong somewhere.

Submitted-by: John.Hay@csir.co.za
1995-11-21 01:23:13 +00:00
Peter Wemm d57885c30d If sendmail is collecting a message *not* via SMTP, then this patch will
turn off the read data block timeouts.  This was inspired by the same fix
in sendmail-8.7, but the code in this area is somewhat different. (8.7
is much more sensible).  This will stop the infamous
"timeout waiting for input during message body read" on long running jobs,
eg: /etc/daily | mail root.
1995-11-20 23:32:21 +00:00
Peter Wemm 2d9cb0580d Stop rlogind from bogusly ignoring an explicit .rhosts file for root.
It still correctly ignores hosts.equiv.  This is now consistant with rshd.
1995-11-20 23:25:35 +00:00
Ollivier Robert b348eb87ac Add a few questions, especiallyuy two answered by Jordan in Usenet.
Change one to a better form. Add a mention about quotas.
1995-11-20 22:51:01 +00:00
Ollivier Robert 0e6397868d Add several questions to the FAQ.
Chnge references to the *.FAQ files into URL for the Handbook.

Synch. with 2.1.0R releases notes.
1995-11-20 22:32:13 +00:00
Mark Murray ec07fbef21 Correct the man pages, USD doc and online help to refer to /var/mail
instead of {usr|var}/spool/mail
1995-11-20 20:51:42 +00:00
Bruce Evans bf7141134e Quick fix for stat_imask and intr_mask[8] not having the RTC interrupt
bit set.  I broke stat_imask in Dec 1994 and update_intr_masks() has
copied the breakage to intr_mask[8] since Mar 1995.  This can cause
the RTC to stop interrupting in rare cases (under loads heavy enough
for a new RTC interrupt to occur at a critical time just before Xintr8
finishes handling the previous one) and may have caused worse problems.
1995-11-20 13:24:18 +00:00
Poul-Henning Kamp 4b2af45f4b Mega commit for sysctl.
Convert the remaining sysctl stuff to the new way of doing things.
the devconf stuff is the reason for the large number of files.
Cleaned up some compiler warnings while I were there.
1995-11-20 12:42:39 +00:00
Poul-Henning Kamp fe66bbf488 Fully prototype physio(). 1995-11-20 12:35:16 +00:00
Poul-Henning Kamp c9d160712f Fix #includes. 1995-11-20 12:29:05 +00:00
Poul-Henning Kamp dcc3cb753b fix #includes & warnings. 1995-11-20 12:28:21 +00:00
Poul-Henning Kamp 9989d2c4f8 Add a couple of the easy prototypes. 1995-11-20 12:27:00 +00:00
Poul-Henning Kamp c03020b22f Fix compiler warnings. 1995-11-20 12:25:37 +00:00
Poul-Henning Kamp 3af768903d Remove unused vars & funcs, make things static, protoize a little bit. 1995-11-20 12:20:02 +00:00
Poul-Henning Kamp 48cee07655 Put cbstat() under #ifdef DDB 1995-11-20 12:15:45 +00:00
Poul-Henning Kamp 78535df223 Remove unused var. 1995-11-20 12:14:40 +00:00
Poul-Henning Kamp bf6a29da66 Fix compiler warnings. 1995-11-20 12:13:32 +00:00
Poul-Henning Kamp 0f6873dbcc move variables inside the #ifdef. 1995-11-20 12:12:02 +00:00
Poul-Henning Kamp 52813bb5e5 Change call to kern_sysctl to userland_sysctl. Not tested. 1995-11-20 12:10:59 +00:00
Poul-Henning Kamp 076585265f Remove unused vars. 1995-11-20 12:10:09 +00:00
Poul-Henning Kamp a5d3a44198 Close the "unused" warning for things in linker-sets.
This will also allow us to catch typos in the setname by running a
nm through a grep.
1995-11-20 12:08:08 +00:00
Poul-Henning Kamp bfbd8bffa1 Fix a printf. 1995-11-20 12:03:52 +00:00
Julian Elischer 92398c66ee brought up-to-date with regards to some aspects of the scsi system
doubtlessly imported new and interesting spelling errors..
1995-11-20 05:46:00 +00:00
John Dyson fec16d9994 Yet another small block FS bug fix. 1995-11-20 04:53:45 +00:00
John Dyson 2d6ec99c0a Since FreeBSD clustering code now supports filesystems < PAGE_SIZE,
enable clustering for cd9660, thereby giving a BIG performance boost.
1995-11-20 03:57:50 +00:00
John Dyson 10c8eaff67 Fix more clustering bugs for FSes with block sizes < PAGE_SIZE. 1995-11-20 03:55:48 +00:00
David Greenman fb27490243 Trim #includes to those that are necessary; other cosmetic changes. 1995-11-20 02:12:34 +00:00
John Fieber c89d9c5a91 Bring 2.1 changes back into the head. 1995-11-20 01:10:33 +00:00
John Dyson 68a2196fad First set of changes to eliminate the ad-hoc device buffer queues,
replacing them with TAILQ's as appropriate.  The SCSI code is the
first to be changed -- until the changes are complete, both b_act and
b_actf will be in the buf structure.  b_actf will eventually be removed.
1995-11-19 22:22:35 +00:00
John Dyson fb9ca17e1e Changed an incorrect splhigh to splbio. 1995-11-19 20:42:25 +00:00
John Dyson b0a50fff55 Correct some serious porting errors. The worst one was that the
vnode was being placed upon the mount point twice!!!
1995-11-19 20:24:15 +00:00
John Dyson aa3960192e General fixes to the vfs clustring code:
1) Make cluster buffer list be a non-malloced chain.  This eliminates
yet another 'evil' M_WAITOK and generally cleans up the code.
2) Fix write clustering for ext2fs.  It was just broken.  Also, ffs
clustering had an efficiency problem that more bawrites were happening
than should have been.
3) Make changes to buf.h to support the above, plus remove b_pfcent
at the request of David Greenman.

Note that the reallocblocks code is disabled pending rewrite for
the cluster buffer list changes.
1995-11-19 19:55:26 +00:00
John Dyson 5fe17eeb8a General fixes to the vfs clustring code:
1) Make cluster buffer list be a non-malloced chain.  This eliminates
yet another 'evil' M_WAITOK and generally cleans up the code.
2) Fix write clustering for ext2fs.  It was just broken.  Also, ffs
clustering had an efficiency problem that more bawrites were happening
than should have been.
3) Make changes to buf.h to support the above, plus remove b_pfcent
at the request of David Greenman.
Reviewed by: davidg (partially)
1995-11-19 19:54:31 +00:00
Jordan K. Hubbard 43849ddc7b Add Polish site to Mirrors. 1995-11-19 19:51:43 +00:00
David Greenman 82faa9875a i386 is defined by the compiler, so don't define it here. LOAD_ADDRESS
is only used in the Makefile, so don't define it in CFLAGS.
1995-11-19 19:49:43 +00:00
John Dyson f00c174fea Change incorrect '#if EXT2FS' to '#ifdef EXT2FS' 1995-11-19 19:46:23 +00:00
Jordan K. Hubbard 4199b4c257 Aign! I only changed the name tag, not the URL. Now they're both in sync. 1995-11-19 19:40:18 +00:00
Jordan K. Hubbard c23fb23b51 Update URL for Hong Kong mirror. 1995-11-19 19:38:27 +00:00
Andrey A. Chernov cfc14c6f50 Add commented out msgs database cleanup to crontab
Add -f (silent) flag to msgs call for logins (commented out)
1995-11-19 17:21:13 +00:00
Andrey A. Chernov 338b19aad1 Add commented out msgs call 1995-11-19 17:03:25 +00:00
Andrey A. Chernov 8b761b33c1 Default file creation mask was 666 (allow othres write anything
to msgs directory), change it to 644
1995-11-19 16:55:50 +00:00
Andrey A. Chernov 648dce7dd1 Add commented out msgs alias 1995-11-19 16:52:19 +00:00
Andrey A. Chernov 62b0fc8100 Change owner of msgs to daemon, sendmail msgs alias not works in other case,
sendmail change itself to daemon.daemon before executing program.
1995-11-19 16:50:34 +00:00
Andrey A. Chernov cd0106ae43 Add missing & in des_set_key argument 1995-11-19 15:20:48 +00:00
David Greenman bb36f58651 Kill setting of b_pfcent - it's unused. 1995-11-19 13:24:00 +00:00