cvs commit: src/sbin/dump dump.8 dump.h main.c tape.c src/sbin/restore extern.h main.c restore.8 tape.c

Brian F. Feldman green at freebsd.org
Sat Apr 17 09:14:10 PDT 2004


Bruce Evans <bde at zeta.org.au> 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 <dev>.  Of course, DVD[-+]R's shelf-life is probably better 
suited for level 0 dumps.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




More information about the cvs-src mailing list