Commit Graph

35831 Commits

Author SHA1 Message Date
grog
c644d9d444 build_write_request: correct logic for handling writes to volumes with
failed plexes.

allocrqg: Remove dead code
1999-02-11 06:44:12 +00:00
grog
3d1b831874 check_drive: Make sure that we don't open two different drives with
the same name.  Silently return EEXIST if this happens.

vinum_scandisk: Collect drive numbers, not pointers, to avoid problems
of relocated drives.

Tripped-over-by:  Bernd Walter <ticso@cicely.de>
1999-02-11 06:43:15 +00:00
grog
ad4e6d446e In some cases, it's possible that I/O errors will cause the daemon to
time out on an operation.  Under these circumstances, vinum(8) will
automatically start another daemon.  Add a pid for the daemon, so that
an overtaken daemon will discover that it's no longer in favour, and
will crawl into a corner and die.
1999-02-11 06:42:39 +00:00
grog
cc1dab1dbe Modify example configuration file to show more optimum stripe size of
256 kB instead of 16 kB.

Pointed-out-by: Steve Taylor <staylor@cybernet.com>

Modify description of start command to include 'start' with no
parameters, which reads the config from all drives found on the
system.
1999-02-11 06:14:49 +00:00
grog
f97a00b52a Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.
1999-02-11 06:14:15 +00:00
grog
8eec767f72 Check for both kinds of Vinum module (with and without RAID-5). Using
the wrong module can cause confusion, including loading both versions
(which conflict with each other) and incorrect ioctls, which cause
unintelligible error messages.

Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.
1999-02-11 06:13:44 +00:00
grog
028cc6c93f Include libdevstat in executable, for extended start command. 1999-02-11 06:12:06 +00:00
jkoshy
3891b1bccc Fix typos 1999-02-11 06:07:27 +00:00
obrien
436c49a681 add -1 option: Try once, if we fail, EXIT
Obtained from:	OpenBSD
1999-02-10 23:51:25 +00:00
obrien
1c3a691009 remove cruft I meant to remove 1999-02-10 21:23:48 +00:00
obrien
4cc78bced0 hook in dhclient 1999-02-10 21:09:48 +00:00
obrien
ff94f6a807 * fix paths in manpages
* sort references
1999-02-10 21:02:32 +00:00
obrien
728d260720 This commit was generated by cvs2svn to compensate for changes in r43855,
which included commits to RCS files with non-trunk default branches.
1999-02-10 20:51:22 +00:00
obrien
6dcf170bc4 bmake framework for ISC-DHCP client 1999-02-10 20:51:22 +00:00
wpaul
7a6606c859 The ypbind_setdom_2 procedure returns NULL in the success case. This is
incorrect; returning NULL here means that the dispatcher won't send any
response back to the caller, which means the caller will sit there waiting
until it times out. I don't know how this ever worked before. The effect
is that using 'ypset foo' to get the local ypbind to change servers would
work, but would sit there hanging for a long time for no reason.
1999-02-10 20:04:22 +00:00
obrien
609cf46404 Our default /etc/dhclient.conf. 1999-02-10 18:30:01 +00:00
des
dae0ad8f7b Don't use an arbitrary hardcoded value for nfds in select() calls.
PR:		bin/9986
1999-02-10 18:08:51 +00:00
jkh
e57466a1c3 Use /etc/defaults/rc.conf everywhere, falling back to /etc/rc.conf
as necessary (for half-assed upgrades).
1999-02-10 18:08:16 +00:00
wpaul
fdde373153 Add some tweaks to hopefully fix a problem I've started to notice recently.
Under certain conditions (possibly associated with heavy load), ypserv will
fork() child processes that don't exit like they're supposed to. I think
this is because of some suspect logic in the ypproc_all procedure. I updated
it to use what I hope is a more bulletproof approach.

Also tweaked yp_svc_run() a little so that the 'are we a child?' test happens
at every pass through the for(;;) loop, not just immediately after returning
from svc_getreqset2().
1999-02-10 16:16:14 +00:00
yokota
8d9b8047a3 - Revise text, and fix typos and grammatical errors.
- Add syscons.4.

If there still are errors, whether technical or grammatical, they are
entirely mine, not the reviewers'.

