Commit Graph

42 Commits

Author SHA1 Message Date
joerg
af3e361f52 Fix the man page description about what will go into an incremental
backup.

PR:		docs/4785
Submitted by:	Matthew Dillon
1997-10-19 09:43:08 +00:00
joerg
ab87658176 Do not account the tape change time for ETA estimations.
PR:		bin/4369
Submitted by:	blank@fox.uni-trier.de (Sascha Blank)
1997-10-12 14:09:13 +00:00
joerg
9baa9978d9 The unit for the B option is 1 KB, not `dump records'.
PR:		docs/4223
1997-10-12 13:10:26 +00:00
markm
0ccd485f6f Changes for the new KTH KerberosIV. 1997-09-28 08:42:27 +00:00
steve
8a92f5f418 Remove the reference to the nonexistant dump(5) manpage.
PR:		docs/3704
1997-08-23 21:52:47 +00:00
charnier
d55754f2b3 Add Id. Cosmetic in usage string. 1997-06-10 11:14:04 +00:00
joerg
b2e4a00210 Fix a long-standing bug with dump not treating errors correctly. They
were mishandled as an EOF, which became fatal if your first tape was
accidentally write-protected.

PR:		bin/850 dump treats write-protect as an EOT...
1997-05-06 20:52:28 +00:00
wollman
6b6aee21e4 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.)
1997-04-29 17:46:27 +00:00
peter
3f20f3dca3 Document the -a option in .Fl form instead of .Cm form to be consistant
with the rest of the manpage.  (Lite2 documents it in getopt form, Lite1
did it in old-style arg format)
1997-03-15 06:23:57 +00:00
peter
d4c8f7cec8 The -a option (autosize) option got mangled during the Lite2 merge.
Pointed out by:  Tom Jackson <tom@peeper.jackson.org>
1997-03-15 05:32:40 +00:00
peter
9fd0eac987 Merge Lite2 changes (rather bigish, the dump/restore folks should check) 1997-03-11 12:09:50 +00:00
peter
0e97406f6d This commit was generated by cvs2svn to compensate for changes in r23669,
which included commits to RCS files with non-trunk default branches.
1997-03-11 11:59:39 +00:00
peter
a0c6955605 Import some CSRG 4.4BSD-Lite2 components for sbin onto vendor branch.
(note that some of these have already been imported, this is a no-op)
1997-03-11 11:59:39 +00:00
peter
4997d39dce Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
jkh
8202173bcd Update CHANGEDSINCE macro to conform to -current dinode.h 1997-02-16 22:16:08 +00:00
eivind
6931f0dcf3 Removed default setuid and added a comment to the manpage explaining this. 1997-02-09 20:56:34 +00:00
joerg
8378c4a9e1 Add the a' option (`auto-size'') to bypass all tape length
considerations, and dump right to the end of medium.
1997-02-01 23:44:19 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
e902881dbf Sort cross references. 1997-01-13 00:25:51 +00:00
peter
20c29bc982 Fix double typo 1997-01-08 03:00:42 +00:00
imp
4fc3488eea 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
1997-01-07 20:48:24 +00:00
pst
64891fc07d bin/1789: dump estimates a negative number of tapes needed for huge dumps 1997-01-07 20:15:04 +00:00
obrien
7080d18e67 Backing out my change of /etc/rmt -> /usr/sbin/rmt.
Added comments in both files stateing why /etc/rmt is correct so someone
else wont do the same thing again.

Suggested by:	Warner Losh & Ollivier
1996-12-29 11:48:45 +00:00
obrien
814275d051 rmt is /usr/sbin/rmt, not /etc/rmt which is a link to /usr/sbin/rmt 1996-12-29 00:57:18 +00:00
fenner
a10492e46a Use fprintf(stderr,) instead of msgtail() so it works for restore as well. 1996-11-01 17:23:41 +00:00
peter
58ffdbd84e 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.
1996-11-01 13:02:20 +00:00
fenner
205d00aa37 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")
1996-11-01 05:39:10 +00:00
fenner
1e940af992 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.
1996-10-28 23:26:37 +00:00
nate
c82c57a1b8 ts_sec -> tv_sec
ts_nsec -> tv_nsec
1996-09-20 04:56:09 +00:00
bde
071f2afd3e Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
mpp
3af6efec9f Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
joerg
903ce794e1 Put the superfluous "DUMP:" back in the statistics line, to make
Amanda happy.
1995-12-23 11:53:56 +00:00
joerg
73a49ee404 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)
1995-11-18 18:00:43 +00:00
jkh
74fbf4d892 Fix a silly bug where MAXPATHLEN was subtracted from the string length rather
than the other way around!
Submitted by:	Elmar Bartel <bartel@informatik.tu-muenchen.de>
1995-10-24 13:46:35 +00:00
wollman
01cdce9796 Delete bogus referneces to timezone code internal header file `tzfile.h',
which is no longer bogusly installed in /usr/include.
1995-08-07 19:17:46 +00:00
rgrimes
d1da6a6b04 Man page was incorrectly pointing to /etc/dump, it should be /sbin/dump.
Submitted by:	faried nawaz <fn@big-brother.csrv.uidaho.edu>
1995-07-15 10:44:19 +00:00
joerg
9a79ce966c When using dump/rdump on large filesytems (my case 3 GB), the lseek
claims multiple times to have failed. The problem is a off_t is
converted into a int and checked for a negative. A true lseek check
should be checking if the off_t is equal to -1 for failure.

(Suggested fix from PR #bin/461)

Submitted by:	mark tinguely <tinguely@opus.cs.ndsu.NoDak.edu>
1995-06-24 17:07:21 +00:00
rgrimes
0d84aee7e3 Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
jkh
25526d13c3 Add pointer to the `ft' command. 1995-01-26 00:32:58 +00:00
joerg
64cdb7f637 Fixed an evil bug where rawname() could write across the boundaries of
an array. The bug became obvious in the old system where the array was only
32 characters long (now MAXPATHLEN). Dump honored its name then (:-)
and dumped its core when calling dump -w for a fstab that contained rather long
NFS file system names. Even though this is rather unlikely to happen now,
a bug is a bug:)
1994-10-28 17:26:27 +00:00
wollman
8e1bbb06c3 Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
1994-08-05 02:42:42 +00:00
rgrimes
d038e02fd6 BSD 4.4 Lite sbin Sources
Note:  XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00