Commit Graph

2346 Commits

Author SHA1 Message Date
wiz cbd2a2a6a6 Drop trailing dot in Nd. 2001-06-05 12:46:08 +00:00
wiz d12a675883 Fix Nd and some whitespace and punctuation. 2001-06-05 12:44:43 +00:00
wiz 821db49ac7 Remove some trailing whitespace. 2001-06-05 12:42:56 +00:00
wiz b2935aaaf6 Drop argument of .Os. 2001-06-05 11:24:51 +00:00
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
hannken de85f7e43e Assign a saved copy of dt->fs_file to mountpoint. dt->fs_file will be freed
otherwise resulting in a wrong spcl.c_filesys .
2001-06-03 09:51:10 +00:00
thorpej ca4d373730 Implement support for IP/TCP/UDP checksum offloading provided by
network interfaces.  This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us.  In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software.  This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.

We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.

Note: hardware-assisted checksumming defaults to "off".  It is
enabled with ifconfig(8).  See the manual page for details.

Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
2001-06-02 16:17:06 +00:00
lukem 9af1692ef1 * improve parsing of file-systems-to-dump when a path is given:
- if it's a path to an unmounted file-system listed in /etc/fstab, use
	that instead of assuming the user wanted a subtree dump of the parent
	directory. this restores the behaviour of dump before the subtree
	dumping code went in.
      - if it's a path to a mounted file-system which is not in /etc/fstab,
	use the info from getmntinfo(3). previously, dump would choke.
