Commit Graph

50221 Commits

Author SHA1 Message Date
jayanth
4d6b63aa57 re-enable the tcp newreno code. 2000-07-12 22:00:46 +00:00
des
c70a66dcdc Rework the stats code for the nth time. Much cleaner now.
Always display the completion percentage if stderr is a tty.
Drop the char-by-char transfer mode, it was based on an incorrect assumption
regarding the semantics of fread().
Finally (I hope) straighten out the business of setting the mtime, as well as
when to remove the output file and when not to.
Thanks are owed to the many who have provided nearly instantaneous and
highly constructive feedback and suggestions about these matters.
2000-07-12 20:53:07 +00:00
dwmalone
f8865c312f Make builtin ident service work if the request arrives in more than
one packet. Also check that the whole request has been recieved
before processing it.

The patch isn't the exact one from the PR, but a slight varient
suggested by Brian.

PR:		16086
Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>
Reviewed by:	green
2000-07-12 20:49:06 +00:00
ben
c33e36c0cc Mention "amd -H" in the synopsis so that references to the "first form
listed", etc, make sense.

PR:		18592
Submitted by:	Patrick Gosling <jpmg@eng.cam.ac.uk>
2000-07-12 20:32:43 +00:00
ben
e9f0198f4b "ls" is note the same as "nlist", but it is the same as "dir". Correct
this, and add a bit to the descriptions of "dir" and "nlist" to emphasize
the difference.

PR:		15408
Submitted by:	Joe Smith <inwap@best.com>
2000-07-12 19:00:50 +00:00
jhb
0ea186b099 Update boot0cfg to handle the new boot0:
- Allow for boot0 to be more than one sector long.  However, ensure that it
  its length is a multiple of the sector length.
- Change the signatures used to determine a valid boot0 as some of the
  signature code changed.
- Use the old signature to detect version 1.0 of boot0, otherwise read the
  version number from boot0 itself.
2000-07-12 18:15:06 +00:00
jhb
98c4530932 Grr forgot one important feature:
- Add a version number to boot0 to aid in keeping track of new features in
  the feature if needed.  The old boot0 is treated as version 1.0, and this
  version is 1.1.
2000-07-12 18:12:52 +00:00
jhb
0e4379356e The new and improved boot0, v1.1. This version adds the following:
- Autodetection and support of the BIOS EDD extensions to work around the
  1024 cylinder limit on all but really ancient BIOS's.
- To work around some BIOS's which break when EDD is used with older drives,
  we only attempt to use EDD if the cylinder is > 1023.
- Since this new code required more space than we had left, expand boot0 to
  2 sectors (1024 bytes) in length.
- Add support for boot0 being multiple sectors using predefined constants.
  If boot0 needs to be extended in the future, all that is required is
  bumping the NUM_SECTORS constant.
- Now that we have more room to work with, add a few more fs type
  descriptions while making others more verbose.
2000-07-12 18:11:54 +00:00
jhb
f6d57357f3 - Support MBR boot loaders that are larger than one sector size.
- Axe the 1024 cylinder checks as they are no longer relevant.
2000-07-12 18:08:27 +00:00
jhb
6b4eb34fdb - Allow support for MBR boot loaders that are longer than one sector. As
with fdisk, ensure that they are a multiple of the sector size in length.
- Axe all the 1024 cylinder checks as they are no longer relevant with the
  fixed bootstrap.
2000-07-12 18:05:18 +00:00
jhb
0649292f91 Note that "ether" is a supported address family for setting addresses. 2000-07-12 17:58:19 +00:00
jhb
ed9eceabe1 - Always respect cylinder boundaries when creating slices unless the user
explicitly sets the geometry.
- Allow for MBR boot loaders that are longer than one sector.  Only accept
  boot loaders if their size is a multiple of the sector size, however.
