Commit Graph

17806 Commits

Author SHA1 Message Date
dyson
24ca26f34f Significant performance improvement for mmap'ed files. This commit
makes MADV_SEQUENTIAL much more effective.  I suggest that
we start using MADV_SEQUENTIAL on system utilities that mmap
their input files, and the I/O is predominantely sequential.
Below is a test with 'cmp' on two relatively large binary files,
where the files are so large that the caching is ineffective:

+ ls -l t1.xxx t2.xxx
-rw-r--r--  1 root  wheel  65598384 Dec 10 12:13 t1.xxx
-rw-r--r--  1 root  wheel  65598384 Dec 10 12:14 t2.xxx

+ time cmp t1.xxx t2.xxx
3.78user 0.70system 1:33.43elapsed 4%CPU

+ time cmpmadv t1.xxx t2.xxx
4.21user 1.05system 0:30.93elapsed 17%CPU

This change is as a result of an observation made by BDE.
1996-12-11 05:17:23 +00:00
asami
0e72ab7f1b Add support for uncompressing manpages that are already installed
compressed.

Requested by: obrien
Change name of -D option (to pkg_create) file to MESSAGES.  (More
friendly to filename completion.)
1996-12-11 04:51:31 +00:00
dg
a8f2f5aa84 Only pay attention to the offset and the IP_MF flag in ip_off. Pointed
out by Nathaniel D. Daw (daw@panix.com), but fixed differently by me.
1996-12-11 03:26:36 +00:00
max
d465f754a2 Merge the changes made to en version (1.169 -> 1.170). 1996-12-11 01:52:38 +00:00
joerg
9f73adfacc Merg-o-matic. 1996-12-11 00:07:19 +00:00
joerg
6d098cb5bd This commit was generated by cvs2svn to compensate for changes in r20302,
which included commits to RCS files with non-trunk default branches.
1996-12-10 23:59:04 +00:00
joerg
7b15aed015 Copyright update by the author, to be more in line with our sample
copyright.

Submitted by:	David Nugent
1996-12-10 23:59:04 +00:00
peter
fb090909fc Add Thomas Koenig for the rdist patches 1996-12-10 23:55:00 +00:00
peter
178203cb73 Don't dup the network pipe to stderr, it prevents ssh from asking for a
password.

Obtained from: ssh FAQ, Thomas.Koenig@ciw.uni-karlsruhe.de
1996-12-10 23:41:27 +00:00
joerg
bd2da804cd Add our company for continuously supporting all my FreeBSD
work...
1996-12-10 21:46:33 +00:00
wollman
751b6ad1a6 Fix if.h lossage. I could have sworn I already fixed this one. 1996-12-10 21:25:42 +00:00
wollman
99cddf3e2e Finally, after six years, remove the ``quick hack for SNMP'' that was
``going away soon''.
1996-12-10 18:03:51 +00:00
wollman
a02d46111f Don't depend on <net/if.h> including <sys/time.h> 1996-12-10 18:01:27 +00:00
peter
43751e4155 Revert part of the previous change. syslogd (when logging to ttys)
has always held an open file descriptor.  This allowed logging to
spare virtual consoles and being able to switch to them.

My previous change removed this since all writes were done with ttymsg()
which opens it's own fd, and hence syslogd didn't need it's own fd to
send messages on... but this caused an unexpected behavior change.

This should close PR#2176
1996-12-10 17:52:23 +00:00
wollman
2625fc1bb3 Get struct ether_addr directly from <net/ethernet.h> rather than pulling
in lots of unrelated junk from <net/if.h> and <net/if_ether.h>.  These
functions still aren't prototyped anywhere (but should be in
<net/ethernet.h>---got that, Bill?).
1996-12-10 17:19:11 +00:00
wollman
e518804de3 Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves.  (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!)  Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
max
cc12debf78 Some translation improvement. 1996-12-10 16:57:27 +00:00
max
6e3e01933a Ooops, there were some sgml errors. 1996-12-10 16:07:22 +00:00
max
c6cddea5b7 Now the translation for this file is done!
Translated by:	Mihoko Tanaka <mihoko@pa.yokogawa.co.jp>
Submitted by:	The FreeBSD Japanese Documentation Project
1996-12-10 15:24:16 +00:00
max
299a1d1735 Merge the changes made to en version (1.6 -> 1.7).
Submitted by:	Kiroh Harada <kiroh@kh.rim.or.jp> & Japanese Doc. Project
1996-12-10 15:12:59 +00:00
bde
6f3a243918 Cleaned up recent SIGINFO changes.
Simplified average calculations.  This also fixes potential overflow errors
and minor rounding inconsistencies (always round to nearest now).

Don't lose more SIGINFOs than necessary.

Print \r at the start of the status message.  This clears the dots that
are sometimes left by ping -f.

Reviewed by:	sef
1996-12-10 14:41:22 +00:00
bde
7f1bb52dc0 Give up early for empty partitions. The offset for an empty
partition is 0, which is outside the slice unless the disk is
dangerously dedicated.  There is little error checking later, and
following garbage metadata outside the slice usually caused crashes,
Empty 'a' partitions are fairly easy to create by cloning the label
for the whole disk.

Fixed a missing newline in a related error message.
1996-12-10 14:07:42 +00:00
obrien
3ca1961967 Correct a false statement made about shlibs.
Shamelessly stollen from an expert source.

