From owner-freebsd-questions@FreeBSD.ORG Fri Nov 7 08:58:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E6FA16A4CE for ; Fri, 7 Nov 2003 08:58:13 -0800 (PST) Received: from catseye.mine.nu (d154-5-164-0.bchsia.telus.net [154.5.164.0]) by mx1.FreeBSD.org (Postfix) with SMTP id ABD0643FE9 for ; Fri, 7 Nov 2003 08:58:12 -0800 (PST) (envelope-from catseye@catseye.mine.nu) Received: (qmail 70782 invoked by uid 1001); 7 Nov 2003 17:00:50 -0000 Date: Fri, 7 Nov 2003 09:00:50 -0800 From: Chris Pressey To: Malcolm Kay Message-Id: <20031107090050.7d9182b2.cpressey@catseye.mine.nu> In-Reply-To: <200311072335.29758.malcolm.kay@internode.on.net> References: <1068210236.18604.1.camel@pluto.dc.cox.net> <200311072335.29758.malcolm.kay@internode.on.net> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: srenna@vdbmusic.com cc: freebsd-questions@freebsd.org Subject: Re: how do you get dump to assume "yes" to its questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 16:58:13 -0000 On Fri, 7 Nov 2003 23:35:29 +1030 Malcolm Kay 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/usr....it'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 is...is 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/* -Chris