markm
3b6f8bb130
Prepare for K5.
1999-09-20 06:21:51 +00:00
markm
a90c53c266
Fix for new KerberosFix for new Kerberos44
1999-09-19 22:14:33 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
billf
36ab0ae51e
Fix nested if/else within an if
1999-07-08 22:27:00 +00:00
jkh
86be82fb5b
Fix time of last dump handling.
...
Submittted by: Richard Wiwatowski <rjwiwat@ozemail.com.au>
1999-07-02 04:44:43 +00:00
jmz
62b04b83d2
Fix typo in dump reporting
...
PR: bin/10573
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-05-24 00:35:47 +00:00
mjacob
c1677f05fc
temporary workaround for bin/11464
1999-05-03 13:53:16 +00:00
jkh
fe1a4eb34f
The attached patch to /usr/src/sbin/dump/optr.c changes the comparison
...
so that dumps are treated by dump -w as having been done on midnight
of the day they were actually run. This makes dump -w behave as
expected for regularly scheduled daily dumps - if they all run the
same day. It makes dump -w behave strangely if you dump late in the
day and check again after midnight, but that is the lesser of two
evils.
Submitted by: Mike Meyer <mwm@phone.net>
PR: 9429
1999-03-21 23:47:38 +00:00
dima
832b98b6ff
64bit fixes.
...
(Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem
somewhere is the physio() area)
Submitted by: myself && Matt Dillon.
1998-10-27 04:01:19 +00:00
roberto
019b2d8ebe
Change rst0 into rsa0.
1998-09-22 10:05:27 +00:00
obrien
18dba2fe21
Remove useless `BINOWN=root' now that it is the default.
1998-09-19 22:42:06 +00:00
andreas
26cb0fc413
checked, that new sa CAM driver takes care of using buffer sizes
...
<= 64 KB. Was able to dump/restore with block sizes of 96, 128 and
200. using systat -vmstat I noticed transfer blocksizes <= 64KB,
so physio's limits aren't touched.
Since this check was originally from me, I feels safe now to back it
out.
1998-09-16 20:52:12 +00:00
gibbs
3576feaf0b
Add support for dealing with ENOSPC as the error code returned by a tape
...
device hitting EOM on a write.
1998-09-15 10:25:50 +00:00
markm
ec4dc9550e
Fix LIBDIR (for aout/ELF).
1998-08-06 21:41:13 +00:00
jkoshy
bf57a7d1d1
Make `dump' exit codes confirm to manual page.
...
PR: 5346
Style-check-by: bde
1998-07-14 09:19:47 +00:00
charnier
c21f0cc56c
Correct use of .Nm. Add rcsid. Remove unused #includes.
1998-06-15 06:58:13 +00:00
fenner
e8a137bc32
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.
1998-05-17 06:39:38 +00:00
steve
71673c47fd
Fix minor typo.
...
PR: 6571
Submitted by: Stephen J. Roznowski <sjr@home.net>
1998-05-10 16:35:31 +00:00
jb
25ffc13079
read() and write() return ssize_t not int, so the first arg to atomic()
...
should be ssize_t too.
1998-01-25 09:15:10 +00:00
steve
1d1ac83093
The default dumplevel is 0.
...
PR: 5413
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-01-03 20:26:15 +00:00
markm
6e219dba6a
Make this part of the 'krb' distribution.
1997-10-24 16:20:25 +00:00
joerg
048018209a
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
0e8a4e7303
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
238c0273fe
The unit for the B option is 1 KB, not `dump records'.
...
PR: docs/4223
1997-10-12 13:10:26 +00:00
markm
ebebdc212c
Changes for the new KTH KerberosIV.
1997-09-28 08:42:27 +00:00
steve
3c2efe40ee
Remove the reference to the nonexistant dump(5) manpage.
...
PR: docs/3704
1997-08-23 21:52:47 +00:00
charnier
d048b9413f
Add Id. Cosmetic in usage string.
1997-06-10 11:14:04 +00:00
joerg
e005bbd63c
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
d226ef144b
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
b8a8563e51
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
1a407c81b8
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
7f724bc019
Merge Lite2 changes (rather bigish, the dump/restore folks should check)
1997-03-11 12:09:50 +00:00
peter
f59a1bdace
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
5e2372f721
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
4968036f61
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00
jkh
13be5f8d6c
Update CHANGEDSINCE macro to conform to -current dinode.h
1997-02-16 22:16:08 +00:00
eivind
959fd6631c
Removed default setuid and added a comment to the manpage explaining this.
1997-02-09 20:56:34 +00:00
joerg
2b3e3d7363
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
808a36ef65
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
71f5160702
Sort cross references.
1997-01-13 00:25:51 +00:00
peter
3e1646e9fb
Fix double typo
1997-01-08 03:00:42 +00:00
imp
eba6461a03
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
3e449dc0ea
bin/1789: dump estimates a negative number of tapes needed for huge dumps
1997-01-07 20:15:04 +00:00
obrien
aa9d006dfd
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
412ed00294
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
8cf03fedfc
Use fprintf(stderr,) instead of msgtail() so it works for restore as well.
1996-11-01 17:23:41 +00:00
peter
7287066244
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
75c2ebaa11
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
6a0fb85f47
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
c9979c6067
ts_sec -> tv_sec
...
ts_nsec -> tv_nsec
1996-09-20 04:56:09 +00:00