Commit Graph

55791 Commits

Author SHA1 Message Date
grog
75e58e6a2a format_config: If a subdisk loses its drive (due to a bug which has
not yet been caught), don't save the config with a null drive
   	name (which causes the drive to be renamed "plex" on the next
   	start), put in the text "*invalid*" instead.

	This is damage control, not a fix.

Experienced by:	peter

Break some long format strings so that they fit in style(9)-sized
lines.

Remove some "outdentation".
2001-01-14 06:33:10 +00:00
grog
7dca633800 config_plex: Check that we have specified a plex organization.
Tripped over by:	"Jeroen C. van Gelderen" <jeroen@vangelderen.org>
2001-01-14 06:29:56 +00:00
imp
c4f38147e0 Use ANSI prototype and function definition for dkcksum so that this
file can be included with C++ again.  This appears to have been broken
in 1.54 with the introduction of it as an inline function.
2001-01-14 05:14:37 +00:00
paul
3b9a1f213f 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
187b13bfd2 Use fstat to check if descriptor 0 is a socket.
Suggested by: julian
2001-01-14 00:54:48 +00:00
jhb
94588351ce Work around the broken atomic_store_rel_ptr() on the i386 arch by just
using atomic_cmpset_rel_ptr() instead for _release_lock_quick().  When
atomic_store_rel_ptr() is functional and MP safe, then this can be
reverted.
2001-01-14 00:16:17 +00:00
dmlb
458215f24c Correct a typo in a product name.
Pointed Out By: ru
2001-01-13 23:50:52 +00:00
jhb
f0aa56d3bf - Use sched_lock to prevent the mutex name from changing out from under us
while we are copying it to the kinfo_proc structure.
- Test against p_stat to see if we are blocked on a mutex.
- Terminate ki_mtxname with a null char rather than ki_wmesg.
2001-01-13 23:08:34 +00:00
ben
a15d151520 Fix getsid() to use "=" instead of "==".
Not objected to by:	audit
2001-01-13 22:49:59 +00:00
jhb
2da785b10f Add 3 new dynamic sysctl's to control the sleep states switched to on a
power button, sleep button, or lid close event.  The sysctl's use the
ACPI sleep state names S0, S1, S2, S3, S4, S4B, and S5.

Reviewed by:	iwasaki
2001-01-13 21:28:57 +00:00
chris
6a1d7a734c The prototype for cpu_switch() was changed in revision 1.111 of
<sys/proc.h>

PR:		24311
Submitted by:	Robert Drehmel <robert@gizmo.quizbot.org>
2001-01-13 19:00:49 +00:00
chris
48c98a7d71 o Clear up explanations of various entries (includes spelling, grammar,
punctuation, and explanations that are just plain wrong)
o Add missing entries
o Remove entries for directories that do not exist

Submitted by:	Rich Morin <rdm@cfcl.com> (for the most part)
2001-01-13 18:38:00 +00:00
ben
86f5f1c296 fix typo; file -> files
Submitted by:	Alexey Dokuchaev <danfe@inet.ssc.nsu.ru>
2001-01-13 17:49:34 +00:00
iwasaki
e7fdfe9689 Oops, forgotten to add manpage. 2001-01-13 16:18:37 +00:00
iwasaki
51252e81e7 Add manpage for acpiconf.
Submitted by:	des
2001-01-13 16:16:25 +00:00
nyan
4b44cbd6eb Merged from sys/i386/conf/GENERIC revision from 1.286 to 1.291. 2001-01-13 13:23:42 +00:00
nyan
1ba0600909 Merged from sys/i386/conf/GENERIC.hints revision 1.6 and 1.7. 2001-01-13 13:23:22 +00:00
nyan
e9dfdc0334 Check __i386__, not i386. 2001-01-13 13:21:43 +00:00
nsouch
a5fd80c2f5 Add Truecolor 16 and 32bits support. Note that 24bits modes are not
supported since it's not easy to put 3 bytes accross 64Kb windows
of memory. This should not be such a problem with linear framebuffers.

There is no major interface modification except that the color type
becomes u_long instead of byte. So one just need to recompile his
application.

Approved by:	Soren Schmidt <sos@freebsd.dk>
2001-01-13 11:30:17 +00:00
green
759414f218 /Really/ deprecate ConnectionsPerPeriod, ripping out the code for it
and giving a dire error to its lingering users.
2001-01-13 07:57:43 +00:00
ben
6fe7969777 Only install sysinstall.8 if the release/sysinstall directory exists. This
fixes the world for people without src-release.

