Commit Graph

458 Commits

Author SHA1 Message Date
Gary Clark II
c6fc9f62f9 Changed my copyright back. Too many problems with new one. 1994-12-28 17:27:21 +00:00
Andrey A. Chernov
b2c473eaec adduser added 1994-12-28 14:00:11 +00:00
Andrey A. Chernov
7a9bf0aeb8 Fix configfile path 1994-12-28 13:49:55 +00:00
Andrey A. Chernov
36e94efd67 Move conf files to src/etc 1994-12-28 13:47:31 +00:00
Gary Clark II
0b102aed10 Add makefile for adduser.
Would a makefile guru please look this over to make sure I did this right?
1994-12-28 07:35:09 +00:00
Gary Clark II
4baf40c2ef Add Id strings 1994-12-28 07:11:29 +00:00
Gary Clark II
6f91ec858d Adding my adduser command. I only have to add a makefile for it to
be compleate.
1994-12-28 06:55:42 +00:00
Andreas Schulz
5c0ca64ca0 Submitted by: John Capo
Bogus pstat usage message from pstat:
usage: pstat -Tfnstv [system] [-M core] [-N system]

[system] is not mentioned in the man page and I don't
see where it is used in the code either.
Added also a [] around the first options to show them as optional, ATS.
1994-12-28 00:47:03 +00:00
Garrett Wollman
71704f34b1 Disable UDP service looping attack. 1994-12-21 19:08:45 +00:00
Andrey A. Chernov
8dac9202c0 Now crontab works not only for vi editor, i.e. refers to
file name not to file fd
1994-12-21 11:06:08 +00:00
Andreas Schulz
4ecd9d4bfa Changed two occurrences of tcpdump(l) to tcpdump(1). 1994-12-12 00:41:04 +00:00
Andreas Schulz
9689f8ef27 Change a SLSTAT 1 to SLSTAT 8 . 1994-12-12 00:38:01 +00:00
Andreas Schulz
a78eb8ba84 Changed a PPSTATS 1 to PPPSTATS 8 . 1994-12-12 00:36:41 +00:00
Andreas Schulz
13c29e789d Changed an LSDEV 1 to LSDEV 8 . 1994-12-12 00:35:01 +00:00
Andreas Schulz
2f1aa0f1bf Changed a ACCTON 1 to a ACCTON 8 . 1994-12-12 00:32:36 +00:00
Andreas Schulz
ea7f90817d Fixed a typo: /usr/sbin/lpd* to /usr/sbin/lpd as the name of the daemon. 1994-12-11 00:02:22 +00:00
Poul-Henning Kamp
3ef61f7ea3 Update to current reality. 1994-12-08 21:46:04 +00:00
Bruce Evans
a2a65bbb14 Finish removing `#ifdef STATCLOCK'. Not removing it properly here
probably broke (only) the association of interrupts with strings
in vmstat output.
1994-12-06 22:01:16 +00:00
Jordan K. Hubbard
ad12efc944 More changes from John T. Kohl. Man pages, mostly.
Submitted by:	jtkohl
1994-12-06 01:04:17 +00:00
Jordan K. Hubbard
8f396ebfb6 Many of John T. Kohl's patches from NetBSD. Thanks, John!
Submitted by:	jkohl
1994-12-06 00:51:50 +00:00
Poul-Henning Kamp
4da31dbbaa The vnconfig program. 1994-12-04 20:12:26 +00:00
Poul-Henning Kamp
d6bfd0e8f6 Added the vnconfig program. 1994-12-04 20:11:50 +00:00
Poul-Henning Kamp
bd1f210f7e Cannot use rmdir() for 'FR' because mkCTM doesn't sort the directories
in -depth order for us.  cvs-cur.0018.gz is a good example.
1994-12-04 04:47:31 +00:00
Poul-Henning Kamp
ada6f1dd56 Fix this to work under 2.0 also. 1994-12-03 22:54:04 +00:00
Nate Williams
766ee5695e Kernel name is now kernel and not 386bsd. 1994-12-02 06:19:37 +00:00
Garrett Wollman
3980ac4f63 Change obnoxious ``Not root dir'' error message into one which actually
tells you what's wrong.
1994-12-02 02:58:56 +00:00
Poul-Henning Kamp
1c3a258d79 Fixed a typo. Poited out by Bruce & Phillipe. 1994-12-01 21:05:28 +00:00
Andrey A. Chernov
3d9528063c BSD 4.4 compatibility fix
Submitted by: Ollivier Robert
1994-11-29 01:05:37 +00:00
Andreas Schulz
6313f15402 Add the automatically generated crunched_skel.c file to the CLEANFILES. 1994-11-28 11:46:37 +00:00
Bruce Evans
fb5960efc4 Remove ifdef for STATCLOCK. STATCLOCK is standard. 1994-11-27 16:16:35 +00:00
Bruce Evans
e89bcdb80f Apply an even number of ntohl's to icmp_otime. This fixes
`timedc clockdiff ...'.
1994-11-27 16:06:31 +00:00
Bruce Evans
8a3c1b369a Fix syntax errors (0 = foo()). 1994-11-27 16:01:29 +00:00
Poul-Henning Kamp
94fc076f56 Stefan Esser proved that I couldn't program, and Ollivier Robert that I
couldn't spell :-)
Submitted by:	Stefan Esser, Ollivier Robert
1994-11-26 08:57:42 +00:00
Garrett Wollman
8a7c811a5b Don't core on ``root on qq0 and fx0 and yy0'' specifications; just
take the first one and ignore all the rest, giving a warning message.
Fixes PR #3.
1994-11-23 20:36:08 +00:00
Andrey A. Chernov
d117a622c6 Make edquota works with other then vi editors,
i.e.check file by name, not by fd
1994-11-22 18:52:58 +00:00
Poul-Henning Kamp
7560c41839 abs path to /sys 1994-11-21 02:21:07 +00:00
Poul-Henning Kamp
179c34054c once more 1994-11-21 01:54:55 +00:00
Poul-Henning Kamp
b8faa34ddb More abs paths nuked 1994-11-21 01:52:36 +00:00
Poul-Henning Kamp
c4bff2faf4 And another absolute path -I :-< 1994-11-20 22:42:16 +00:00
Andreas Schulz
dc0b56513d Put a simple algorithmus in there that checks the last generated prototype
for ioconf.c with the current and suppress the generation if they are
equal. This now prevents all the warnings from the c-compiler about
sio or snd or two adaptecs. This works only if the sio lines are grouped
together in the config files, but it is better than nothing.
1994-11-20 13:39:07 +00:00
Andreas Schulz
ef1520b343 Add the missing subdirs cdplay and spkrtest into the clean/cleandir targets. 1994-11-19 17:34:12 +00:00
Jordan K. Hubbard
db85ed15df Some miscellaneous bug fixes inspired by Adam Glass's work. Adam's
work is actually more comprehensive, but I just took what was needed
for now given our compressed time schedules.  Thanks, Adam!
Submitted by:	glass
1994-11-19 13:57:21 +00:00
Andreas Schulz
ee2b9e6b02 More updates to the manual pages. Used also the unknown macro.
Also install the named-xfer manual page, when we have it in the source.
1994-11-19 13:42:06 +00:00
Andreas Schulz
85c08d3263 More updates to the manual pages. Used also the unknown macro. 1994-11-19 13:41:26 +00:00
Andreas Schulz
3ea78182f0 Correct the nslookup manpage that has some macros in it, that our man system
doesn't understand.
1994-11-19 13:16:52 +00:00
Andreas Schulz
1957afa609 Correct the named manpage that has some macros in it, that our man system
doesn't understand.
1994-11-19 13:14:54 +00:00
Jordan K. Hubbard
40851014d5 From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug.  a patch is included below.  this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl

