From 2fa0cf5b469e2f198c6c7909ba75c0697a0131c2 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 23 Dec 2005 02:18:01 +0000 Subject: [PATCH] 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. --- sbin/dump/dump.8 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8 index b6dda401f3b6..079c456a0322 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