Obtained from:	Peter Wemm's email reply to Satoshi
1996-12-10 10:02:48 +00:00
dg
477ebebce0 1) Implement SIOCSIFMTU in ether_ioctl(), and change ether_ioctl's return
type to be int so that errors can be returned.
2) Use the new SIOCSIFMTU ether_ioctl support in the few drivers that are
   using ether_ioctl().
3) In if_fxp.c: treat if_bpf as a token, not as a pointer. Don't bother
   testing for FXP_NTXSEG being reached in fxp_start()...just check for
   non-NULL 'm'. Change fxp_ioctl() to use ether_ioctl().
1996-12-10 07:29:50 +00:00
max
b895288a32 Merge the change to the en version (1.51 -> 1.53).
Submitted by:	Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
1996-12-10 07:17:04 +00:00
max
a458bc0954 Typo. 1996-12-10 07:11:57 +00:00
asami
e296f1cf68 Update the shared library version comment, which was just ripped out
of my mail to -ports. ;)

Also, add a note about not bumping the number(s) twice between releases
for system libraries.
1996-12-10 05:54:31 +00:00
adam
2688437636 ifconfig 127.0.0.1 instead of localhost 1996-12-10 02:23:27 +00:00
joerg
d425a2c267 Update to benefit from David's recent changes to pw(8). The most
obvious effects are that most of the automagically chosen defaults
will now be displayed while going through the menu, and an improved
error handling thanks to the more detailed error status reporting.

2.2 fodder, but i'll leave it to Jordan's review.
1996-12-10 02:16:06 +00:00
joerg
242003b3bb Merge from the vendor-branch. 1996-12-10 00:21:28 +00:00
joerg
cb39d6c976 Upgrade from the author, reflecting all my wishes resulting out of the
sysinstall use of this tool (plus some bug fixes).

2.2 candidate...

Submitted by:	David Nugent <davidn@nserver.usn.blaze.net.au>
1996-12-09 23:55:27 +00:00
joerg
e067766b7d This commit was generated by cvs2svn to compensate for changes in r20267,
which included commits to RCS files with non-trunk default branches.
1996-12-09 23:55:27 +00:00
mpp
bfa417f827 Change another reference to host names to domain names, and restore some
changes that were lost.

Pointed out by: bde
1996-12-09 16:50:39 +00:00
mpp
eb1d02ff35 Minor spelling/mdoc/style fixes. 1996-12-09 16:44:13 +00:00
kato
a1c65e0a59 Delete $NetBSD$, and add $Id$.
2.2 candidate.
1996-12-09 15:36:54 +00:00
kato
7d80347ea5 Synchronize with IBM-PC's userconfig.c revision 1.71.
Should not be in 2.2 until original change is merged into 2.2.
1996-12-09 15:21:04 +00:00
jkh
b21abeca99 Set timeout interval to 0 in ppp so connections don't hang up while
we're doing something lengthy with the disk.
1996-12-09 15:16:36 +00:00
jkh
ea79dcb1d8 Add pw to build list - I need it now. :) 1996-12-09 14:53:36 +00:00
max
ac93c0b35b Merge the changes to the en version (1.168 -> 1.169). 1996-12-09 14:24:16 +00:00
joerg
6faa0d3445 Add David Nugent for his contribution of pw(8). 1996-12-09 14:13:05 +00:00
joerg
2590834e86 Slightly improve the wording of a ``not yet there'' message. 1996-12-09 14:08:26 +00:00
joerg
4a198ee0cb pw(8) -- a backend utility to manage the user and group databases.
sysinstall's new User&group menu will use it, hence it's a 2.2
candidate despite of providing new functionality.

Submitted by:	David L. Nugent, <davidn@blaze.net.au>
1996-12-09 14:05:35 +00:00
joerg
f6e939ac03 This commit was generated by cvs2svn to compensate for changes in r20253,
which included commits to RCS files with non-trunk default branches.
1996-12-09 14:05:35 +00:00
obrien
de18d15468 Added speal about shlib version numbers.
Implicitly requested via -ports email by:	Satoshi
1996-12-09 11:18:52 +00:00
obrien
ae881de49f Documented Pentium clock speeds (CPU,ext mem,PCI) from a mail message
from Rodney Grimes.

Mentioned that you need 5MB to install FreeBSD, or 4MB if you use
boot4.flp.
1996-12-09 10:59:36 +00:00
obrien
d424b8f8bb Added explation of REQ package script. 1996-12-09 08:47:03 +00:00
obrien
b16345d511 Tried to explain the pkg/INSTALL script.
Mentioned the pkg/DISPLAY file and it's uses.
mkdir -p  ===>  ${MKDIR}
1996-12-09 08:24:03 +00:00
jkh
9cda130bd2 As Paul has just pointed out, much of my strncpy() usage was either
bogus or overly complex and really needed to be done more consistently
and sanely throughout - no question about it.  Done.

Suggested-By: Paul Traina <pst@Shockwave.COM>
1996-12-09 08:22:19 +00:00
mpp
319fdd9037 Improve the format of the usage string output.
Submitted by:	Sandro Sigala <sandro@cat.locao.net> as part of PR# 2134
1996-12-09 08:10:45 +00:00
mpp
96b8349ac1 Minor formatting/style fixes.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR# 2134
1996-12-09 08:04:55 +00:00