Commit Graph

10908 Commits

Author SHA1 Message Date
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
Bill Paul
f7e522bcd5 Rup uses tm_yday in its uptime printout, but ignores tm_year. This means
that if you do an rup on a machine that's been running longer than a year,
you get the wrong day count. Now we factor in 365 * (curtime.tm_year -
boottime.tm_year) to get the correct value. (I noticed this while running
rup on a SunOS machine I have that's been up 525 days. My FreeBSD
machines all said it had only been up for 160 (525-365) days. :)
1995-11-19 05:33:30 +00:00
Bruce Evans
0808c591da Fixed settimeofday():
- don't allow invalid timevals.
- normalize timevals as they are built - don't call timevaladd() with
  a possibly invalid timeval and normalize the result.

Fixed a warning.
1995-11-19 00:59:22 +00:00
Bruce Evans
671b09886c Moved the prototype for setsigvec() from kern_sig.c to signalvar.h.
Completed function pointer declarations.
1995-11-19 00:51:29 +00:00
John Dyson
0ada0d6748 Added a missing splx(s). 1995-11-18 23:33:48 +00:00
Joerg Wunsch
717252ea98 Fix my own brokeness for the colon operator, when one of the arguments
was a valid integer.  The actual decision between integer and string
is now context-dependant on the operator being used.
1995-11-18 18:05:03 +00:00
Joerg Wunsch
019420a58f Andreas Klemm's patch set for dump(8), with some minor (cosmetic)
changes and one addition by me.

. Use reasonable defaults for the tape drive (/dev/rst0) instead of
  something we actually don't have.

. Add a summary line displaying the alapsed time and the total throughput.

. Replace "rmt" for the remote location of rmt(8) by "/etc/rmt", since this
  is the historical protocol, and relying on the $PATH causes a big pain.
  Make it adjustable via an environmental variable though.

Reviewed by:	joerg (for Andreas' part)
Submitted by:	andreas@knobel.gun.de (Andreas Klemm)
1995-11-18 18:00:43 +00:00
Bruce Evans
1031ab97d2 Fixed the type of a function pointer. 1995-11-18 13:25:41 +00:00
Bruce Evans
68e2ef24ca Fixed a comment. 1995-11-18 13:07:51 +00:00
Bruce Evans
27501cb677 Added bogus casts to avoid warnings.
Continued cleaning up sysinit stuff.
1995-11-18 13:01:19 +00:00
Bruce Evans
cfa542ad34 KNFized spec_getpages_idone() and spec_getpages().
Moved misplaced #includes.

Completed function pointer declarations.
1995-11-18 12:49:14 +00:00
Bruce Evans
75a85811c1 Fixed the errno returned by rename("dir1", "dir2/."). It was EISDIR
(duh); translate it to EINVAL which is the errno for other renames
to ".".
1995-11-18 11:35:05 +00:00
Bruce Evans
24f7e33dfd Fixed afterinstall rule:
- apply chmod to the targets, not to the sources.
- apply chown to the targets.

It is still bogus to install by building in the target directory.  See
mklocale/data/Makefile for a better method.
1995-11-18 11:21:37 +00:00
Bruce Evans
3b9a76f03c Improved formatting.
Added a comment about possibly better handling of INPCK.

Added a prototype.
1995-11-18 11:07:00 +00:00
Bruce Evans
7bcb7905fd Cleaned up SA_NODEFER changes.
Added prototypes.
1995-11-18 10:01:38 +00:00
Bruce Evans
27413a9eef Moved bogusly placed #endif that hid some prototypes. 1995-11-18 09:37:42 +00:00
Bruce Evans
6eeed24248 Updated comments. The comments about the unused addresses get broken
almost every time someone uses an address.  This file is probably not
the right place to keep track of the unused addresses (or used
addresses :->).

Fixed comments on #endif's to match code.

Added defines for ASC and GSC sizes.  This file is not the right place
to keep track of scanner addresses, but while there here and we
pretend to keep track of unused addresses, the sizes need to be here
too.

Sorted IO_*SIZE defines.
1995-11-18 09:29:39 +00:00
Bruce Evans
47b4b8b88e Fixed the types of the apm hook functions.
Completed function declarations.

Added prototypes.

Partially fixed the path to cons.h.
1995-11-18 08:58:14 +00:00
Bruce Evans
58bfbb4b1a Fixed the types of the apm hook functions.
Completed function declarations.

Added prototypes.
1995-11-18 08:39:28 +00:00
Bruce Evans
980dc8bb6e Fixed the type of a timeout function.
Added prototypes.
1995-11-18 08:35:49 +00:00
Bruce Evans
caa8e73783 Fixed staticization - use `static' in function headers, not just in
prototypes.
1995-11-18 08:29:04 +00:00
Bruce Evans
6b88228fc4 Fixed a bogus include path.
Removed a bogus include.

Added prototypes.
1995-11-18 08:21:15 +00:00