Commit Graph

388 Commits

Author SHA1 Message Date
jkh
5d00f60140 Remove the QUERY_* functions. I don't think they're as good an
idea as I apparently once did.
1994-11-17 10:35:04 +00:00
ache
48765f90e3 strncmp use wrong utmp name size
Submitted by: rlz@zeus.id.net
1994-11-14 20:26:52 +00:00
bde
4333a0959b Add missing define of DPADD. Remove uneccessary define SRCS. Reorder
defines.
1994-11-14 08:02:40 +00:00
bde
a5b37c90d5 Don't follow a null pointer for the reporting error if kvm_openfiles() fails.
Don't ever pretend that the program is named "." and has no args.
1994-11-14 07:54:06 +00:00
bde
3c1db6da25 Don't build an unused array of kernel names when HAVE_GETBOOTFILE is
defined.

Don't use the newfangled C features to waste time building the array
at runtime when HAVE_GETBOOTFILE is not defined.
1994-11-14 07:51:11 +00:00
lars
01ed7fba28 Delete duplicate pppd entry. Also move pppstats in the right spot lexically. 1994-11-12 22:24:17 +00:00
lars
71c125fd69 Obtained from: ppp-2.1.2
More correct use of __FreeBSD__ and BSD4_4 ifdefs. Fixed kvm_openfile()
call based upon suggestion from Bruce Evans.
1994-11-12 19:33:41 +00:00
lars
01ba00a426 pppd was missing from the SUBDIRS. 1994-11-12 19:15:01 +00:00
ache
edc9bb1c76 Use CDIOCALLOW before CDIOCEJECT 1994-11-12 18:25:03 +00:00
ache
07b3f43db1 cdplay added 1994-11-12 16:05:43 +00:00
ache
ea9399104e This commit was generated by cvs2svn to compensate for changes in r4392,
which included commits to RCS files with non-trunk default branches.
1994-11-12 16:03:14 +00:00
ache
1cf7809d91 Very simple non-X CD player for testing purposes,
better than nothing
1994-11-12 16:03:14 +00:00
lars
264b12c9b0 This commit was generated by cvs2svn to compensate for changes in r4381,
which included commits to RCS files with non-trunk default branches.
1994-11-12 06:07:15 +00:00
lars
b50536d92e pppstats from ppp-2.1.2 1994-11-12 06:07:15 +00:00
jkh
5ba4b165e8 Add pppd to the Makefile. It seems to work.. 1994-11-11 23:47:32 +00:00
ache
065c79ba58 Fix printout bug
Submitted by: fredriks@mcs.com
1994-11-10 13:39:01 +00:00
wollman
85b4fbc713 Treat formfeeds like any other whitespace. 1994-11-07 19:57:20 +00:00
smace
ef18154140 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
jkh
e78f90a463 __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
dg
4eb4e538ef Don't include map.h - it's been obsoleted. 1994-11-03 15:34:24 +00:00
ache
fcbce98373 Fix for 'pstat -t' works on vtys
Submitted by: jhay@mikom.csir.co.za
1994-11-03 11:41:34 +00:00
jkh
2ef8552dd5 Whoops - one two many zeros in the initializer. This should have everybody
enabled by default now.
1994-11-03 05:37:53 +00:00
jkh
223182a427 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
se
9fc13e23e8 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Added PCI support code.
1994-11-02 23:27:36 +00:00
ache
e61515fa64 Restore back -i for adjkerntz 1994-11-02 09:43:38 +00:00
phk
d39ebc09c3 make the right link to "zzz" 1994-11-02 07:20:58 +00:00
phk
0869125001 Remove a relic from the old "equiv" kludge 1994-11-02 04:55:15 +00:00
phk
76d6e07a93 Fixed a #include to point to machine/apm_bios.h 1994-11-02 04:54:30 +00:00
ache
db7efc2628 Remove -i option from adjkerntz 1994-11-02 00:00:17 +00:00
wollman
f22ba017a0 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
phk
7874667561 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
6cb1f43d67 Included the fdcontrol subdir. 1994-10-31 21:51:25 +00:00
ats
6993957f05 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
1142874b61 This commit was generated by cvs2svn to compensate for changes in r4007,
which included commits to RCS files with non-trunk default branches.
1994-10-30 18:52:01 +00:00
joerg
5d1a6c44a1 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
1a6f66b178 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
jkh
a5797b5674 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
se
7169429ec5 Fix typo in #if which prevented use of getbootfile() under FreeBSD-2.0. 1994-10-26 19:23:02 +00:00
jkh
927adb8ecc 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
jkh
740cbc15e6 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
swallace
24c2aab328 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
bde
e98634582e 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
wollman
f77f6cd044 Added lsdev. 1994-10-24 22:22:44 +00:00
wollman
a20115b916 When -v not given, display longer state' and no parent'. 1994-10-24 22:21:51 +00:00
phk
7c68a5ca07 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
wollman
171476dff7 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
jkh
8b298247f8 Add xten. 1994-10-22 14:59:35 +00:00
dfr
c816f711b3 Change to use the correct lock file directory. 1994-10-22 14:40:48 +00:00
jkh
c37ec63784 This commit was generated by cvs2svn to compensate for changes in r3782,
which included commits to RCS files with non-trunk default branches.
1994-10-22 09:55:43 +00:00
jkh
9e260f7e45 X-10 stuff from 1.1.5.1. 1994-10-22 09:55:43 +00:00