Commit Graph

554 Commits

Author SHA1 Message Date
Stefan Eßer
80cdd2af76 Add #include <pci/pcivar.h> for definition of PCI_EXTERNAL_LEN.
Reviewed by:
Submitted by:
Obtained from:
1995-02-03 20:26:50 +00:00
Jordan K. Hubbard
e9400e0561 Cosmetic fix.
Submitted by:	Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
1995-02-02 03:36:51 +00:00
Atsushi Murai
bf8a83a027 PPP does not find config files (Wrong path name not a /etc/ppp)
Submitted by:	Michael Reifenberger <root@rz-wb.fh-sw.de>
1995-02-02 01:54:27 +00:00
Poul-Henning Kamp
e86e7d0e07 CTM email tools.
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-01-31 19:12:53 +00:00
Atsushi Murai
ed1eb14104 Adding "ppp" entry for a user process PPP (aka iijppp) 1995-01-31 07:57:09 +00:00
Atsushi Murai
af57ed9fdc 1995-01-31 06:29:58 +00:00
Søren Schmidt
1f741c31eb Added 80x30 & 80x60 experimental modes officially. 1995-01-30 21:44:07 +00:00
Søren Schmidt
00e0cb6577 Added h option for setting the historysize.
fixed problem with Both n&C flags.
1995-01-30 21:41:14 +00:00
Doug Rabson
5439cc46c9 Add support for kerberised NQNFS. 1995-01-30 18:56:06 +00:00
Søren Schmidt
a926a37b0a Third round in syscons update.
Display update method changed, now allways write in memory buffer,
  then periodically update physical display.
Speed improvements (now > 5 times faster than the old syscons).
History now circular buffer, with changeable size.
History scroll by up/down line, up/down page, home and end.
Backtab proberly implemented.
Now space for 96 function keys, 63 allocated standard, default now
  SCO/SYSV compat again as in the old days.