Reviewed by:
Submitted by:
Obtained from:
1994-11-18 02:55:21 +00:00
Justin T. Gibbs
80785c507b Add new keywords to config. The options availible in file.i386 are now:
/*
         * filename     [ standard | optional ] [ config-dependent ]
         *      [ dev* | profiling-routine ] [ device-driver] [ no-obj ]
         *      [ compile-with "compile rule" [no-implicit-rule] ]
         *                     [ dependancy "dependancy-list"]
         */

I added

no-obj -  This entry does not create anything linkable to the kernel.
dependancy - Add additional dependancy rules to a target.
no-implicit-rule - Don't assume .c -> .o type rules.  Config is really
             dumb in this area and assumes that everything is a .c file
	     irregarless of extention.  This was the best choice really
	     since there may even be .c file that you don't want to follow
	     the standard rules.

This was all done so that the building to the aic7770 assembler and using
the aic7770 assembler in the building of the aic7770 driver could be config
dependant.  I can now have an entry like this for the driver:

aic7770                         optional        ahc     device-driver   \
        compile-with    "${CC} $> -o $@"                                \
        dependancy      "$S/gnu/misc/aic7770/aic7770.c"                 \
        no-obj no-implicit-rule
aic7770_seq.h                   optional        ahc     device-driver          \
        compile-with "${.CURDIR}/aic7770 -o $@ $S/gnu/misc/aic7770/aic7770.seq"\
        dependancy "$S/gnu/misc/aic7770/aic7770.seq aic7770"                   \
        no-obj no-implicit-rule
