summaryrefslogtreecommitdiffstats
path: root/sbin/dump
Commit message (Collapse)AuthorAgeFilesLines
* Correct use of .Nm. Add rcsid. Remove unused #includes.charnier1998-06-158-40/+53
|
* Turn on TCP_NODELAY on the remote socket, to turn off sender silly windowfenner1998-05-171-6/+3
| | | | | | | | | 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.
* Fix minor typo.steve1998-05-101-2/+2
| | | | | PR: 6571 Submitted by: Stephen J. Roznowski <sjr@home.net>
* read() and write() return ssize_t not int, so the first arg to atomic()jb1998-01-251-2/+3
| | | | should be ssize_t too.
* The default dumplevel is 0.steve1998-01-031-2/+2
| | | | | PR: 5413 Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
* Make this part of the 'krb' distribution.markm1997-10-241-0/+1
|
* Fix the man page description about what will go into an incrementaljoerg1997-10-191-2/+2
| | | | | | | backup. PR: docs/4785 Submitted by: Matthew Dillon
* Do not account the tape change time for ETA estimations.joerg1997-10-121-0/+6
| | | | | PR: bin/4369 Submitted by: blank@fox.uni-trier.de (Sascha Blank)
* The unit for the B option is 1 KB, not `dump records'.joerg1997-10-121-2/+2
| | | | PR: docs/4223
* Changes for the new KTH KerberosIV.markm1997-09-281-4/+8
|
* Remove the reference to the nonexistant dump(5) manpage.steve1997-08-231-2/+1
| | | | PR: docs/3704
* Add Id. Cosmetic in usage string.charnier1997-06-101-3/+6
|
* Fix a long-standing bug with dump not treating errors correctly. Theyjoerg1997-05-061-2/+4
| | | | | | | 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...
* Implement Kerberized rcmd for rdump/rrestore. This is lacking thewollman1997-04-294-11/+50
| | | | | | | 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.)
* Document the -a option in .Fl form instead of .Cm form to be consistantpeter1997-03-151-2/+2
| | | | | with the rest of the manpage. (Lite2 documents it in getopt form, Lite1 did it in old-style arg format)
* The -a option (autosize) option got mangled during the Lite2 merge.peter1997-03-151-3/+2
| | | | Pointed out by: Tom Jackson <tom@peeper.jackson.org>
* Merge Lite2 changes (rather bigish, the dump/restore folks should check)peter1997-03-116-181/+229
|
* This commit was generated by cvs2svn to compensate for changes in r23669,peter1997-03-111-54/+3
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import some CSRG 4.4BSD-Lite2 components for sbin onto vendor branch.peter1997-03-117-256/+239
| | | | | | | | (note that some of these have already been imported, this is a no-op)
* | Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
| |
* | Update CHANGEDSINCE macro to conform to -current dinode.hjkh1997-02-161-5/+0
| |
* | Removed default setuid and added a comment to the manpage explaining this.eivind1997-02-092-1/+7
| |
* | Add the `a' option (``auto-size'') to bypass all tape lengthjoerg1997-02-014-15/+44
| | | | | | | | considerations, and dump right to the end of medium.
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | | | | | | | | | 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.
* | Sort cross references.wosch1997-01-131-3/+4
| |
* | Fix double typopeter1997-01-081-1/+1
| |
* | Fix many buffer overflows, correct usage of strcat and implementimp1997-01-073-11/+19
| | | | | | | | | | | | | | $TAPE. Inspired by OpenBSD's work in this area. Reviewed by: Peter Wemm, Guido van Rooij and Jordan Hubbard. Obtained from: OpenBSD
* | bin/1789: dump estimates a negative number of tapes needed for huge dumpspst1997-01-071-4/+4
| |
* | Backing out my change of /etc/rmt -> /usr/sbin/rmt.obrien1996-12-292-2/+3
| | | | | | | | | | | | | | 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
* | rmt is /usr/sbin/rmt, not /etc/rmt which is a link to /usr/sbin/rmtobrien1996-12-292-2/+2
| |
* | Use fprintf(stderr,) instead of msgtail() so it works for restore as well.fenner1996-11-011-0/+1
| |
* | Temporarily disable an information message that was added in the lastpeter1996-11-011-1/+0
| | | | | | | | | | commit.. This causes a link error in sbin/restore which also uses this file.
* | Make rdump error messages a little clearer and make them look like dumpfenner1996-11-011-12/+35
| | | | | | | | | | messages, and make it explicit that stderr output came from the remote end. (e.g. "rmt: command not found")
* | If rcmd() fails, return immediately instead of trying a bunch offenner1996-10-281-6/+9
| | | | | | | | | | | | | | | | | | 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.
* | ts_sec -> tv_secnate1996-09-201-1/+1
| | | | | | | | ts_nsec -> tv_nsec
* | Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-143-5/+5
| | | | | | | | | | | | 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.
* | Use the .At macro where appropriate.mpp1996-08-231-1/+2
| |
* | Put the superfluous "DUMP:" back in the statistics line, to makejoerg1995-12-231-2/+2
| | | | | | | | Amanda happy.
* | Andreas Klemm's patch set for dump(8), with some minor (cosmetic)joerg1995-11-185-17/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Fix a silly bug where MAXPATHLEN was subtracted from the string length ratherjkh1995-10-241-2/+2
| | | | | | | | | | than the other way around! Submitted by: Elmar Bartel <bartel@informatik.tu-muenchen.de>
* | Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-9/+1
| | | | | | | | which is no longer bogusly installed in /usr/include.
* | Man page was incorrectly pointing to /etc/dump, it should be /sbin/dump.rgrimes1995-07-151-1/+1
| | | | | | | | Submitted by: faried nawaz <fn@big-brother.csrv.uidaho.edu>
* | When using dump/rdump on large filesytems (my case 3 GB), the lseekjoerg1995-06-241-2/+4
| | | | | | | | | | | | | | | | | | | | 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>
* | Remove trailing whitespace.rgrimes1995-05-305-30/+30
| |
* | Add pointer to the `ft' command.jkh1995-01-261-0/+1
| |
* | Fixed an evil bug where rawname() could write across the boundaries ofjoerg1994-10-281-3/+3
| | | | | | | | | | | | | | | | 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:)
* | Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
|/ | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-2611-0/+3992
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud