Commit Graph

26010 Commits

Author SHA1 Message Date
Brian Somers
b2167e32a4 Show how much time is left before timing out in the
`show timeout' output.
Remove ipIdleSecs variable - it's not used.
1997-12-29 22:23:13 +00:00
Brian Somers
2267b3199c Add a "scsi -f /dev/ssc -p" example and xref ssc(4).
Make the other examples prettier.
1997-12-29 21:08:33 +00:00
Brian Somers
339fead651 Fix typos.
Xref ssc(4).
1997-12-29 21:07:49 +00:00
Brian Somers
bbb985d41c Add ssc(4). 1997-12-29 21:07:10 +00:00
Jordan K. Hubbard
1aa8a0a95b * add a -c option which displays the grand total of all files
counted.

 * re-word parts of the man page which I felt were badly worded
   or ambiguous.

 * change the behaviour of argument processing so that when more
   than one of the -P, -H and -L options are specified it will
   print an error message, rather than choosing the last option
   specified, this behaviour is more logical and consistent with
   other utilities.

 * change the behaviour of argument processing so that negative
   arguments to the -d option are not allowed.

PR:		5388
Submitted by:	Niall Smart <rotel@indigo.ie>
1997-12-29 20:56:21 +00:00
Jordan K. Hubbard
de92741516 gateway -> gateway_enable
Pointed out by: Susie Ward <sward@voltage.net>
1997-12-29 20:07:17 +00:00
John Dyson
483140ead1 Add the vnode interlock back around vref. 1997-12-29 16:54:03 +00:00
John Dyson
82dc3896f6 Add the vnode interlock back around vget. 1997-12-29 16:53:53 +00:00
KATO Takenori
c3ab585b5e Sync with sys/i386/conf/options.i386 revision 1.66. 1997-12-29 16:17:59 +00:00
KATO Takenori
e664869506 Sync with sys/i386/i386/microtime.s revision up to 1.39. 1997-12-29 16:17:09 +00:00
KATO Takenori
3b6f48e947 Sync with sys/i386/isa/clock.c revision up to 1.107. 1997-12-29 16:15:57 +00:00
KATO Takenori
b8c15aa548 Sync with sys/i386/isa/sio.c revision up to 1.193. 1997-12-29 16:08:48 +00:00
KATO Takenori
3e9646dfee Sync with sys/i386/i386/userconfig.c revision 1.99. 1997-12-29 16:06:20 +00:00
Brian Somers
a7a660bdb8 Mention that the -r flag reprobes the entire bus on which the given
device resides and that the -f flag must specify the `whole slice'
if it's a disk.
1997-12-29 15:17:57 +00:00
Steve Price
9a9791af6e Fix a few style nits from previous commit.
Submitted by:	Bruce Evans <bde@zeta.org.au>
1997-12-29 14:05:49 +00:00
Masafumi Max NAKANE
b1d9db7283 Typo fix: bootgw -> bootpgw 1997-12-29 13:59:28 +00:00
Peter Wemm
51afb8df2c script(1) has annoyed me with it's inflexable command argument parsing
since I first saw it.  I finally needed to pass arguments through to
the spawned command badly enough (and urgently) that I threw this together.
1997-12-29 13:31:46 +00:00
Jordan K. Hubbard
26b044dc2e Normalize default owner/group handling, fix bogons in a couple of
printf arg lists.
1997-12-29 09:45:23 +00:00
Bruce Evans
b2ef07b7a2 Fixed style bugs in previous commit. 1997-12-29 08:54:52 +00:00
Julian Elischer
58ffdf1d65 If available, use the device's LOGICAL blocksize as reported by
the "READ_CAPACITY" command, rather than the physical blocksize
reported in the physical geometry code-page.

Also don't print out worrying bogus messages when probing a
device that has no media. There's no point in printing out
something that is unknowable. It just confuses things.

Move the check for valid blocksize out of 'open()' to the subroutine
that actually finds this out, thus probe/attach can also report and
act on the problem.
1997-12-29 07:49:31 +00:00
Philippe Charnier
6ab51a152f Add missing .Ar. 1997-12-29 07:03:46 +00:00
Steve Price
716847a669 Get md5(1) to use getopt(3). Also some minor -Wall cleaning
while here.

PR:		5387
Submitted by:	Matthew Hunt <mph@pobox.com>
1997-12-29 03:40:37 +00:00
Steve Price
b497d31373 Handle the condition where BS is typed while the cursor is
at the first position on either of the last two lines of the
screen.  Ie. append contents of current line to the previous
line and scroll the next line's contents up.

PR:		5392
Submitted by:	Kouichi Hirabayashi <kh@mogami-wire.co.jp>
1997-12-29 03:29:29 +00:00
John Dyson
60f8d46448 Fix the decl of vfs_ioopt, allow LFS to compile again, fix a minor problem
with the object cache removal.
1997-12-29 01:03:55 +00:00
John Dyson
2be70f79f6 Lots of improvements, including restructring the caching and management
of vnodes and objects.  There are some metadata performance improvements
that come along with this.  There are also a few prototypes added when
the need is noticed.  Changes include:

1) Cleaning up vref, vget.
2) Removal of the object cache.
3) Nuke vnode_pager_uncache and friends, because they aren't needed anymore.
4) Correct some missing LK_RETRY's in vn_lock.
5) Correct the page range in the code for msync.

Be gentle, and please give me feedback asap.
1997-12-29 00:25:11 +00:00
Jordan K. Hubbard
d0cc10a88b Yet another slight bogon that I just noticed needed cleaning up. The for
loop was sloppily written, taking advantage of a default for argument
handling which few are probably aware of rather than stating its purpose
more explicitly.  Can't also help but notice that the fd* entry also contains
far more comment lines than actual statements - can we please clean that
up?  The wt* entry could use a bit of the same.
1997-12-29 00:10:20 +00:00
Alexander Langer
d7d1005304 -Wall cleanup. 1997-12-29 00:09:06 +00:00
Jordan K. Hubbard
0259912885 Whoops - one small tweak: I eliminated the deprecated isdn case,
so also remove mention of it in the comments.
1997-12-29 00:03:36 +00:00
Jordan K. Hubbard
62f6fce717 Remove all explicit rm's (with and without wildcards) and replace them
with a function which does the rm/mknod in one step, eliminating the
gratuitous device node removal behavior of before.

Reviewed by:	bde
1997-12-29 00:02:18 +00:00
Alexander Langer
3344c3521c Added $Id$. 1997-12-29 00:00:10 +00:00
Steve Price
2487b1e072 Add back a #include <sys/types.h> so that this header is
self-sufficient again.  This is a quick fix that should
really be remedied by removing all of the gratuitous changes
made in revision 1.20.

PR:		5351
1997-12-28 22:31:59 +00:00
Brian Somers
b1cbb71c91 Don't expect select() to adjust the passed time when it's
interrupted with a SIGALRM.  In fact, select() sets the
passed time to zero, making the previous implementation
terminate always after 1/10th of a second !

Also, deal with someone changing the clock while we're
sleeping (and restart the whole sleep).

Dangers pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-28 21:55:05 +00:00
James Raynard
bf58fc2646 Fix a couple of stray apostrophes. 1997-12-28 20:52:56 +00:00
Wolfram Schneider
721d426d82 Add OS macros for FreeBSD 2.2.6, OpenBSD 2.2, OpenBSD 2.3. 1997-12-28 18:20:05 +00:00
Alexander Langer
8109e672e4 -Wall cleanup. 1997-12-28 17:50:10 +00:00
Poul-Henning Kamp
0f12aa9ffd More cleanup relating to our use of the TSC.
Look in the cpu_feature (CPUID output) to see if we have it.
1997-12-28 17:33:10 +00:00
Poul-Henning Kamp
d46e059f94 wash, sort and put in order various nits from the i586_ctr -> tsc
commit.

Pointed out by: bde
1997-12-28 13:36:09 +00:00
Wolfram Schneider
de635b0683 The terminating character in strings is NUL', not NULL'. 1997-12-28 12:06:29 +00:00
Julian Elischer
928bf16d25 back out previous commit
got a better version.
1997-12-28 09:10:37 +00:00
KATO Takenori
19bb9bcc82 Merge from sys/i386/i386/microtime.s revision 1.36. 1997-12-28 08:16:28 +00:00
Julian Elischer
fb05cb0121 Move the sector size check to the right place,
also cope with some drives that return funny values.
The correct fix will come in a few days.
1997-12-28 07:10:54 +00:00
Bruce Evans
88754aaf0e Fixed initialization of the divisor latch. We depended on siocnopen()
initializing it for the (usual) (siocniobase != 0) case, but
siocnopen() doesn't initialize it if the latch registers already
have the correct values.
1997-12-28 06:36:35 +00:00
Steve Price
bee116f120 An a termcap entry for ancient Wyse60 terminals, wy60-nt, that don't
have hardware tab support.

PR:		5386
Submitted by:	Kevin Day <toasty@dragondata.com>
1997-12-28 06:29:36 +00:00
Bruce Evans
abee4d9808 YAMFsio.c (always call ttwwakeup() before returning from comstart()). 1997-12-28 06:23:03 +00:00
Bruce Evans
e932603093 Always call ttwwakeup() before returning from comstart(). It isn't
necessary to call it when the tty layer's output state has not been
changed, but siostop() sometimes changes the TS_BUSY state and then
calls comstart() mainly for its side effect of calling ttwwakeup().
1997-12-28 06:20:47 +00:00
Bruce Evans
ab9bca19b8 Removed unnecessary (and broken) wakeup code in rpstart(). There is no
need to do it directly, since ttwwakeup() is always called just before
returning from rpstart().  The brokenness was waking up the wrong address
after clearing TS_SO_OLOWAT.  It's not clear how processes waiting for
output to drain below low water ever got woken up.

Found by:	when I fixed longstanding warts in output watermark
		handling, this was the only driver that knew too much
		(anything) about the watermarks
1997-12-28 05:45:07 +00:00
Bruce Evans
a4c0a67553 Removed stale comment about printf's deficiencies and rewrote the code
that worked around them for the CLI devtab listing.

Print the `conflicts' flag in the CLI devtab listing.
1997-12-28 05:20:59 +00:00
Bruce Evans
f82057be9e Handle "%...p" as "%#...x" instead of "0x%...x". This is a quick fix
for field widths being 2 larger than specified for "%<number>p".  Only
printing of null pointers is "wrong" now (it is actually "right", but
inconsistent with printf(3)).
1997-12-28 05:03:33 +00:00
Brian Somers
09411a5af3 Initialize mbuf::pnext.
Complain to LogERROR if we have internal inconsistency (not LogDEBUG).
1997-12-28 02:56:43 +00:00
Brian Somers
c60f92ca71 If a packet causes a dial, continue to test whether it's
blocked in the output filter.  If so, proceed with the
dial despite dropping the packet.
1997-12-28 02:46:26 +00:00