2000-07-12 16:45:11 +00:00
jhb
5f5f7d5463 Add support to the 'ether' address family to support setting of addresses.
This allows you to set ether addresses with 'ifconfig ether'.  Also, use
some saner socket address families that allow several special case tests
to be removed.
2000-07-12 16:41:47 +00:00
itojun
11dc2aeee2 remove m_pulldown statistics, which is highly experimental and does not
belong to *bsd-merged tree
2000-07-12 16:39:13 +00:00
brian
f8c814f08f Correct ``set filter'' usage
Spotted by:	sheldonh
2000-07-12 16:31:47 +00:00
itojun
943fd065e5 remove m_pulldown related statistics, it is not for production system
(it belongs to kame experiment).
2000-07-12 16:13:02 +00:00
nbm
2ca1cda289 Update the st(4) and sd(4) references to sa(4) and da(4) respectively,
maintaining order, were the references ordered already.

PR:		reminded by 19647
Submitted by:	reminded by Jens Schweikhardt <schweik@noc.dfn.de>
2000-07-12 15:19:39 +00:00
brian
d241ec6113 Fix a rather nasty latency problem that occurs with single tcp sessions
thorough an MP setup with only a single link.
2000-07-12 15:08:03 +00:00
rwatson
a7b69c088e o Other half of Sheldon's patch to fix initattr arguments, mistakenly
forgotten due to minimal sleep.  Thanks!

Submitted by:	sheldonh
2000-07-12 12:04:02 +00:00
rwatson
08050b1d38 o update extattrctl man page to reflect obligatory arguments to initattr
-r and -w arguments

Submitted by:	sheldonh
2000-07-12 11:50:08 +00:00
des
09424ec57b Now that the HTTP code supports timeouts, we don't need to use alarm()
around the call to fetchStat().
Catch SIGINT, and rework the signal handling so it doesn't skimp on the
cleanup after a timeout or interrupt. Also, don't just bail out after a
timeout; there may be more files to fetch.
2000-07-12 11:02:01 +00:00
davidn
04947d69a2 Detect and handle comment lines in master.passwd files.
PR:		bin/19664
2000-07-12 11:00:28 +00:00
des
a3741d2d22 Fully document the HTTP authorization feature.
Update the BUGS section to reflect the HTTP rewrite.
2000-07-12 10:41:29 +00:00
des
4dd1b16cac Extensive rewrite of the HTTP code. The new code is significantly cleaner and
more robust, and somewhat more efficient. It also handles authorization and
redirects properly, and supports timeouts like the FTP code.

