From owner-cvs-src@FreeBSD.ORG Sat Apr 17 09:14:09 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6CC1416A4CE; Sat, 17 Apr 2004 09:14:09 -0700 (PDT) Received: from localhost (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i3HGE79B039976; Sat, 17 Apr 2004 12:14:08 -0400 (EDT) (envelope-from green@green.homeunix.org) Message-Id: <200404171614.i3HGE79B039976@green.homeunix.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Bruce Evans In-Reply-To: Message from Bruce Evans <20040417011735.N14463@gamplex.bde.org> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 17 Apr 2004 12:14:07 -0400 Sender: green@green.homeunix.org cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: David O'Brien Subject: Re: cvs commit: src/sbin/dump dump.8 dump.h main.c tape.c src/sbin/restore extern.h main.c restore.8 tape.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 16:14:10 -0000 Bruce Evans wrote: > On Fri, 16 Apr 2004, David O'Brien wrote: > > > On Mon, Apr 12, 2004 at 07:58:07PM -0700, Brian Feldman wrote: > > > green 2004/04/12 19:58:07 PDT > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sbin/dump dump.8 dump.h main.c tape.c > > > sbin/restore extern.h main.c restore.8 tape.c > > > Log: > > > Add -P arguments for dump(8) and restore(8) which allow the user to > > > use backup methods other than files and tapes. The -P argument is > > > a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOLUME > > > defined in the environment, respectively. > > > > Why do you need an option for this? Can't you just use 'dump ... |' and > > '... | restore'? > > A simple pipeline can't handle media-change stuff well. Of course, the funny thing is that in the specific case I mentioned, there is no special "media-change stuff" ;-) DVD-R, DVD+R, DVD-RW, CD-R, and CD-RW can't just be opened, written to, and closed directly and need a program to do the burning. However, DVD-RAM and DVD+RW should be usable with just -f . Of course, DVD[-+]R's shelf-life is probably better suited for level 0 dumps. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\