PR:		24122
Submitted by:	Steven G. Kargl <kargl@apl.washington.edu>
2001-01-13 05:50:19 +00:00
dannyboy
5889ab4370 The -i option to ln requests user confirmation, not configuration.
PR:		24279
Submitted by:	Roelof Osinga <roelof@nisser.com>
2001-01-13 01:53:23 +00:00
ache
68805b8006 /usr/libexec/cpp -> /usr/bin/cpp
because of new rename to /usr/libexec/cpp0
2001-01-13 01:33:59 +00:00
bmah
b2574cff17 New release notes: Linksys Fast Ethernet cards and ed(4) driver flags,
new API for hardware volume control, VESA S3 framebuffer driver, logging
of wrong-interface ARP replies sysctl, NFS client bug fixed, BurnProof(TM)
for ATAPI drives, IPFW works with ECN bits, ihfc(4), itjc(4),
<sys/selinfo.h>, pthread_* strong references, unified libgcc, SSH bug
with X11 forwarding fixed, syslogd(8) and LOG_CONSOLE, rpcgen use of
/usr/bin/cpp, rc.syscons, burncd(8) -m and -l, dmesg(a).

MFCs noted:  aac(4), OpenSSH 2.3.0.
2001-01-12 23:01:15 +00:00
mckusick
8ef2c7028e Properly compute the size of the final block of superblock summary information.
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
2001-01-12 21:56:55 +00:00
ru
bc2ba25874 man(7) -> mdoc(7). 2001-01-12 18:01:17 +00:00
ru
a8609c073f Oops, the previous did not work with current mdoc(7). 2001-01-12 16:02:58 +00:00
ru
0a221c5a50 mdoc(7) police: Ft/Vt now accept punctuation-type arguments. 2001-01-12 15:46:56 +00:00
ru
3c313aa466 Reduce diffs (mostly whitespace) to mdocNG.
Obtained from:	mdocNG through NetBSD
2001-01-12 15:20:26 +00:00
ru
31260b45bc Make .Ft and .Vt macros accept punctuation characters as
arguments, make .Vt usable outside the SYNOPSIS section.

Obtained from:	mdocNG (not yet submitted for inclusion)
2001-01-12 15:14:28 +00:00
kato
3657c441c5 Merged from sys/i386/isa/npx.c revision 1.87. 2001-01-12 13:42:53 +00:00
kato
0d056e1e4d Merged from sys/i386/i386/machdep.c revisions 1.427 and 1.428. 2001-01-12 13:39:50 +00:00
kato
ae11fd4c75 Merged from sys/conf/files.i386 revisions 1.342, 1.344, 1.345 and 1.346. 2001-01-12 13:38:46 +00:00
ru
2f5bb304eb man(7) -> mdoc(7). 2001-01-12 13:35:17 +00:00
sobomax
b1ee445b23 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
ru
8c57963614 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
ru
366ca1a994 Fixed mdoc(7) errors introduced in the previous revision. 2001-01-12 10:19:21 +00:00
ru
f0c3b90bc8 man(7) -> mdoc(7). 2001-01-12 09:51:45 +00:00
hm
3ce824368a Add manual page for the new itjc ISDN hardware driver 2001-01-12 09:09:00 +00:00
hm
e0c772e94b Small clarification from the driver author
Submitted by:	Hans Petter Selasky <hselasky@c2i.net>
2001-01-12 09:08:18 +00:00
hm
464b4ea94b Fix a bug overwriting random data when Van Jacobsen header compression
was used with the isp/isppp driver.
Submitted by:	Sergio de Souza Prallon <prallon@tmp.com.br>
2001-01-12 08:48:54 +00:00
jake
0a7d951162 Change return ??? to return -1 in some #if 0'ed code. 2001-01-12 08:24:25 +00:00
bmilekic
f840f41c76 Remove declaration of airq variable from outer block. There were two
declarations of a variable of the same name. The one in the outer block
was unused and probably just slipped in at one point or another. This
silences a compiler warning.
2001-01-12 07:49:29 +00:00
jake
422162e650 Remove unused per-cpu variables inside_intr and ss_eflags. 2001-01-12 07:47:54 +00:00
bmilekic
4cc04a654f Prototype inet_ntoa_r and thereby silence a warning from GCC. The function
is prototyped immediately under inet_ntoa, which is also from libkern.
2001-01-12 07:47:53 +00:00
bmilekic
eca4707b52 Remove useless include of sys/mbuf.h (no longer useful since the
mbuf subsystem init was moved to a better place).
2001-01-12 07:46:28 +00:00
benno
d6f7647d73 Convert all instances of:
#include "quad.h"

to:

#include <libkern/quad.h>

as the former breaks under a kernel build.
This change had already been performed on the files that were used in other
kernel builds, however the PowerPC kernel build seems to require some that
weren't being used.

Reviewed by:	obrien, peter
2001-01-12 07:28:46 +00:00
steve
fd4270504b Spell declarations correctly. 2001-01-12 02:49:40 +00:00
jhb
7ca7c002be Catch up to the name changes in the hwvol API. 2001-01-11 23:26:38 +00:00
jhb
15fe5fedcb - Move all of the hwvol functions into a mixer_hwvol_* namespace, and make
all of the hwvol members of struct snd_mixer live in a hwvol_* namespace.
- When changing the mixer device via the hwvol_mixer sysctl, reset the
  muted state so that a mute operation on a new device won't try to
  unmute the new device with the old device's saved volume.
- When the volume is muted, if a down or up volume request is received,
  first restore the saved volume level and then adjust it.

Reviewed by:	cg
2001-01-11 23:26:16 +00:00