Many thanks to Umemoto-san for his assistance with IPv6 support, both here
and in other parts of libfetch.
2000-07-12 10:39:56 +00:00
nyan
b5b59cc01a Backed out a part of previous commit. The function name conflicts.
Pointed out by:	haro@tk.kubota.co.jp (Munehiro Matsuda)
2000-07-12 10:15:43 +00:00
dfr
6941e0add7 Add support for Intel's i810 chipset with integrated graphics. An
associated patch to XFree86 allows the X server to work with this chipset
on FreeBSD. Additional work will include porting the Linux 3D driver.

Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
2000-07-12 10:13:07 +00:00
phk
678a11d9cf This in essence completes the receive path. 2000-07-12 09:57:00 +00:00
asmodai
4f63f6aadf Backout previous commit.
(Mental note: don't forget -rRELENG_4 next time.)
2000-07-12 09:50:20 +00:00
asmodai
3aa9bb1c8a MFC: fix some output cosmetics so that the finger -s output is properly
lined up
2000-07-12 08:50:09 +00:00
des
59fdbdfe4d Rework the stats code to avoid code duplication.
Fix a bug where the stats code would print the expected size instead of the
number of bytes received.
Fix the reading code so it'll support partial reads.
2000-07-12 08:29:52 +00:00
mckusick
aa3a0a7396 Ensure that block and character devices as well as fifo's and sockets
all have zero length. A non-zero length panic's the kernel when one
of these is deleted.

PR:		19426
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by:	dwmalone@FreeBSD.org
2000-07-12 06:19:22 +00:00
itojun
6d7ecaafbb correct rtentry reference count in in6_ifloop_request().
if you reconfigure inet6 too much, the reference count can go
into negative by mistake.  KAME in6.c 1.98 -> 1.99.
2000-07-12 05:20:41 +00:00
rwatson
f2e006403e o Correct getopt() argument so that initattr -r and -w take an additional
argument via optarg.  This corrects a segfault when initattr is invoked
  with either of these two arguments.  Not sure how this got broken given
  that in the original patches it was fine -- presumably a merging
  mistake.

Obtained from:	TrustedBSD Project
2000-07-12 02:20:16 +00:00
kris
d9046a4f4a Don't call syslog() without a format string. 2000-07-12 01:43:55 +00:00
imp
241e4d7fd0 Add Xircom CompactCard Ethernet CFE-10 1.00.
Seems to work great in the type II cf<->pccard adapter that came with
the card.  Others have reported with different chipsets for the pccard
bridge that additional support is needed to make this card work with
the 3.3 volts it needs.
2000-07-12 01:20:55 +00:00
kris
bbf794668d Don't call fprintf() without a format string. 2000-07-12 00:59:32 +00:00
kris
1b2cc0072d Don't call syslog() without a format string. 2000-07-12 00:50:49 +00:00
kris
ce868049dc Don't call warn() without a format string. 2000-07-12 00:50:15 +00:00
jhb
e39a2b5ca6 Don't assume that any ISA device that fails to probe is a PnP device,
instead, use the bus_print_child_* functions to display the error message.
Also, since this is more of a warning than an error, hide it behind
bootverbose.

Similarly, if isa_assign_resources() fails to allocate resources to a
device, use bus_print_child_header() instead of device_printf(), and
display the resources that could not be allocated if bootverbose is true.

Approved by:	msmith
Help from:	mdodd
2000-07-12 00:42:08 +00:00
kris
6a00cb9864 Don't call err() without a format string. 2000-07-12 00:35:53 +00:00
mckusick
740c0346bc Brain fault, forgot to update ffs_snapshot.c with the new calling convention
for vn_start_write.
2000-07-12 00:27:27 +00:00
kris
e81814770e Don't call syslog() without a format string. 2000-07-12 00:00:12 +00:00
kris
e8c9099118 Don't call err() without a format string. 2000-07-11 23:53:22 +00:00
des
7426a1bb93 Use fetch_putln() 2000-07-11 23:50:22 +00:00
des
310e4d7baf Add _fetch_putln() 2000-07-11 23:50:08 +00:00
kris
63fc64eaa4 Don't call printf without a format string. 2000-07-11 23:49:24 +00:00
dannyboy
da21d79a5b Spelling (embedd to embed) fix and change a comma to a semicolon. 2000-07-11 22:52:12 +00:00
dannyboy
e361d54b73 Add some missing articles (as in a, an, the). 2000-07-11 22:39:48 +00:00
brian
54adf9f066 Allow a ``timeout secs'' filter option to let specific packet types
effect the idle timer in different ways.

Submitted by: Stefan Esser <se@freebsd.org>

With adjustments by me to document the option in the man page and to
give the same semantics for outgoing traffic as incoming.

I made the style more consistent in ip.c - this should really have
been done as a separate commit.
2000-07-11 22:11:36 +00:00
mckusick
78cc524a14 Add snapshots to the fast filesystem. Most of the changes support
the gating of system calls that cause modifications to the underlying
filesystem. The gating can be enabled by any filesystem that needs
to consistently suspend operations by adding the vop_stdgetwritemount
to their set of vnops. Once gating is enabled, the function
vfs_write_suspend stops all new write operations to a filesystem,
allows any filesystem modifying system calls already in progress
to complete, then sync's the filesystem to disk and returns. The
function vfs_write_resume allows the suspended write operations to
begin again. Gating is not added by default for all filesystems as
for SMP systems it adds two extra locks to such critical kernel
paths as the write system call. Thus, gating should only be added
as needed.

Details on the use and current status of snapshots in FFS can be
found in /sys/ufs/ffs/README.snapshot so for brevity and timelyness
is not included here. Unless and until you create a snapshot file,
these changes should have no effect on your system (famous last words).
2000-07-11 22:07:57 +00:00