i386/isa/aic7770.c              optional        ahc     device-driver   \
        dependancy "aic7770_seq.h"

I also added '\' escaping to newlines so that this doesn't look as gross as
it could have.

Reviewed by: jkh
1994-11-17 20:30:01 +00:00
Jordan K. Hubbard
07b5b56eba Don't create packages with bogus @name lines. 1994-11-17 10:54:11 +00:00
Jordan K. Hubbard
3e78200fd8 Protect against old packages with bogus @name fields. Use basename_of()
on the name before recording it in /var/db/pkg.  Sorry, Kaleb, you
were right after all!  It was my fault! :)
1994-11-17 10:53:21 +00:00
Jordan K. Hubbard
d08bdbd3d1 Add a new basename_of() function. 1994-11-17 10:51:51 +00:00
Jordan K. Hubbard
eead05e797 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
Andrey A. Chernov
3f6dabb23b strncmp use wrong utmp name size
Submitted by: rlz@zeus.id.net
1994-11-14 20:26:52 +00:00
Bruce Evans
ba9c09688c Add missing define of DPADD. Remove uneccessary define SRCS. Reorder
defines.
1994-11-14 08:02:40 +00:00
Bruce Evans
99fb10656e 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
Bruce Evans
2f1d65aabc 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 Fredriksen
5d07694903 Delete duplicate pppd entry. Also move pppstats in the right spot lexically. 1994-11-12 22:24:17 +00:00
Lars Fredriksen
ab0f6b123c 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 Fredriksen
665583d21a pppd was missing from the SUBDIRS. 1994-11-12 19:15:01 +00:00
Andrey A. Chernov
8e3327c9e3 Use CDIOCALLOW before CDIOCEJECT 1994-11-12 18:25:03 +00:00
Andrey A. Chernov
a4d451dbae cdplay added 1994-11-12 16:05:43 +00:00
Andrey A. Chernov
cc35e837fa Very simple non-X CD player for testing purposes,
better than nothing
1994-11-12 16:03:14 +00:00
Lars Fredriksen
f147a7b270 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 Fredriksen
1b4d00dd27 pppstats from ppp-2.1.2 1994-11-12 06:07:15 +00:00
Jordan K. Hubbard
3aa40eb0ac Add pppd to the Makefile. It seems to work.. 1994-11-11 23:47:32 +00:00
Andrey A. Chernov
936d754a6c Fix printout bug
Submitted by: fredriks@mcs.com
1994-11-10 13:39:01 +00:00
Garrett Wollman
e0a7da508f Treat formfeeds like any other whitespace. 1994-11-07 19:57:20 +00:00
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