New keyboard definition files ~share/syscons/keymaps/*
Misc fixes for old "hacks" that broke SCO/SYSV compat.
More that I forgot before writing this...
1995-01-28 22:18:05 +00:00
Andrey A. Chernov
d8f5f936d9 Fix configurations in which mail route depends of the name
of sender host.
Submitted by: vak@cronyx.msk.su
1995-01-28 04:09:05 +00:00
David Greenman
cc6f628176 Be sure to properly fail if there are not enough fields. Problem
reported by MARC Giannoni <marc@cmc.eng.comsat.com>, this fix is by me.
1995-01-27 22:30:03 +00:00
David Greenman
5d20b0e1a2 from Matt Day <mday@artisoft.com>:
> So, the problem is hostnamebyanyaddr() assumes that _res is already
> initialized to proper values, but this is no longer true as of BIND
> 4.9.3.  Here is a patch for sendmail 8.6.9 which changes
> hostnamebyanyaddr() to make sure res_init() has been called before using
> _res.retry.

Submitted by:	Matt Day <mday@artisoft.com> via Terry Lambert
1995-01-27 22:14:38 +00:00
Andrey A. Chernov
0a1c0d9ae8 Add missing ${.CURDIR} 1995-01-24 08:30:13 +00:00
Joerg Wunsch
e3fa32b485 Implementing the "lp" command.
This command is required to exist in terms of compatibility with the
Posix 1003.2 specification.  It actually invokes the lpr service with
the proper options.
1995-01-23 19:22:43 +00:00
Joerg Wunsch
bba63893e5 Add "lp" to list of subdirs. 1995-01-23 19:17:22 +00:00
Garrett Wollman
039b79a960 Allow NIS maps, noconn mounts .
Sumbitted by: Boyd Faulkner <faulkner@mpd.tandem.com>
1995-01-20 20:58:54 +00:00
Bruce Evans
9ad5367675 Enable iostat on i386's. 1995-01-19 16:29:30 +00:00
Jordan K. Hubbard
65cf764910 Make Makefile take a relative path for CFLAGS.
Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-17 15:07:13 +00:00
Garrett Wollman
5ddd6b6a1a Fix Sharnoff complaint #121 (cross-reference to config.new which does not
exist on the i386 platform).
1995-01-14 20:25:02 +00:00
Søren Schmidt
6378775666 First round in syscons update. Several new features has been added:
No kernel config options anymore besides keyboard language layout.
Virtual consoles are now dynamically allocated, no NCONS anymore.
Software cursor blinking/nonblinking.
Visual bell for laptops (don't beep at meetings :-).
Cursor/bell default type setable via config "flags" instead of as defines.
Cursor/bell type setable via ioctl's.
New video modes 80x30 80x60 for some laptops, and those with multisync monitors.
Scroll-lock history (length currently fixed at 100 lines).
Lots of cleanups, some only commented out for now (will goaway soon).
Support for new features in vidcontrol/kbdcontrol.
Updated manpages.
1995-01-12 11:47:05 +00:00
Poul-Henning Kamp
bb04461ba0 Speed kvm_mkdb up by a factor 5 or thereabout. Rewrote all the fseek/fread
nonsense to use a mmap'ed file instead and told the DB/hash what we are up to.

dev_mkdb could maybe benefit from the same treatment.
1995-01-10 18:37:12 +00:00
Andrey A. Chernov
80ac129270 Updates from jmz and me 1995-01-10 18:35:23 +00:00
Jordan K. Hubbard
0817ade904 Correct some of the english. 1995-01-09 11:32:01 +00:00
Jordan K. Hubbard
8f1133e6ec Wolfram Schneider <wosch@cs.tu-berlin.de>:
o manpage
	o save configuration in /etc/adduser.conf
	o send message file (/etc/adduser.message)
Submitted by:	woschcs.tu-berlin.de
1995-01-09 11:26:31 +00:00
Joerg Wunsch
931e501097 Use the "-F" option to /bin/pr now that we have it (thanks to Posix).
This helps for printers that tend to get out of sync.  (For the
cautious folks: we used to have it in 1.1.5, too.  But GNU pr used
"-f" for it.)
1995-01-08 18:01:11 +00:00
Jordan K. Hubbard
349257ffa6 sgsc - utility to control the Genius GS-4500 scanner.
Submitted by:	gusw@fub46.zedat.fu-berlin.de
1995-01-07 14:17:22 +00:00
Jordan K. Hubbard
c090e04591 Whoops! How embarassing. Just now noticed that I forget to update the .Os
lines.  Done.
1995-01-05 10:37:13 +00:00
Jordan K. Hubbard
3852eb465e Fix a bad formatting directive. 1995-01-05 10:31:42 +00:00
Jordan K. Hubbard
8b47e5f5f6 Fix misleading typo in description of @unexec. 1995-01-05 10:22:51 +00:00
Steven Wallace
022402f2be Added new function show_index() which does a 'smart' display of the index file.
Index descriptions are limited to MAXINDEXSIZE (60) chars.  Any description
beyond that is truncated.  Also, only the first line is displayed as well.
This allows pkg_info -a -I to be formated in two columns with one line
per package for easy reading.

Reviewed by:	jkh
1995-01-05 01:10:13 +00:00
Andreas Schulz
86c7d89044 Submitted by: Ollivier ROBERT
Wrong description where the printer socket lives. Changed from /dev/printer
to /var/run/printer. Bug report submitted by Ollivier ROBERT.
1995-01-04 22:55:00 +00:00
Jordan K. Hubbard
f8c034f997 Updates from Peter da Silva to match the recent syslogd changes.
Submitted by:	pds
1995-01-04 00:40:38 +00:00
Jordan K. Hubbard
5cc75e1e12 Update adduser to version by Wolfram Schneider. Sorry, Gary, but his
adduser is a Cadillac to your Volkswagen.. :-)
Submitted by:	wosch@cs.tu-berlin.de
1995-01-03 09:46:14 +00:00
Justin T. Gibbs
528486881b Allow config to fully handle the aic7770 driver dependancies. 1994-12-31 19:23:10 +00:00
Andrey A. Chernov
f4221a73c3 Change ${COPY} to -c, always needed here 1994-12-31 11:13:52 +00:00
Andrey A. Chernov
71d5664cdc Change ${COPY} to -c, always needed here
Remove manpage reference to BSD adduser, add pwd_mkdb reference
1994-12-31 11:12:35 +00:00
Jordan K. Hubbard
31455121d5 Fix:
>Number:         86
>Category:       misc
>Synopsis:       fixit.conf missing srcdir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    core (FreeBSD core team)

From John Capo.
Submitted by:	jcapo
1994-12-31 05:36:40 +00:00
Andrey A. Chernov
54b77925ee Remove unneded kbdcontrol from SUBDIRS
Submitted by: roberto@blaise.ibp.fr
1994-12-30 15:44:32 +00:00
Andrey A. Chernov
80aea1ca5e Cleanup. 1994-12-30 15:40:11 +00:00
Andrey A. Chernov
99e4807ade Remove extra targets per Bruce suggestion.
Use more macros instead of hardcoded things
1994-12-30 15:38:04 +00:00
Andrey A. Chernov
33148aa5e7 Change man section 1994-12-30 12:15:39 +00:00
Andrey A. Chernov
e3763702e6 Oops, rename adduser.sh to adduser.perl
Add empty clean and obj targets.
1994-12-30 12:13:08 +00:00
Andrey A. Chernov
4298bedc38 Yet one cleanup 1994-12-30 12:03:48 +00:00
Bruce Evans
b367f6bf5f Fix everything. 1994-12-30 07:18:23 +00:00
Garrett Wollman
d9dc765848 Extend syslogd to allow selection of log destinations by program.
Use getbootfile() to determine the kernel name.

Submitted by: Peter da Silva
1994-12-29 22:02:25 +00:00
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
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