summaryrefslogtreecommitdiffstats
path: root/sbin/dump
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-12-23 02:18:01 +0000
committerimp <imp@FreeBSD.org>2005-12-23 02:18:01 +0000
commita5dd38ad577f7f982b7ec664efb5350657e207d6 (patch)
tree2133e2d5b1f676d2d8b81de480b4589e4cada004 /sbin/dump
parent8756f0f99037415bce829254992dbc9576b0589d (diff)
downloadFreeBSD-src-a5dd38ad577f7f982b7ec664efb5350657e207d6.zip
FreeBSD-src-a5dd38ad577f7f982b7ec664efb5350657e207d6.tar.gz
Add the example that green@ used in his commit log for the dump to a
pipe functionality. I've done a cvs log main.c about a dozen times now. Maybe others will find this useful.
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/dump.89
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8
index b6dda40..079c456 100644
--- a/sbin/dump/dump.8
+++ b/sbin/dump/dump.8
@@ -29,7 +29,7 @@
.\" @(#)dump.8 8.3 (Berkeley) 5/1/95
.\" $FreeBSD$
.\"
-.Dd March 1, 2002
+.Dd December 22, 2005
.Dt DUMP 8
.Os
.Sh NAME
@@ -452,6 +452,13 @@ program.
Pathname of a remote shell program, if not
.Xr rsh 1 .
.El
+.Sh EXAMPLES
+Dumps the "/u" file system to dvds using growisofs.
+Uses a 16MB cache and creates a snapshot of the dump and records the
+dumpdates file.
+.Bd -literal
+/sbin/dump -0u -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /u
+.Ed
.Sh FILES
.Bl -tag -width /etc/dumpdates -compact
.It Pa /dev/sa0
OpenPOWER on IntegriCloud