Matthew Dillon
5941e412ca
Add a caching option to dump. Use -C. Note that NetBSD has a caching option
...
called -r but it takes 512 byte blocks instead of megabytes, and I felt a
megabytes specification would be far more useful so I did not use the same
option character.
This will *greatly* improve dump performance at the cost of possibly
missing filesystem changes that occur between passes, and does a fairly
good job making up for the loss of buffered block devices. Caching is disabled
by default to retain historical behavior.
In tests, dump performance improved by about 40% when dumping / or /usr.
Beware that dump forks and the cache may wind up being larger then you
specify, but a more complex shared memory implementation would not produce
results that are all that much better so I kept it simple for now.
MFC after: 3 days
2003-01-13 19:42:41 +00:00
Sheldon Hearn
2ab3df59b0
Add TAPE to the ENVIRONMENT section and standardize the section, using a
...
list instead of prose.
MFC after: 1 month
2003-01-10 10:59:11 +00:00
Ruslan Ermilov
463cfa804d
Fixed the abuses of .Ql visible on stderr in troff mode.
...
PR: docs/37176
2002-12-23 16:04:51 +00:00
Ruslan Ermilov
8d5d039f80
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
Kirk McKusick
194a666749
Add the `L' option to dump to notify it that it is dumping a
...
live filesystem. To obtain a consistent dump image, dump takes
a snapshot of the filesystem and then does a dump of the snapshot.
The snapshot is removed when the dump is complete.
Also add an operator warning that the `L' option should be used
if dump is run on a live filesystem without the `L' option being
specified. The alternative would be to silently use a snapshot
any time that a live filesystem is dumped, but this change in
dump semantics seemed too drastic at this time.
Sponsored by: DARPA & NAI Labs.
Approved by: re
2002-12-03 18:21:09 +00:00
Tom Rhodes
5af4935a22
Fix some 'SYNOPSIS' and 'usage' messages.
2002-08-27 00:49:27 +00:00
Tom Rhodes
277ffe6e6c
Fix Synopsis
2002-08-26 18:16:39 +00:00
Tom Rhodes
ce66ddb763
s/filesystem/file system/g as discussed on -developers
2002-08-21 18:11:48 +00:00
Philippe Charnier
e1205e80e5
The .Nm utility
2002-07-06 19:34:18 +00:00
Ruslan Ermilov
1ec84e5051
mdoc(7) police: nits.
2002-05-29 16:19:26 +00:00
Tom Rhodes
7ac806655e
dump(8)'s manual page is confusing in its use of records, blocks,
...
blocksizes, etc
does not give the default of -b
only mentiones rdump in the NAME section
uses both filesystem and file system in similar contexts
PR: 34248
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days
2002-04-17 02:10:33 +00:00
Ruslan Ermilov
992b9b7a2a
mdoc(7) police: tiny fixes.
2002-03-15 14:34:10 +00:00
Ian Dowse
9ac0768d74
Add a new "-S" flag to dump to allow it just print out dump estimate
...
size and then exit.
PR: bin/35450
Submitted by: Mark Hannon <markhannon@optushome.com.au>
Obtained from: NetBSD
MFC after: 1 week
2002-03-01 20:54:23 +00:00
Ian Dowse
19f8080e63
On receipt of a SIGINFO, schedule an immediate printout of the
...
percentage complete and remaining time estimate.
PR: bin/32138
Submitted by: mi
2002-02-16 20:22:26 +00:00
Dima Dorfman
71717f5def
Make it clear that dump(8)'s honoring of the UF_NODUMP flag is subject
...
to the -h option. While here, xref chflags(1).
PR: 33907
Submitted by: Gary W. Swearingen <swear@blarg.net>
2002-02-10 22:14:09 +00:00
Dima Dorfman
03578dfec7
Sort options in DESCRIPTION.
2001-07-15 14:00:19 +00:00
Dima Dorfman
478810b578
Bump date for addition of -D.
2001-07-15 13:57:06 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
9fe48c6e8d
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 11:04:34 +00:00
Ruslan Ermilov
448087ae70
mdoc(7) police:
...
Restored .Pa for ``dumpdates'' (it's still a file).
Also, removed duplicate ``file'' words.
2001-07-10 09:34:55 +00:00
Matthew Dillon
988d64c256
Add manual page and usage for dump -D (supplied by Dima Dorfman) (will also
...
be MFC'd)
Submitted by: Dima Dorfman <dima@unixfreak.org>
2001-07-09 03:06:56 +00:00
David E. O'Brien
ff7405adba
bye-bye documented raw devices
2001-03-09 13:06:53 +00:00
David E. O'Brien
801382fa98
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
Ruslan Ermilov
1252c1bb05
Prepare for mdoc(7)NG.
2000-12-18 15:16:24 +00:00
Ruslan Ermilov
7c7fb079b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Kris Kennaway
257875bed0
Update device name.
2000-05-07 09:27:53 +00:00
Sheldon Hearn
ef8f7ac935
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 Clayton
b1ba45cfe5
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
Mike Pritchard
f050f700ad
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
Alexey Zelkin
07a48f4bcc
Add `.Nm rdump' to NAME section.
2000-01-10 12:18:10 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Ollivier Robert
4a73c49a6d
Change rst0 into rsa0.
1998-09-22 10:05:27 +00:00
Philippe Charnier
7580ffbbbd
Correct use of .Nm. Add rcsid. Remove unused #includes.
1998-06-15 06:58:13 +00:00
Steve Price
f135a2b210
Fix minor typo.
...
PR: 6571
Submitted by: Stephen J. Roznowski <sjr@home.net>
1998-05-10 16:35:31 +00:00
Steve Price
d2daa2c099
The default dumplevel is 0.
...
PR: 5413
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-01-03 20:26:15 +00:00
Joerg Wunsch
59dcbbb234
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 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
Steve Price
81eaff0252
Remove the reference to the nonexistant dump(5) manpage.
...
PR: docs/3704
1997-08-23 21:52:47 +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
a37c38b8d8
Merge Lite2 changes (rather bigish, the dump/restore folks should check)
1997-03-11 12:09:50 +00:00
Peter Wemm
c0ec1f37ef
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +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
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
Mike Pritchard
0f7785061e
Use the .At macro where appropriate.
1996-08-23 01:06:24 +00:00