* implement error checked malloc(), calloc(), strdup(), and use
  appropriately (some of the calloc()s weren't being checked)
* use 'file-system' instead of 'filesystem' in the man page
2001-05-28 01:09:54 +00:00
lukem cc5935ebba unifdef !__STDC__ (missed in previous) 2001-05-28 00:41:14 +00:00
lukem 713ffa0ec4 more KNF 2001-05-27 15:07:34 +00:00
lukem 99feaf5b29 knf to ansi 2001-05-27 14:17:56 +00:00
christos 7956951247 - KNF printlabel.c
- add a function to print only one partition's info.
- print the partition information if it was modified in interactive mode.
- improve on the chaining code. [still assumes that partition offsets increase
  monotonically]. We could check for overlap too.
2001-05-26 19:48:32 +00:00
lukem e7bcd6bf17 use strdup appropriately 2001-05-26 07:48:15 +00:00
bouyer 1047a6a764 Adapt for MODE SENSE/SELECT changes in kernel. 2001-05-15 15:11:02 +00:00
tron b82fe09a8d Add "e" option to usage message. Problem pointed out by Takahiro Kambe
in private e-mail.
2001-05-12 10:26:22 +00:00
tron b72a1f53d6 Fix bug in new "e" option: only eject tape if it is full, not if the dump
was finished.
2001-05-12 08:03:01 +00:00
itojun 8306609bc4 correct -n handling. 2001-05-09 11:22:22 +00:00
itojun 219df672ab fix signal handling on ping6 -f <nonexisting peer>. from hash@iij.ad.jp.
sync with kame
2001-05-09 11:19:13 +00:00
tron d6be44d3c8 Add a new option "e" to "dump" which allows to eject tapes automatically
if a tape change is required.
2001-05-07 21:17:48 +00:00
kleink 017a840cd9 getopt(3): EOF -> -1. 2001-05-07 14:51:46 +00:00
simonb 1547b056d0 If the position of the formatted panic string can be found in the
message buffer, use that instead of the raw panic string.

Suggested by Jason Thorpe eons ago.
2001-05-06 13:36:51 +00:00
wiz bd49a98652 Improve wording of a sentence. misc/10893 by Jim Bernard, part 2. 2001-05-06 12:30:05 +00:00
wiz ccb6f40539 Improve usage of `comprise' according to Webster and misc/10893
by Jim Bernard.
2001-05-06 12:29:18 +00:00
fvdl 60f029933e Remove BUGS section, which only referred to performance tuning.
Instead, add a PERFORMANCE section which explains the most common
optimizations.
2001-05-02 12:18:45 +00:00
lukem 49137c3ddc clarify that -w updates the in-core label if changed, and if -r is
given as well, the on-disk label will then be updated.
2001-05-01 11:51:21 +00:00
itojun cb58c8c6b6 make -A a default. present MAC adderss on all ifconfig operations. 2001-04-28 04:11:10 +00:00
itojun 7d54359fb0 assume the presense of getifaddrs(3). 2001-04-28 00:00:06 +00:00
manu e0e227f2a3 Added a few examples and a reference to sysctl to enable IP forwarding
Approved by Christos
2001-04-27 19:33:06 +00:00
itojun 59ba739cf6 sync usage() more to the reality. document alias/-alias. 2001-04-27 09:10:04 +00:00
itojun be4c7a7c16 allow ifconfig to take "deprecated" and "-deprecated" for IPv6. sync with kame
sync usage() with reality.  take "up" and "down" outside of "[af ...],
as "up" and "down" are independent from interface address configuration.
2001-04-27 09:08:44 +00:00
wiz 09fc203c72 Add arch to Dt, and lots of whitespace fixes. 2001-04-21 14:44:13 +00:00
ad bd8e0b62fb Let '\377' be whitespace. 2001-04-17 13:31:00 +00:00
lukem f5cf87f961 add fix by Minoura Makoto to correctly support recursive extended partitions.
the offset of an extended sub-partition is the offset of the top-level
extended partition, not the partition before it (this is annoying, and
makes `clean' recursive mbr descent difficult).  fixes PRs 11829 and 12677.
2001-04-16 10:47:15 +00:00
itojun 5b3c802193 sync with if_lmcioctl.h change.
From: Bernd Ernesti <netbsd@arresum.inka.de>
2001-04-12 23:52:22 +00:00
agc c286afd376 "It's" is short for "it is". The possessive pronoun is "its". 2001-04-11 15:17:51 +00:00
mrg 32aec0200a add a section on swap priorities. document the round robin scheme.
fixes half of PR#12610.
2001-04-11 14:10:17 +00:00
wiz 8e78c80273 Make WARNS=2 safe, and set WARNS to 2. 2001-04-06 16:52:41 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
jhawk 5e3565be65 Xr icmp(6), inet(6), ip(6) 2001-04-03 14:06:31 +00:00
jhawk 1277f0fe42 Xr icmp(4), inet(4), ip(4) 2001-04-03 14:00:09 +00:00
jdolecek 4fe147ddbf xref se(4) now that the manpage is built and installed 2001-04-03 11:51:33 +00:00
wiz 6fccda72ed Don't xref format(8) -- the man pages we have for it (hp300/vax) don't
seem very interesting at all, if not even obsolete.
Whitespace fixes while I'm here.
2001-04-03 11:21:57 +00:00
wiz b258a384eb Add section to .Xr. 2001-04-03 11:19:54 +00:00
wiz dd7acb43b8 Don't xref nonexisting se(4). 2001-04-03 11:18:53 +00:00
wiz 2d48dd26ee Xref send-pr 1, not 8. Whitespace fixes while I'm here. 2001-04-03 11:17:31 +00:00
wiz 7919f2a9a1 Don't xref gated(8) and htable(8), which we don't have. 2001-04-03 11:16:27 +00:00
wiz 4bb6958546 Xref rc.conf 5, not 8. Whitespace fixes while I'm here. 2001-04-03 11:09:01 +00:00
wiz 93709797b6 Xref newfs_lfs instead of newlfs; whitespace fixes while I'm here. 2001-04-03 11:07:50 +00:00
wiz f53dfc72b2 Xref exit 3, not 2. Whitespace fixes while I'm here. 2001-04-03 11:06:20 +00:00
ad 93e3741265 Remove superfluous newlines in calls to errx(). 2001-04-01 14:59:56 +00:00