how do you get dump to assume "yes" to its questions

Chris Pressey cpressey at
Fri Nov 7 08:58:13 PST 2003

On Fri, 7 Nov 2003 23:35:29 +1030
Malcolm Kay <malcolm.kay at> wrote:

> On Fri, 7 Nov 2003 23:33, Scott Renna wrote:
> > Hello all,
> >
> > I've managed to start utilizing dump and the flags to exclude
> > certain directories.  The problem i've run into is when i try to
> > back up/'s so big and dump breaks it up into tinier
> > pieces(i'm dumping to a file).  it asks me if the new volume is
> > mounted and ready to go. Obviously it there a way for dump
> > to just run through all this without bothering me?
> >
> Not certain I understand what you want, but I think you want the
> '-a' option with dump so that it writes all to one file without
> stopping. Try the man page.

Not certain I understand either, but if all you want is a way to answer
'y' to every prompt a program gives you, one way is to use the 'yes'
command.  e.g.

  yes | rm -rf /tmp/*


More information about the freebsd-questions mailing list