Commit Graph

388 Commits

Author SHA1 Message Date
Andrey A. Chernov
5a3391bf7f Fix for 'pstat -t' works on vtys
Submitted by: jhay@mikom.csir.co.za
1994-11-03 11:41:34 +00:00
Jordan K. Hubbard
e0115bffa0 Whoops - one two many zeros in the initializer. This should have everybody
enabled by default now.
1994-11-03 05:37:53 +00:00
Jordan K. Hubbard
afbf5b2156 Changes to initialize the id_enabled flag to 1.
Also initialize some fields that were never initialized before, and
simply defaulted to 0.  I've never looked at this code before, now
I know why.  Config needs to die.  Horribly.
1994-11-03 04:30:01 +00:00
Stefan Eßer
b3ad637c18 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Added PCI support code.
1994-11-02 23:27:36 +00:00
Andrey A. Chernov
a3d3b73b53 Restore back -i for adjkerntz 1994-11-02 09:43:38 +00:00
Poul-Henning Kamp
0d2cd3b7e9 make the right link to "zzz" 1994-11-02 07:20:58 +00:00
Poul-Henning Kamp
c4b01b57f6 Remove a relic from the old "equiv" kludge 1994-11-02 04:55:15 +00:00
Poul-Henning Kamp
86f39ea7e0 Fixed a #include to point to machine/apm_bios.h 1994-11-02 04:54:30 +00:00
Andrey A. Chernov
07e01ef0c9 Remove -i option from adjkerntz 1994-11-02 00:00:17 +00:00
Garrett Wollman
3fa88dec7f Add support for filesystem-specific `-o' options, and re-implement the
most common cd9660 and nfs options like God intended them.  (It is now
possible to say

	mount -o ro,soft,bg,intr there:/foo/bar /foo/bar

again.)  This whole getmntopt() business is an incredible botch;
it never should have been anything more than a wrapper around
getsubopt(3).  Because if the way the current hackaround is implemented,
options which take arguments (like the old `rsize' and `wsize') are still
unavailable, and must be accessed the new, broken way.

(It's unimaginable how Berkeley managed to screw up one of the few things
about NFS that Sun actually got right to begin with!)
1994-11-01 23:51:53 +00:00
Poul-Henning Kamp
19a41dfcbd The latest user-land changes from the author. I added a big warning to the
apm.4 man-page.  I also hope the Makefiles make sense now.

Submitted by:	HOSOKAWA Tatsumi
1994-11-01 22:46:40 +00:00
Joerg Wunsch
5bbd5762d9 Included the fdcontrol subdir. 1994-10-31 21:51:25 +00:00
Andreas Schulz
6d59e80597 Deleted the private clean/cleandir targets in the Makefile. Delete
a hardcoded reference to the "obj" dir. So this makefile should now
work with and without an obj dir and deletes the obj dir with a
normal cleandir.
1994-10-31 01:17:24 +00:00
Joerg Wunsch
e9e8f7b79d 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 Wunsch
3023486ce7 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
Jordan K. Hubbard
794559559f Remove eeprom from the default list of subdirs. It gets added properly
in the sparc case anyway.  Next step will be to move some of the i386
specific things, like fdformat and fdwrite, into an i386 .if clause.
1994-10-28 04:35:13 +00:00
Stefan Eßer
03c90f359f Fix typo in #if which prevented use of getbootfile() under FreeBSD-2.0. 1994-10-26 19:23:02 +00:00
Jordan K. Hubbard
e1f89fd7bc From: Michael Reifenberger <root@rz-wb.fh-sw.de>
Could you please commit this patch to usr.sbin/crunch/examples ?
This should make fixit.conf compilable again.
VI needs some hacks.

[Note:  I'm not sure how relevant this example is anymore, but then it's only
an example]
Submitted by:	mr
1994-10-26 14:52:43 +00:00
Jordan K. Hubbard
bf9e2e599f From: John Hay <jhay@mikom.csir.co.za>
Make swapinfo use libc functions for obtaining device information.

Note:  swapinfo should actually be deprecated, not fixed.  pstat -s performs
the same function.
Submitted by:	jhay
1994-10-26 14:49:07 +00:00
Steven Wallace
be0856f8c8 Applied patch009. Also added appropriate #include <string.h> which
would have detected that memset was not being passed a pointer in the first
place.

