Commit Graph

11111 Commits

Author SHA1 Message Date
dyson
19d6126f96 Changed an incorrect splhigh to splbio. 1995-11-19 20:42:25 +00:00
dyson
8a10737211 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
dyson
13fde74b24 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
dyson
a2735c1b93 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
jkh
9b78db6baf Add Polish site to Mirrors. 1995-11-19 19:51:43 +00:00
dg
56868f5708 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
dyson
346903d48d Change incorrect '#if EXT2FS' to '#ifdef EXT2FS' 1995-11-19 19:46:23 +00:00
jkh
cb6563fdc3 Aign! I only changed the name tag, not the URL. Now they're both in sync. 1995-11-19 19:40:18 +00:00
jkh
3455ebac7c Update URL for Hong Kong mirror. 1995-11-19 19:38:27 +00:00
ache
c38cb85663 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
ache
6b3f3ebc55 Add commented out msgs call 1995-11-19 17:03:25 +00:00
ache
bd69bb9120 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
ache
616cf86edb Add commented out msgs alias 1995-11-19 16:52:19 +00:00
ache
fe21df6c4d 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
ache
44c4f6823f Add missing & in des_set_key argument 1995-11-19 15:20:48 +00:00
dg
191e41e14d Kill setting of b_pfcent - it's unused. 1995-11-19 13:24:00 +00:00
wpaul
669aa3b9da 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
bde
89f4ad04ae 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
bde
0d7eeca0d9 Moved the prototype for setsigvec() from kern_sig.c to signalvar.h.
Completed function pointer declarations.
1995-11-19 00:51:29 +00:00
dyson
abc5479800 Added a missing splx(s). 1995-11-18 23:33:48 +00:00
joerg
7191d72bfa 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
23c0dfac90 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
bde
39bf0372f9 Fixed the type of a function pointer. 1995-11-18 13:25:41 +00:00
bde
6006f83c90 Fixed a comment. 1995-11-18 13:07:51 +00:00
bde
4524e3644e Added bogus casts to avoid warnings.
Continued cleaning up sysinit stuff.
1995-11-18 13:01:19 +00:00
bde
f6f9517a58 KNFized spec_getpages_idone() and spec_getpages().
Moved misplaced #includes.

Completed function pointer declarations.
1995-11-18 12:49:14 +00:00
bde
fc2b88c806 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
bde
5c94c57f3f 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
bde
c8a9e0e378 Improved formatting.
Added a comment about possibly better handling of INPCK.

Added a prototype.
1995-11-18 11:07:00 +00:00
bde
a22b1aac63 Cleaned up SA_NODEFER changes.
Added prototypes.
1995-11-18 10:01:38 +00:00
bde
f032d983b7 Moved bogusly placed #endif that hid some prototypes. 1995-11-18 09:37:42 +00:00
bde
58a38b4b38 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
bde
0b3bb1936a 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
bde
5f8371d19f Fixed the types of the apm hook functions.
Completed function declarations.

Added prototypes.
1995-11-18 08:39:28 +00:00
bde
2403a3bdb8 Fixed the type of a timeout function.
Added prototypes.
1995-11-18 08:35:49 +00:00
bde
6601faf9f3 Fixed staticization - use `static' in function headers, not just in
prototypes.
1995-11-18 08:29:04 +00:00
bde
46948cb1ec Fixed a bogus include path.
Removed a bogus include.

Added prototypes.
1995-11-18 08:21:15 +00:00
bde
618bbe9fb0 Staticized an inline function. All inlines in kernel headers should be
static.  The function shouldn't be here anyway.  It is driver dependent,
while `ic' files are supposed to only depend on the IC.
1995-11-18 08:12:30 +00:00
bde
e1c8826a56 Fixed (nonexistent) initialization of bp->b_pblkno. disksort() for
floppies must have been random in 2.x since we reintroduced sorting
on b_pblkno on 1995/03/18.  Drivers still initialize b_cylin/b_resid
although this is no longer used.

Removed unused, wrong function fdsize().  (Returning 0 means that the
device exists and has size 0, not that the device doesn't exist.
swaponvp() allows for size 0 by stupidly calling the d_psize function
twice if the size isn't 0.  setdumpdev() doesn't allow for it.)

Continued removing /* ARGSUSED */ from drivers.
1995-11-18 07:48:11 +00:00
bde
921eaa04e6 Fixed the type of a timeout function.
Removed related bogus casts of function pointers.
Removed a bogus include.
1995-11-18 07:07:04 +00:00
bde
27735b844a Fixed the type of vm_fault_quick() - don't convert types back and forth
through bogus immediate types.

Added prototypes.
1995-11-18 06:54:11 +00:00
bde
0e35ee8052 Fixed handling of trace traps when cons_unavail is set. Added comments
about handing of other cases.
1995-11-18 06:49:35 +00:00
bde
9c1796f0bf Restored the device-driverness off wd.c. It got lost when wdc was
introduced.
Fixed the device-driverness of atapi.c and spkr.c.

These changes are actually no-ops because ${DRIVER_C} is the same as
${NORMAL_C} for the i386.  I could do without magic CFLAGS.  Special
handling should be in the sources if possible.
1995-11-18 05:34:00 +00:00
bde
2d5609b7ae Removed bogus padding that wasted 0x500 bytes.
Improved code and comments.  Don't do anything except transfer control
in the head.o module.
1995-11-18 05:25:24 +00:00
bde
ba88374c64 Fixed scrolling. The bottom line wasn't cleared. This caused the
boot to display "Booting the kernelel...done" instead of "Booting
the kernel".

Removed save and restore of BIOS memory.  kzipped kernels haven't
ever overlaid the BIOS memory.
1995-11-18 05:12:10 +00:00
bde
1ab1d0615c Fixed the types of apm_default_resume() and apm_default_suspend().
Added prototypes.
1995-11-18 04:37:23 +00:00
bde
bf95d7cc56 Fixed the type of nic_listen(). A trailing arg was missing.
Fixed calls to s_intr().  There was sometimes an extra trailing arg.
1995-11-18 04:19:44 +00:00
jkh
62889588f4 Ack. How embarassing. The PCNFSD and GATED config items were essentially
no-ops up to now, and the samba configuration didn't bother to add the package
either.  Whoops!
1995-11-17 23:49:45 +00:00
joerg
ef36b99558 Avoid bogus free() of a junk pointer.
Detected by: phkmalloc
Submitted by:	grog@lemis.de (Greg Lehey)
1995-11-17 23:22:34 +00:00
asami
c5cc6e0eab Use NO_MTREE, not !USE_X11 && !USE_IMAKE, to determine package args.
NO_MTREE should work as advertised (for both direct installation and
pkg_add) now.
1995-11-17 16:49:40 +00:00