History log of /freebsd-10.0-release/sbin/dump/dumprmt.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 128085 10-Apr-2004 bde

Fixed unformatting of copyright clause 4 in previous commit.


# 128073 09-Apr-2004 markm

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# 122669 14-Nov-2003 johan

Make this WARNS=2 clean by
- using (intmax_t) and %j
- giving a non-empty format string to msg()

Include <stdint.h> directly instead of depending on <inttypes.h>
to do it.

Tested by: make universe


# 114452 01-May-2003 markm

De-Kerberise (KerberosIV). KerberosIV is no longer present, and
remote backups can still be done with Kerberos authentication using
SSH and Kerberos 5.


# 103949 25-Sep-2002 mike

Use the standardized CHAR_BIT constant instead of NBBY in userland.


# 92837 20-Mar-2002 imp

o remove __P
o Use ANSI function definitions
o unifdef -D__STDC__


# 86473 16-Nov-2001 iedowse

Zap a number of #ifdef sunos blocks, and all of the `register'
keywords.


# 59216 14-Apr-2000 imp

Add include of errno.h where needed, remove extern int errno where not.

These commits were inspired by a similar commit to netbsd.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 39256 15-Sep-1998 gibbs

Add support for dealing with ENOSPC as the error code returned by a tape
device hitting EOM on a write.


# 37635 14-Jul-1998 jkoshy

Make `dump' exit codes confirm to manual page.

PR: 5346
Style-check-by: bde


# 36997 15-Jun-1998 charnier

Correct use of .Nm. Add rcsid. Remove unused #includes.


# 36115 17-May-1998 fenner

Turn on TCP_NODELAY on the remote socket, to turn off sender silly window
syndrome avoidance. The combination of SWS avoidance and ack-every-other
causes low throughput if the block size divided by the MSS is odd (which
is true with the default block size and MSS).
Turning on TCP_NODELAY disables the Nagle algorithm and sender SWS avoidance.
The rdump request/response protocol can not invoke Nagle and cannot cause
SWS, so this has no negative effects.


# 25288 29-Apr-1997 wollman

Implement Kerberized rcmd for rdump/rrestore. This is lacking the
options one would normally expect to set the realm, enable encryption,
and whatnot, but this actually is able to contact the remote server,
so at least it's a start. (As a bonus, the stripped static binary is
unquestionably exportable.)


# 23672 11-Mar-1997 peter

Merge Lite2 changes (rather bigish, the dump/restore folks should check)


# 21409 07-Jan-1997 imp

Fix many buffer overflows, correct usage of strcat and implement
$TAPE. Inspired by OpenBSD's work in this area.

Reviewed by: Peter Wemm, Guido van Rooij and Jordan Hubbard.
Obtained from: OpenBSD


# 19317 01-Nov-1996 fenner

Use fprintf(stderr,) instead of msgtail() so it works for restore as well.


# 19315 01-Nov-1996 peter

Temporarily disable an information message that was added in the last
commit.. This causes a link error in sbin/restore which also uses this
file.


# 19300 01-Nov-1996 fenner

Make rdump error messages a little clearer and make them look like dump
messages, and make it explicit that stderr output came from the remote end.
(e.g. "rmt: command not found")


# 19239 28-Oct-1996 fenner

If rcmd() fails, return immediately instead of trying a bunch of
setsockopt()'s on a -1 file descriptor.

Remove attempt to decrease TCP MSS; it makes no sense.

Set the IP TOS to IPTOS_THROUGHPUT as an indication that this is an
application sending large blocks of data, as recommended by RFC1700.


# 12377 18-Nov-1995 joerg

Andreas Klemm's patch set for dump(8), with some minor (cosmetic)
changes and one addition by me.

. Use reasonable defaults for the tape drive (/dev/rst0) instead of
something we actually don't have.

. Add a summary line displaying the alapsed time and the total throughput.

. Replace "rmt" for the remote location of rmt(8) by "/etc/rmt", since this
is the historical protocol, and relying on the $PATH causes a big pain.
Make it adjustable via an environmental variable though.

Reviewed by: joerg (for Andreas' part)
Submitted by: andreas@knobel.gun.de (Andreas Klemm)


# 1559 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1558,
which included commits to RCS files with non-trunk default branches.


# 1558 26-May-1994 rgrimes

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.