Submitted by:	Gene Stark (?) - 1.1.5.1 patch009
1994-10-25 20:50:41 +00:00
Bruce Evans
22ab7c8472 Define DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0). 0 is
a poor value for a magic number, and we need to be compatible.
1994-10-25 17:33:25 +00:00
Garrett Wollman
a365d1180c Added lsdev. 1994-10-24 22:22:44 +00:00
Garrett Wollman
9332379174 When -v not given, display longer state' and no parent'. 1994-10-24 22:21:51 +00:00
Poul-Henning Kamp
8962635a7b These patches fix some lesser problems:
1) malloc.h doesn't exits in 2.0.
2) Makefile.inc wasn't picked up so one of the build steps (install?)
failed.
3) LIBMD wasn't depended on.
4) "ctm foo" dumped core because "foo" doesn't have a '.' in it.

Bruce

I updated the mkCTM stuff while I was at it anyway.  /phk

Reviewed by:	phk
Submitted by:	bde
1994-10-24 20:09:39 +00:00
Garrett Wollman
7a880ea190 Updated to latest kernel code. Also provided a friendlier output format,
which is enabled by default (use `-c' to get the old format).  The new
format looks like this (only the values are correct; this was taken on my
machine with a slightly old kernel):

Device     St Parent     Description
---------- -- ---------- --------------------------------------------------
isa0       NC -
sc0        NC isa0       Parallel printer adapter
ed0        NC isa0       SMC8216/SMC8216C
sio0       NC isa0       RS-232 serial port
sio1       NC isa0       RS-232 serial port
fdc0       NC isa0       floppy disk/tape controller
fd0        NC fdc0       floppy disk
wdc0       NC isa0       ST506/ESDI/IDE disk controller
wd0        NC wdc0       ST506/ESDI/IDE disk
npx0       NC isa0       Floating-point unit

Note that many of these fields could be made more informative; I tried to make
my changes as unintrusive as possible.  See the `mcd' driver for an example
of one which actually does something with the `state' field.
1994-10-23 21:33:57 +00:00
Jordan K. Hubbard
31895db09f Add xten. 1994-10-22 14:59:35 +00:00
Doug Rabson
18269b5553 Change to use the correct lock file directory. 1994-10-22 14:40:48 +00:00
Jordan K. Hubbard
3200ea201e X-10 stuff from 1.1.5.1. 1994-10-22 09:55:43 +00:00
Andrey A. Chernov
6dde05f573 spkrtest added 1994-10-22 02:16:04 +00:00
Andrey A. Chernov
485752ff47 Speaker driver test script
Obtained from: FreeBSD 1.1.5.1
1994-10-22 02:09:06 +00:00
Garrett Wollman
5b36462392 Change `on'' to `at'' globally. 1994-10-18 22:01:58 +00:00
Poul-Henning Kamp
28c94285c2 Added a slot in the swap-dev-table for NFS-diskless to abuse. 1994-10-18 08:16:29 +00:00
Andrey A. Chernov
27e3c1f843 Remove machdep.color_display 1994-10-18 03:41:16 +00:00
Garrett Wollman
cc52ab733a First bugfix: isa devices print as at isa?' rather than on isa0'. 1994-10-17 23:29:15 +00:00
Garrett Wollman
0ed1ac8d35 lsdev(8), a user-land utility to query the device configuration database
managed by kern_devconf.c.  A useful feature is that the following
script generates almost well-formed config-file lines for all ISA devices
in the system:

lsdev -t isa | awk '{ print "device $0" }'
lsdev -t disk | awk '{ print "disk $0" }'
1994-10-17 23:26:10 +00:00
Andrey A. Chernov
5a66307202 Document new machdep variables, pointed by Rod 1994-10-17 18:55:21 +00:00
Gary Palmer
d377a7bd10 Change references from /386bsd' to /kernel' 1994-10-17 06:50:29 +00:00
David Greenman
0477ab473a Added slstat. 1994-10-17 06:06:45 +00:00
David Greenman
1cf7789777 slstats for FBSD 2.0. Copied in the repository from 1.1.5, and then applied
patches from John Hay.

Submitted by:	John Hay
1994-10-17 06:05:32 +00:00
Garrett Wollman
379bb2d779 New way of getting disk drive names. 1994-10-16 04:04:56 +00:00
Poul-Henning Kamp
eab1c60e10 Stop "make install" from falling over if DESTDIR is defined. 1994-10-15 07:45:45 +00:00
Stefan Eßer
a494b3b537 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Make -s option set parameters for all targets by default.
1994-10-15 00:03:32 +00:00
Gary Palmer
8dc10afa87 Move `ncrcontrol' into machine-dependant section. 1994-10-14 23:55:50 +00:00
Joerg Wunsch
b365f23675 #include'ing mysterious stuff from ${DESTDIR}/sys/<somewhere> is no longer
necessary.
Requested by: phk
1994-10-14 16:03:33 +00:00
Jordan K. Hubbard
cfa2a10c70 Sigh. NOW it's ok! :-) 1994-10-14 05:57:49 +00:00
Jordan K. Hubbard
1593f21e50 Print a better verbose message when creating packages. 1994-10-14 05:56:15 +00:00
Jordan K. Hubbard
69bb95d933 This should do it - I forgot about pkg_info. 1994-10-14 05:55:57 +00:00
Jordan K. Hubbard
9b98d77e09 Whoops - variable was in wrong scope. Correct. 1994-10-14 05:43:41 +00:00
Jordan K. Hubbard
ae38c11f2d Fix bug in home directory calculation that I introduced with the free space
checking code.  Fix the free space checking code, while I'm at it! ;)
Thanks to Garrett for spotting the home dir problem.
1994-10-14 05:42:24 +00:00
Jordan K. Hubbard
5da4a65126 Fix bug in home directory calculation that I introduced with the free space
checking code.  Fix the free space checking code, while I'm at it! ;)
Thanks to Garrett for spotting the home dir problem.
1994-10-14 05:34:04 +00:00
Stefan Eßer
1dc73d350b Added ncrcontrol (display and configure NCR 53c810 SCSI parameters). 1994-10-13 18:10:40 +00:00
Stefan Eßer
176416ca2e Added call to getbootfile() and removed reference to ncr.imask. 1994-10-13 18:01:32 +00:00
Stefan Eßer
7d44d0e3cf ncrcontrol will be installed SETGID kmem in /usr/sbin. 1994-10-13 17:45:40 +00:00
Stefan Eßer
35321ba474 Moved into correct MAN section ... 1994-10-13 17:43:51 +00:00
Stefan Eßer
a9db861824 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Config and statuts display utility for the NCR PCI SCSI driver.
1994-10-12 12:02:52 +00:00
David Greenman
e96c54247f Clean up after last commit: get rid of some unused variables. 1994-10-10 05:19:11 +00:00
David Greenman
1cb2c62684 Rewrote swap code to work with our swap layout. Much of the code stolen
from swapinfo.c.
1994-10-10 02:33:50 +00:00
Rodney W. Grimes
4ac2ef542b Add -U option which does the same things as -u except exits with 0
instead of 2 on MISMATCH.
1994-10-09 20:28:31 +00:00
David Greenman
ceff08fff5 Modified to use swaplist instead of swapmap. 1994-10-09 07:45:58 +00:00
David Greenman
8d7547c27e #if 0'd out the meat of the swap code until I get a chance to rewrite it. 1994-10-09 07:42:32 +00:00
Jordan K. Hubbard
90c00ca832 Be optionally verbose about free-space checking. I need this to ascertian
whether or not this always works.
1994-10-08 23:55:36 +00:00
David Greenman
29568da84a After a comment from Rod Grimes about buf.h, I went back and looked at this
and found that swapinfo doesn't need that include file and five others (!).
Sheesh.
1994-10-05 10:20:17 +00:00
David Greenman
5f7daa9621 Changes to buf.h now require that param.h be included. 1994-10-05 09:57:49 +00:00
Garrett Wollman
66f9b7d2d7 Correctly interpret the code field of IGMP membership queries. 1994-10-04 22:47:11 +00:00
Garrett Wollman
7ce1918123 Print out SNAP frames reasonably, including Apple's bogus Ethertalk
pseudo-SNAP encapsulation.  Still needs some work, by someone who
has a listing of 802.2 LSAPs.
1994-10-04 22:31:44 +00:00
Jordan K. Hubbard
46f5c7be76 Add the ability to verify that a package won't extract in the space
available.  Thanks to Michael Elbel for pushing me in the right direction.
1994-10-04 16:07:50 +00:00
Jordan K. Hubbard
92fdc4d3b4 My last commit to bsd.port.mk made me think - `pkg_create -p ...' should
override the PLIST file's own first @cwd.  Make this so.
1994-10-04 15:54:39 +00:00
Andrey A. Chernov
ac17aebe43 -lcompat removed from libs 1994-10-04 14:06:13 +00:00
Poul-Henning Kamp
b3760f248a Same as last one, use "sh -e" for these to make them catch pathological
conditions.
1994-10-03 23:51:34 +00:00
Poul-Henning Kamp
92248d4c46 Make sure mkskel.sh bails out if it finds trouble. Use "sh -e" to run it. 1994-10-03 23:34:03 +00:00
Andreas Schulz
69bf516655 Submitted by: gibbs@uclink.berkeley.edu
Fixed the missing blank in tzsetupvipw.
1994-10-03 11:21:47 +00:00
Garrett Wollman
8788f5888b Allow multicast NTP. 1994-10-02 18:05:48 +00:00
Poul-Henning Kamp
c9421aa7c4 Removed a lot of stuff which has no raison d`etre now that the kernel-driver
works correctly.
1994-10-02 17:18:12 +00:00
David Greenman
7216391e49 "idle priority" support. Based on code from Henrik Vestergaard Draboel,
but substantially rewritten by me.
1994-10-02 04:48:21 +00:00
Gary Palmer
723ff3e087 Move apm, apmconf, fdformat, fdwrite, kbdcontrol, lptcontrol, rtprio and
vidcontrol out of machine-independance into the I386 & clean
dependant sections. Also move 'timed' out of machine-dependace into
machine-independance

Reviewed by:	rgrimes
1994-10-02 03:42:40 +00:00
David Greenman
4ada351cf2 Added apm and apmconf. NOTE: This makefile is wrong in a variety of ways.
For one thing, the handling of arch-specific utilities is broken, and
things like apm and apmconf (and fdformat, kbdcontrol, vidcontrol, etc)
shouldn't be built for all arch's.
1994-10-01 03:44:05 +00:00
David Greenman
140cffd349 Laptop Advanced Power Management support (userland end) by HOSOKAWA Tatsumi.
Submitted by:	HOSOKAWA Tatsumi
1994-10-01 03:23:33 +00:00
Paul Traina
ad0e3007f6 Move bootp & related stuff 1994-09-30 05:48:52 +00:00
Andrey A. Chernov
60ef79be3f Sorry, wrong previous commit backed out, HAVE_GETBOOTFILE
defined in another place
1994-09-30 04:07:03 +00:00
Andrey A. Chernov
5ab21027d8 Forget to define HAVE_GETBOOTFILE 1994-09-30 03:43:28 +00:00
Andrey A. Chernov
c019533a0b Use getbootfile() properly, old code cause reboots somethimes 1994-09-30 02:20:25 +00:00
Garrett Wollman
0593f8e412 Make it compile under 2.0. 1994-09-30 00:34:21 +00:00
Garrett Wollman
6b6d0b46c4 Merged changes from the vendor branch. NB: this will NOT compile until
after the NEXT commit.
1994-09-29 23:44:43 +00:00
Garrett Wollman
db68bea3b9 This commit was generated by cvs2svn to compensate for changes in r3215,
which included commits to RCS files with non-trunk default branches.
1994-09-29 23:04:24 +00:00
Garrett Wollman
daa35edbd0 xntp 3.4e from Dave Mills @ UDel 1994-09-29 23:04:24 +00:00
Jordan K. Hubbard
61f402e0c8 Don't let pkg_delete remove the recorded location until everything has
absolutely, positively been successfully removed.
Reviewed by:
Submitted by:
Obtained from:
1994-09-29 13:19:43 +00:00
Paul Traina
8fcecfd6f9 Fix conflicts from import 1994-09-29 09:36:16 +00:00
Paul Traina
33e6aad96b Portmap 3.0 from win.tue.nl 1994-09-29 09:32:22 +00:00
Paul Traina
ba2fac6c4b getbootfile() not invoked 1994-09-28 06:37:41 +00:00
Paul Traina
45fe7a082a xntpd(8) doesn't know about /kernel (do it right, use get_bootfile()). 1994-09-27 18:30:26 +00:00
Paul Traina
5517824990 Enable new bind utilities. 1994-09-26 23:14:33 +00:00
David Greenman
78eb91b47f Fix comment: we have cron. 1994-09-26 22:20:19 +00:00
David Greenman
ff9c3a3239 ac(8) utility, brought over from FreeBSD 1.1.5. 1994-09-26 22:12:27 +00:00
David Greenman
90c5321f61 ac(8) utility, brought over from 1.1.5. 1994-09-26 21:56:38 +00:00
David Greenman
27f8e9694d Added sa. 1994-09-26 21:45:01 +00:00
David Greenman
6b5da6e295 Local changes - manual page extension, and minor man page changes 1994-09-26 21:41:06 +00:00
David Greenman
4b3a999186 This commit was generated by cvs2svn to compensate for changes in r3125,
which included commits to RCS files with non-trunk default branches.
1994-09-26 21:22:57 +00:00
David Greenman
b1069b52ff Process accounting utility by Chris Demetriou.
Obtained from:	NetBSD
1994-09-26 21:22:57 +00:00
Andrey A. Chernov
d28fc953f2 usage help: uncomment -d option, add -x option 1994-09-26 20:20:44 +00:00
Andrey A. Chernov
20f22c0990 Document -d and -x options 1994-09-26 19:58:07 +00:00