Joerg Wunsch
d6038ed629
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 Wunsch
b394198484
The unit for the B option is 1 KB, not `dump records'.
...
PR: docs/4223
1997-10-12 13:10:26 +00:00
Mark Murray
81127b1486
Changes for the new KTH KerberosIV.
1997-09-28 08:42:27 +00:00
Steve Price
81eaff0252
Remove the reference to the nonexistant dump(5) manpage.
...
PR: docs/3704
1997-08-23 21:52:47 +00:00
Philippe Charnier
a1e5f53b8f
Add Id. Cosmetic in usage string.
1997-06-10 11:14:04 +00:00
Joerg Wunsch
ee359f4838
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
Garrett Wollman
1982ee69fd
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 Wemm
e457979c0d
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 Wemm
79aed3fe40
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 Wemm
a37c38b8d8
Merge Lite2 changes (rather bigish, the dump/restore folks should check)
1997-03-11 12:09:50 +00:00
Peter Wemm
39e5614a71
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 Wemm
1811bdf372
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 Wemm
c0ec1f37ef
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00
Jordan K. Hubbard
28ebf21479
Update CHANGEDSINCE macro to conform to -current dinode.h
1997-02-16 22:16:08 +00:00
Eivind Eklund
20a842df1f
Removed default setuid and added a comment to the manpage explaining this.
1997-02-09 20:56:34 +00:00
Joerg Wunsch
af00957e47
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
Jordan K. Hubbard
1130b656e5
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
Wolfram Schneider
af20215665
Sort cross references.
1997-01-13 00:25:51 +00:00
Peter Wemm
9e0dc595f6
Fix double typo
1997-01-08 03:00:42 +00:00
Warner Losh
f5dcc2f1e6
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
Paul Traina
71fbc63c69
bin/1789: dump estimates a negative number of tapes needed for huge dumps
1997-01-07 20:15:04 +00:00
David E. O'Brien
4cbb75f40e
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
David E. O'Brien
cbb90fdbbc
rmt is /usr/sbin/rmt, not /etc/rmt which is a link to /usr/sbin/rmt
1996-12-29 00:57:18 +00:00
Bill Fenner
b11ecdd6d0
Use fprintf(stderr,) instead of msgtail() so it works for restore as well.
1996-11-01 17:23:41 +00:00
Peter Wemm
c737f472e8
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
Bill Fenner
4aad1224fc
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
Bill Fenner
d71ba03df8
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 Williams
45808359e6
ts_sec -> tv_sec
...
ts_nsec -> tv_nsec
1996-09-20 04:56:09 +00:00
Bruce Evans
eaa86f9d7f
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
Mike Pritchard
0f7785061e
Use the .At macro where appropriate.
1996-08-23 01:06:24 +00:00
Joerg Wunsch
3be059bae1
Put the superfluous "DUMP:" back in the statistics line, to make
...
Amanda happy.
1995-12-23 11:53:56 +00:00
Joerg Wunsch
019420a58f
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
Jordan K. Hubbard
abdec3e35c
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
Garrett Wollman
656dcd4316
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
Rodney W. Grimes
41e969f6cf
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 Wunsch
d195e6deec
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
Rodney W. Grimes
5ebc7e6281
Remove trailing whitespace.
1995-05-30 06:12:45 +00:00
Jordan K. Hubbard
681e4fa0cf
Add pointer to the `ft' command.
1995-01-26 00:32:58 +00:00
Joerg Wunsch
56d5f6db85
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
Garrett Wollman
404c1a5fc1
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
Rodney W. Grimes
8fae3551ec
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