Reviewed by: sos, jkh, archie, Nick Hilliard <nick@iol.ie>
1999-02-10 14:25:03 +00:00
kato
b897dbf5fe Fixed COPYRIGHT_PC98 (good bye 1998).
Noticed by:	Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-02-10 13:09:09 +00:00
kato
84517f5f62 Sync with sys/i386/i386/userconfig.c revision 1.130. 1999-02-10 13:02:38 +00:00
obrien
0f26402a3e use /sbin/dhclient-script rather than /etc/dhclient-script
Obtained from:	OpenBSD
1999-02-10 09:35:26 +00:00
obrien
07c996cf8d patch-ac from ports/net/isc-dhcp2
date: 1997/06/03 06:24:11;  author: pst
current apparently defines INADDR_LOOPBACK
1999-02-10 09:18:30 +00:00
obrien
b87d9f7062 Information on how I did the import.
I still have reservations about choosing the ISC client over the WIDE client,
but I believe the FreeBSD community in general seems to prefer this choice.
Also OpenBSD uses this version and msmith showed that the ISC client gives
us more choices in how we hook the client into sysinstall and /etc/rc*
1999-02-10 09:16:11 +00:00
jkh
1a0dc12e91 Install the correct rc.conf file. 1999-02-10 09:15:27 +00:00
jkh
eb2538b12d Install a little, erm, less from the etc/defaults directory. 1999-02-10 09:14:05 +00:00
obrien
117fbe9a9b Virgin import of ISC-DHCP v2.0b1pl6 1999-02-10 09:10:13 +00:00
obrien
f63ad30707 This commit was generated by cvs2svn to compensate for changes in r43829,
which included commits to RCS files with non-trunk default branches.
1999-02-10 09:10:13 +00:00
des
a0d36e43b9 Remove the lpt(4) page, and fix references in the lp(4) and rdp(4) pages.
Also fix a language nit in the rdp(4) page.
1999-02-10 02:45:06 +00:00
des
7dd9b0cd62 Remove the lpt driver, as discussed on -hackers. 1999-02-10 02:41:24 +00:00
des
d57c230beb Remove lpt from the device list.
Add the rdp driver (forgotten by Joerg?)
1999-02-10 02:37:24 +00:00
des
9e7ce1fd58 Use ppbus instead of the lpt driver. 1999-02-10 02:26:04 +00:00
des
3fa30397c0 Use ppbus instead of the lpt driver. Throw in a (commented-out) vpo entry
for good measure.
1999-02-10 02:18:31 +00:00
msmith
9436d32fb2 The loader doesn't use '@' to suppress command lines anymore. 1999-02-10 01:57:38 +00:00
ken
10cc51ce30 Fix vmstat display problems. The header printout wasn't quite right, and
the display wrapped around.

This decreases the default maximum number of disks shown to 2, so things
don't wrap around so easily.  Also, it fixes the header display issues.

Submitted by:	Bruce Evans <bde@FreeBSD.ORG>
1999-02-10 00:46:27 +00:00
jkh
aa5893d547 Save pnp changes into a sysctl variable for kget, just as is done
with the isa changes.
1999-02-10 00:26:47 +00:00
ken
542b263658 Add a prioritization field to the devstat_add_entry() call so that
peripheral drivers can determine where in the devstat(9) list they are
inserted.

This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and
any ports that depend on the devstat code, since the size of the devstat
structure has changed.  The devstat version number has been incremented as
well to reflect the change.

This sorts devices in the devstat list in "more interesting" to "less
interesting" order.  So, for instance, da devices are now more important
than floppy drives, and so will appear before floppy drives in the default
output from systat, iostat, vmstat, etc.

The order of devices is, for now, kept in a central table in devicestat.h.
If individual drivers were able to make a meaningful decision on what
priority they should be at attach time, we could consider splitting the
priority information out into the various drivers.  For now, though, they
have no way of knowing that, so it's easier to put them in an easy to find
table.

Also, move the checkversion() call in vmstat(8) to a more logical place.

Thanks to Bruce and David O'Brien for suggestions, for reviewing this, and
for putting up with the long time it has taken me to commit it.  Bruce did
object somewhat to the central priority table (he would rather the
priorities be distributed in each driver), so his objection is duly noted
here.

Reviewed by:	bde, obrien
1999-02-10 00:04:13 +00:00
wes
4eda991f81 Reviewed by: jkh
Submitted by:	wes
Added commentary to ttys to clarify the meaning of the columns.
Added commentary to ttys to clarify the meaning of the columns.
1999-02-09 23:55:13 +00:00
wes
155ee0bd22 Reviewed by: jkh
Submitted by:	wes
Added commentary to ttys to clarify the meaning of the columns.
1999-02-09 23:55:04 +00:00
jkh
ffd599b4ab Install rc.conf properly into /etc/defaults/ directory. 1999-02-09 23:17:25 +00:00
jkh
9e9e0d3516 Write changes out to /etc/rc.conf again; rc.conf.site is dead! 1999-02-09 22:18:10 +00:00
jkh
9eadab94ce Add /etc/defaults. 1999-02-09 22:17:15 +00:00
jkh
fb9f9eb881 Move rc.conf into defaults/ directory. This is part of a larger series
of commits to deal with the rc.conf.site confusion.
1999-02-09 22:15:18 +00:00
dillon
efe5812ce3 Update diskless and templated booting examples 1999-02-09 17:44:00 +00:00
wosch
09f406ace9 Added myself as maintainer. 1999-02-09 17:23:03 +00:00
dillon
141a257f53 Fix bug in mount_mfs whereby mount_mfs would sometimes return before
the mount is completely active, causing the next few commands attempting
    to manipulate data on the mount to fail.  mount_mfs's parent now tries
    to wait for the mount point st_dev to change before returning, indicating
    that the mount has gone active.
1999-02-09 17:19:19 +00:00
dillon
a99e9a02df Revamp rc.diskless. Split into rc.diskless1 and rc.diskless2. provide
more opportunities for overriding.  Clean up /etc/rc ( remove conf_dir,
    remove startup mount special cases, remove other special cases )
1999-02-09 17:17:18 +00:00
wollman
433e0009a0 After wading in the cesspool of ip_input for an hour, I have managed to
convince myself that nothing will break if we permit IP input while
interface addresses are unconfigured.  (At worst, they will hit some
ULP's PCB scan and fail if nobody is listening.)  So, remove the restriction
that addresses must be configured before packets can be input.  Assume
that any unicast packet we receive while unconfigured is potentially ours.
1999-02-09 16:55:46 +00:00
jkh
1dd8a295ca Remove dictHashSummary internal function; it used doubles.
Submitted by:		Daniel C. Sobral <dcs@newsguy.com>
1999-02-09 16:04:19 +00:00