David Greenman
555edc2c99
Took out junk to save the old value of BLOCKSIZE as it is unnecessary.
...
Remove CFLAGS=-g from Makefile.
1994-08-12 10:26:27 +00:00
David Greenman
9d4081ee4b
The last commit was bogus...the putenv doesn't affect the parent process,
...
so the BLOCKSIZE doesn't need to be preserved.
Also initialized the flags variables, and used 1k instead of 1024 for
BLOCKSIZE.
1994-08-12 10:23:49 +00:00
David Greenman
2150dea8de
The last commit was bogus...the putenv doesn't affect the parent process,
...
so the BLOCKSIZE doesn't need to be preserved.
1994-08-12 10:19:05 +00:00
David Greenman
ebf93438bf
Implemented the -k flag more properly...don't destroy the user's setting
...
of the BLOCKSIZE environment variable.
1994-08-12 07:26:52 +00:00
David Greenman
7952584606
New ethernet device driver from Matt Thomas:
...
This driver supports all the DEC EtherWORKS III NICs (DE203, DE204,
and DE205) and the later DEC EtherWORKS II NICs (DE200, DE201, DE202,
DE422). DEPCA-style boards prior to the DE200 have not been tested
and may not work.
Submitted by: Matt Thomas (thomas@lkg.dec.com )
1994-08-12 06:51:12 +00:00
David Greenman
bd1671dc28
Removed some unnecessary code that sets the link layer address. This should
...
be removed from the other drivers, too, as it is already done at a higher level
in the kernel.
1994-08-12 06:36:51 +00:00
David Greenman
6979fee553
Add missing ifr variable declaration that I forgot when adding MTU
...
ioctl support.
1994-08-12 06:06:19 +00:00
David Greenman
f66e339c33
Implement -k flag.
1994-08-12 02:02:22 +00:00
David Greenman
e6692375a2
swapinfo(1) command from 1.1.5. This version has been modified to work
...
with the new libkvm interfaces.
1994-08-12 01:49:30 +00:00
Garrett Wollman
40460a7a82
Make it set-uid until procfs is fixed.
1994-08-11 20:11:00 +00:00
Garrett Wollman
7be58aba8e
Make `ps' set-uid root so that it can read the same set of arguments
...
that old `ps'es did. I'm not too thrilled about this, but I'm not
enough of an FS person to hack procfs so that /proc/xxx/mem is readable
by members of group `kmem'. If this is done, then `ps' can go back to
being set-gid kmem.
1994-08-11 20:06:55 +00:00
Guido van Rooij
2668f73daf
Add rotattion of cron log to weekly.
...
Reviewed by:
Submitted by: guido
1994-08-11 17:23:29 +00:00
David Greenman
6aab3b5a6d
Use nulls to pad proctitle rather than spaces...makes ps(1) output more
...
readable.
1994-08-11 13:40:58 +00:00
David Greenman
338c75418e
Made kvm routines use procfs to get out process data such as argument
...
strings.
1994-08-11 13:38:23 +00:00
Jordan K. Hubbard
f9f0c18d31
Change outb() as per Bruce's instructions so that it doesn't explicitly
...
try to pass its argument in the ax register.
Reviewed by:
Submitted by:
1994-08-11 02:26:08 +00:00
Jordan K. Hubbard
2399a1589e
Correct and add proper man page extents.
...
Submitted by: jkh
1994-08-11 01:46:41 +00:00
Jordan K. Hubbard
c28e4c86c0
Fix man extents from .0 to .1
...
Submitted by: jkh
1994-08-11 01:42:28 +00:00
Jordan K. Hubbard
6acd8e2475
Bruce Evans is right - this shouldn't touch /etc *at all* and I should
...
have nuked it, not fixed it. No longer install /etc/localtime.
Reviewed by:
Submitted by:
1994-08-11 01:39:23 +00:00
Jordan K. Hubbard
5398226dc7
Use the right man page.
...
Submitted by: jkh
1994-08-11 01:38:23 +00:00
Jordan K. Hubbard
48df4d52ad
Add renice's correct man page to the Makefile.
...
Submitted by: jkh
1994-08-11 01:33:22 +00:00
Jordan K. Hubbard
97ad975557
Somewhere in the shuffle this lost its man page. Use the 1.1.5
...
one.
Submitted by: jkh
1994-08-11 01:06:29 +00:00
Jordan K. Hubbard
0419c5b941
Add a preventative rm of /etc/localtime in the install rule just in
...
case it's a link (in which case the subsequent install will fall over).
Submitted by: jkh
1994-08-11 00:54:30 +00:00
Jordan K. Hubbard
bfc54eff9f
Change a .0 to a .5.
...
Submitted by: jkh
1994-08-11 00:45:38 +00:00
Jordan K. Hubbard
1e42b679cd
Put the cons25 entries for syscons back.
...
Submitted by: jkh
1994-08-11 00:39:39 +00:00
Garrett Wollman
fba73571bd
For Pentium machines, use a faster version of microtime with 8 usec
...
resolution (can probably be improved somewhat). Other machines take
a three-instruction hit if I586_CPU is defined, none otherwise.
1994-08-11 00:28:24 +00:00
Jordan K. Hubbard
60303bdf64
termcap.0 -> termcap.5
...
Submitted by: jkh
1994-08-11 00:24:33 +00:00
Jordan K. Hubbard
d20fc875b8
Correct me.0 -> me.7
...
Submitted by: jkh
1994-08-11 00:11:44 +00:00
Garrett Wollman
a4f90f4d45
Tell Pentium users their CPU speed. (More changes to make use of this
...
to come later.)
1994-08-10 23:28:33 +00:00
Garrett Wollman
9830dcf4b8
Install procfs(5).
1994-08-10 20:04:57 +00:00
Garrett Wollman
2e461b47d9
Oops, fix typo.
1994-08-10 20:03:54 +00:00
Garrett Wollman
237dfed1d4
Initial manual page for the new procfs.
1994-08-10 20:03:06 +00:00
David Greenman
4c5483f462
Initialize lockf pointer. I missed this when I made NFS use the generic
...
advlock mechanism, and not doing so results in random system crashes.
1994-08-10 19:48:23 +00:00
Garrett Wollman
abb5479a19
Gimme my `-k' option back!
1994-08-10 19:25:34 +00:00
Garrett Wollman
7f0eabfd0a
Gimme back my `-k' option!
...
Also document `-t' option in the usage message.
1994-08-10 19:21:07 +00:00
Jordan K. Hubbard
f5b35288ac
Remove kerberosIV until it works or is replace with eBones.. It's
...
hosing my build worlds..
Submitted by: jkh
1994-08-10 19:19:35 +00:00
Garrett Wollman
652f974539
Added example of how to tell various FreeBSD versions apart.
1994-08-10 06:40:36 +00:00
Garrett Wollman
01697c8ddb
Oops, forgot to cvs add this file.
1994-08-10 06:27:35 +00:00
Garrett Wollman
9ae159169a
Make it easier for programs to figure out what revision of FreeBSD they
...
are running under. Here's how to bootstrap (order is important):
1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel. Reboot.
4) cd /usr/src/include; make install
You can now detect the compilation environment with the following code:
#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif
You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.
For the time being, the release date is defined as 199409, which we have
already established as our target.
1994-08-10 06:25:07 +00:00
Garrett Wollman
0a9783e5a2
Define __FreeBSD__ to be 2.
1994-08-10 06:12:51 +00:00
Jordan K. Hubbard
5670e75738
Change bogus --I to -I to make compilation happen again.
...
Submitted by: jkh
1994-08-10 04:55:19 +00:00
Garrett Wollman
5c8b38d41d
Handle NMI's in accordance with data in van Gilluwe book.
1994-08-10 04:39:52 +00:00
Garrett Wollman
d1d58d7209
Eliminate non-fatal error message so Jordan doesn't get confused.
1994-08-10 04:25:19 +00:00
Garrett Wollman
2e0cc1821d
Some programs (like GNU configure programs) depend on the output of
...
`uname -s' to be something reasonable (traditionally, `i386') rather
than `PC-Class'. Make it so.
1994-08-10 03:53:33 +00:00
Garrett Wollman
29c0a86011
Add back in CPU detection copde from 1.1.5. As an added bonus, the
...
hw.model MIB variable is now declared correctly.
1994-08-10 03:51:18 +00:00
David Greenman
28b5c68f2f
Fixed vm_page_deactivate to deal with getting called with a page that's
...
not on any queue. This is an old patchkit days fix.
Reviewed by: John Dyson and David Greenman
Submitted by: originally by Paul Mackerras
1994-08-10 03:09:37 +00:00
Garrett Wollman
45f7f888bb
Make the install targets obey the INSTALLFLAGS requests in the new
...
Makefiles.
DANGER WILL ROBINSON!
This will cause repeat installs of certain programs, such as `init' and
`rcp', to fail unless one of the two conditions is met:
1) You are in single-user mode.
2) Your security level is set to 0 or -1.
If you have compiled a kernel from the latest sources, your kernel
security level is set to -1 by default, which will keep `init' from
fiddling with it. You can increase it, but not decrease it, from the
command line with the command `sysctl -w kern.securelevel=<new value>'.
I believe that -1 is the most appropriate value to use while we are still
developing the code, although when we ship it should be changed back to 0.
See init(8) for more information.
1994-08-10 02:48:08 +00:00
Garrett Wollman
6ae6a09b83
Change default security level to -1, so that users don't get bitten by
...
upcoming makefile change.
1994-08-10 02:41:09 +00:00
Garrett Wollman
6a39a56770
Add back set_rpc_grouplistsize(), so mount_nfs compiles again. Also
...
fixed incipient bug wrt gid_t versus int.
1994-08-10 02:25:22 +00:00
Jordan K. Hubbard
1a7466e84a
Nuke GNU pr.
...
Reviewed by:
Submitted by:
1994-08-10 00:24:25 +00:00
Garrett Wollman
d669ce372d
Fixed typo.
1994-08-09 22:44:12 +00:00