Commit Graph

85 Commits

Author SHA1 Message Date
obrien
4d6d792fb5 Remove two lint directives that aren't needed since rev 1.5. 2001-03-30 16:51:51 +00:00
obrien
51ca15c2dc Make rev 1.5 better match the rest of dump(8)'s output. 2001-03-27 19:38:34 +00:00
obrien
c9c6dd1eff Do not exit if unable to read /etc/dumpdates or create it.
If one is trying to dump or repair an ill system, give the user a fighting
chance.  Refusing to operate w/o a very non-critical file (feature) is
just plain stupid.
2001-03-27 19:28:00 +00:00
ru
86642a4ab4 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
56b5d7535b Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
obrien
81365aaa67 bye-bye documented raw devices 2001-03-09 13:06:53 +00:00
obrien
84709752a1 Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons,
and remove leading `r'(aw) from it.
2001-03-08 09:04:40 +00:00
obrien
0de7162258 Support inheritance of the "nodump" flag down a hierarchy.
Submitted by:	Dima Dorfman <dima@unixfreak.org>
Obtained from:	NetBSD
2001-03-03 11:35:50 +00:00
phk
77061a115d Use <sys/queue.h> instead of home-rolled list.
Submitted by:	"Jason Smethers" <jsmethers@pdq.net>
2001-01-29 09:45:51 +00:00
phk
2b8bb59303 Use \a instead of \007 for making noise.
Submitted by:	"Jason Smethers" <jsmethers@pdq.net>
2001-01-28 21:21:37 +00:00
ru
7fe8bd2b88 Prepare for mdoc(7)NG. 2000-12-18 15:16:24 +00:00
ru
ea31070695 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
ru
a6f5d950d8 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
kris
07e195cda0 Update device name. 2000-05-07 09:27:53 +00:00
imp
7fec3d2787 Add include of errno.h where needed, remove extern int errno where not.
These commits were inspired by a similar commit to netbsd.
2000-04-14 06:15:01 +00:00
joerg
bc42f462b1 Avoid rawname() stupidly prepending an `r' before the device name even
in cases where the supplied name was already pointing to a character
special device.  This fixes the breakage that occured when trying to
dump a filesystem by name (e. g. /usr), with an fstab already
mentioning the raw device name (like /dev/rda0g) where dump attempted
to use /dev/rrda0g then.

Also removed the now obsolete remark that fstab were carrying block
special names.
2000-04-02 10:16:40 +00:00
sheldonh
ff1f324516 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
nik
fc60a09c33 Remove xrefs to obsolete ft driver.
PR:             docs/17080
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-01 10:40:18 +00:00
markm
1bcfc94e36 Use libcrypto instead of libdes. 2000-02-24 21:01:54 +00:00
mpp
0835d95d39 Fix various man pages to stop abusing the .Bx macro to generate
the strings "FreeBSD" and "NetBSD".  Use the .Fx or .Nx macro
instead.
2000-01-23 01:30:05 +00:00
phantom
007e0ea746 Add `.Nm rdump' to NAME section. 2000-01-10 12:18:10 +00:00
imp
50a13e9fb7 vsprintf -> vsnprintf in msg(). 1999-11-10 18:11:16 +00:00
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