Commit graph

6628 commits

Author SHA1 Message Date
Ruslan Ermilov 5e662da5c9 mdoc(7) police: fix the unbalanced Bk/Ek. 2001-01-15 16:58:14 +00:00
Maxim Sobolev 248cf5a573 Fix a bug arised from the ')' in the wrong place when calling printf()-like
varargs function, which lead to one of the arguments was left out. This resulted
in failure when inwoking mtree, warning message "mtree returned a non-zero
status - continuing" and probably is the reason for zillion mtree errors on
bento.
2001-01-15 09:45:16 +00:00
Peter Wemm 8c614ff6fe Backtrack a bit.. Put the dangerously dedicated option under a
non-advertised option (F = "FreeBSD only"), and leave the A key with
standard partitioning.  It seems people still want a runtime backdoo
to get to dangerously dedicated mode.
2001-01-15 08:15:19 +00:00
Peter Wemm f357eb9800 Don't invite trouble by waving the 'Dangerously Dedicated' (DD) option
at people.  This has been sitting in my tree for a few months now.  I
have spoken with quite a few folks about this and the support for doing
this was pretty strong.  I dont remember names though, so I cannot share
the blame :-(.  Note that this does not *remove* DD mode, it just stops
waving it at new users.  You can still set it via config files etc, and
the bootblocks and kernel still support it.  You can still use disklabel
to make true DD disks.
2001-01-15 05:29:53 +00:00
Josef Karthauser 202b18cdaa Describe that the CDROM environment variable now affects which
device is used by default.
2001-01-14 16:29:24 +00:00
Dag-Erling Smørgrav 7a9fa8f89d Spell my name right in the copyright. 2001-01-14 16:14:17 +00:00
Paul Richards 8b9e25b64c Fix a nasty bug whereby if the package file didn't have a version number
then all packages would be deinstalled!

The tightening up of version number checking also fixes a bug where
a package file such as gtk.tgz would have resulting in gtk-engines
being deinstalled.
2001-01-14 02:05:02 +00:00
Brian Somers 165fbe2672 Use fstat to check if descriptor 0 is a socket.
Suggested by: julian
2001-01-14 00:54:48 +00:00
Mitsuru IWASAKI 4e3b468fb1 Oops, forgotten to add manpage. 2001-01-13 16:18:37 +00:00
Mitsuru IWASAKI a7b4620db0 Add manpage for acpiconf.
Submitted by:	des
2001-01-13 16:16:25 +00:00
Maxim Sobolev 242b263cbc Fix a bug where pkg_create does not make an md5 entry for the last item in
the packing list. Also use switch() instead of zillion "else if ()" and for()
loop instead of while() loop for traversing through linked list.

MFC candidate.

Submitted by:	Alec Wolman <wolman@cs.washington.edu>
2001-01-12 11:36:12 +00:00
Ruslan Ermilov 3abc34d763 Minor mdoc(7) formatting fixes:
Removed extraneous .Pp calls and blank lines (mdocNG does not like them).
2001-01-12 10:21:51 +00:00
Ruslan Ermilov a896e17612 Fixed mdoc(7) errors introduced in the previous revision. 2001-01-12 10:19:21 +00:00
Hellmuth Michaelis c06746e823 Add manual page for the new itjc ISDN hardware driver 2001-01-12 09:09:00 +00:00
Hellmuth Michaelis e317eff260 Small clarification from the driver author
Submitted by:	Hans Petter Selasky <hselasky@c2i.net>
2001-01-12 09:08:18 +00:00
David E. O'Brien 6704216fbb Add the us.pc-ctrl and us.unix keymaps. 2001-01-11 20:53:36 +00:00
Hellmuth Michaelis bfbdd08421 Add support to name cards supported by the itjc driver
Submitted by:	Sergio de Souza Prallon <prallon@tmp.com.br>
2001-01-11 15:42:37 +00:00
Ruslan Ermilov ce30815172 mdoc(7) police: formatting fixes. 2001-01-11 08:16:46 +00:00
Søren Schmidt 634121d3cb New option -m to select multisession mode.
WARNING: until now all disks was closed as multisession disks, this is
no longer the case, if the -m option isn't used disks are closed as
singlesession. The reason is that some drives wont close a disk
with one large image on in multisession mode, probably because it
"knows" that a new session wont fit on the media resonably.

Also update burncd with new stuff from various places that I've collected
and modified to my taste, its actually amasing how many thinks up the
same enhancements (none mentioned none forgotten):

Allow '-' to be used as filename for using stdin.

Add 'l' option to take a list of image files from 'filename'
2001-01-10 19:28:37 +00:00
Josef Karthauser 87eb4a4220 Liberal application of style(9). 2001-01-10 14:08:48 +00:00
Hellmuth Michaelis df990252bf Bugfix to make configuration of isp/isppp interfaces by using isdnd.rc work
Submitted by:	bad@k.bsd.de (Christoph Badura)
2001-01-10 13:49:11 +00:00
Josef Karthauser 617b818021 Flag an error and remove the program from the list if there is
no source directory or no objects can be determined.

Initialise a structure variable.
2001-01-10 13:27:38 +00:00
Hellmuth Michaelis de8ebe46b2 correct a small typo in isdnd that broke the ppp-expect-password option
Submitted by:	Thomas Moestl <tmoestl@gmx.net>
2001-01-10 09:41:42 +00:00
Peter Wemm 0b06558520 Move MD <machine/if_wavelan_ieee.h> to MI <dev/wi/if_wavelan_ieee.h> 2001-01-09 00:50:45 +00:00
Peter Wemm d772649af3 Try and stop config(8) from freaking out due to unnecessary paranoia
when using -d.  Use realpath(3) to locate the top of the tree rather than
trying to manually trim back the results of a getcwd().

Requested by:  alfred
2001-01-04 22:08:20 +00:00
Sheldon Hearn af9351fc8a Catch up with rev 1.19 of vnconfig.c . 2001-01-03 10:55:23 +00:00
Peter Wemm e311d7d06c Fix typo: s/memberhip/membership/
Submitted by:  Peter Avalos <pavalos@theshell.com>
2001-01-02 04:01:59 +00:00
Ben Smithurst 059b15939d Minor layout fixes.
PR:		24004
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2001-01-01 23:30:51 +00:00
Ben Smithurst cfc038e79c Check that the hostname field in received packets is NUL-terminated. 2001-01-01 18:43:21 +00:00
Warner Losh b6e6d918c0 If the first argument doesn't start with '-' assume that it is an
interface.  This augments the default to an appropriate interface
code.

# These programs should be merged into ifconfig, ala NetBSD, but that's
# a fight for another day.

Idea from: OpenBSD
2000-12-31 01:51:23 +00:00
Matthew Dillon 10c2f24068 Imply -c when -S is specified, so 'vnconfig -s reserve -S 4 vn1' configures the
device as expected.
2000-12-31 01:27:55 +00:00
Poul-Henning Kamp 2673ed4725 Use macro API to <sys/queue.h>
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	/sbin/md5
2000-12-30 20:56:04 +00:00
Assar Westerlund 26a2d90362 update to the current set of mnt_, ufs_ and nfs_ flags
also make man-page correspond to the code
2000-12-30 15:41:40 +00:00
Poul-Henning Kamp 88f9a60376 Use the MACRO API to <sys/queue.h>.
Submitted by:	"Peter Avalos" <pavalos@theshell.com>
2000-12-30 14:19:07 +00:00
Paul Richards 28d1c34421 Change open modes from ">$file" to "> $file" because it's much safer should
$file not be what you expect, particularly should $file turn out to be
"+REQUIRES" since ">+" is a valid open mode.

This isn't currently a problem since $file is constructed safely but it removes the potential of future problems.

Pointed out by Anton Berezin.
2000-12-30 00:14:01 +00:00
Brian Somers 12df0d6c58 Log the ``MPPE: MasterKey is invalid...'' message as a CCP
diagnostic rather than a warning.
2000-12-29 22:25:56 +00:00
Poul-Henning Kamp c5e5cd90bd Convert from CIRCLEQ to TAILQ. 2000-12-29 20:33:28 +00:00
Ben Smithurst d0d78e1303 Convert to use the <sys/queue.h> macros rather than fiddling with the queue
structure internals.

Reviewed by:	markm
2000-12-29 18:04:54 +00:00
Ruslan Ermilov e80bdf7dcf mdoc(7) police: get rid of hard sentence breaks, add missing .El, etc. 2000-12-29 09:03:38 +00:00
Paul Richards 9acd8733ea Fix the broken options that were in the development version I committed by mistake. 2000-12-28 19:53:44 +00:00
Ben Smithurst 5be8ff7bb5 * Fix a segfault when timed(8) receives a packet with a bad tsp_type.
* Check that received packets aren't too short, as this could cause other
  problems.

Reviewed by:	imp, markm
2000-12-28 19:50:07 +00:00
Paul Richards 9c0bdb861b Bring the man page up to date with the current version of the script. 2000-12-28 19:42:06 +00:00
Paul Richards 48ebd16e52 Add pkg_update, which can replace currently installed ports with new versions
while taking of updating all the dependencies.
2000-12-28 18:47:23 +00:00
Dag-Erling Smørgrav c4b267dc7e Retire kernfs (userland part). 2000-12-28 12:59:57 +00:00
Ruslan Ermilov 8b5c4af3ff Prepare for mdoc(7)NG. 2000-12-27 15:30:30 +00:00
Ruslan Ermilov 4303e19e3a Prepare for mdoc(7)NG. 2000-12-27 14:22:05 +00:00
Søren Schmidt e3b9882dc4 Update to match the progress interface on blank command. 2000-12-26 11:56:15 +00:00
Toshihiko ARAI 05546286ff Fix output of -v option. 2000-12-24 15:30:36 +00:00
Josef Karthauser e3b7d1782a Clean up the source directory finding code, and in the process fix a
problem that occurs when a program's source isn't found.
2000-12-24 12:21:15 +00:00
Ian Dowse 4de932048c Ensure that received packets are at least as long as the rwho packet
header before trying to process them. Without this sanity check,
rwhod can attempt to byte-swap all of memory when a short packet
is received, and so dies with a SIGBUS.

While I'm here, change two other syslog messages to be more
informative: use dotted quad rather than hex notation for IP
addresses, and include the source IP in the 'bad from port' message.

PR:		bin/14844
Reviewed by:	dwmalone
2000-12-22 21:30:15 +00:00