Commit Graph

340 Commits

Author SHA1 Message Date
Scott Mace
6831597a60 Make /usr/bin/crontab install setuid root. (doesn't work otherwise)
The distributed makefile in the package installs it setuid root..
Reviewed by:	jkh
1994-11-06 01:13:59 +00:00
Jordan K. Hubbard
fb59d6ab65 __386BSD__ -> __FreeBSD__
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
David Greenman
b2ed7c74c7 Don't include map.h - it's been obsoleted. 1994-11-03 15:34:24 +00:00
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