From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 21:12:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D258E16A41F for ; Sun, 8 Jul 2007 21:12:08 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by mx1.freebsd.org (Postfix) with ESMTP id 929F013C46A for ; Sun, 8 Jul 2007 21:12:08 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so460026nzf for ; Sun, 08 Jul 2007 14:12:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ur/hqWnHZCojAgWz8dT3UPSZQxFQBrlehqr+yZWbL6fl9Y73KRngSeqVLTcld2Rmpcr8eWqnsCZEJRefMPjauFUmWdkgknq0AID5VH0dIPmXy+ZIH53dVHECSOb8NNJBiKgLvFz+eX7aRF20XbpSRuxV3vfbBYo85d+swG6ae4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dOb3XSalvq59g+IW/6q1iPch0IxsIgL/ZCHOrFL4PFlaVzXHJgtQfKixTdYKMUadgU2k7zI/S8ei+ngUjq5bMxnvtscee5TOd+z9TCp6rEDeyyc1/LW0H4LVsyqLscUme/5jrasWJWv3+NY+DFNtph2qlpj715O1h2dZ8AG4yR8= Received: by 10.142.231.7 with SMTP id d7mr184844wfh.1183927394680; Sun, 08 Jul 2007 13:43:14 -0700 (PDT) Received: by 10.143.45.7 with HTTP; Sun, 8 Jul 2007 13:43:14 -0700 (PDT) Message-ID: <19861fba0707081343k4b789d71ne6ff9d622e8da1ca@mail.gmail.com> Date: Sun, 8 Jul 2007 22:43:14 +0200 From: J65nko To: freebsd-questions@freebsd.org In-Reply-To: <3ea3ac8f0707081128n4ec5f2f6o6ffb0c4745a3008b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3ea3ac8f0707081128n4ec5f2f6o6ffb0c4745a3008b@mail.gmail.com> Subject: Re: non-interactive dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 21:12:08 -0000 On 7/8/07, Dinesh Pandian wrote: > Hello guys, > quick question.. > > Is there a way to tell dump to do it's working without > it asking "Is the new volume mounted and ready to go?: ("yes" or "no")" > everytime it changes mount points? > > For example: > > solara# dump -0L -f /dev/da1 / > DUMP: Date of this level 0 dump: Mon Jul 9 02:17:40 2007 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping snapshot of /dev/da0s1a (/) to /dev/da1 > DUMP: mapping (Pass I) [regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 288357 tape blocks on 7.42 tape(s). > DUMP: dumping (Pass III) [directories] > DUMP: dumping (Pass IV) [regular files] > DUMP: Closing /dev/da1 > DUMP: Change Volumes: Mount volume #2 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes > DUMP: Volume 2 begins with blocks from inode 33729 > DUMP: Closing /dev/da1 > DUMP: Change Volumes: Mount volume #3 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes > DUMP: Volume 3 begins with blocks from inode 49969 > DUMP: Closing /dev/da1 > DUMP: Change Volumes: Mount volume #4 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes > DUMP: Volume 4 begins with blocks from inode 50225 > DUMP: 39.89% done, finished in 0:01 at Mon Jul 9 02:25:01 2007 > DUMP: Closing /dev/da1 > DUMP: Change Volumes: Mount volume #5 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes > DUMP: Volume 5 begins with blocks from inode 50225 > DUMP: Closing /dev/da1 > DUMP: Change Volumes: Mount volume #6 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes > DUMP: Volume 6 begins with blocks from inode 50225 > DUMP: Closing /dev/da1 > DUMP: Change Volumes: Mount volume #7 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes > DUMP: Volume 7 begins with blocks from inode 50225 > DUMP: Closing /dev/da1 > DUMP: Change Volumes: Mount volume #8 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes > DUMP: Volume 8 begins with blocks from inode 50225 > DUMP: DUMP: 289411 tape blocks on 8 volumes > DUMP: finished in 180 seconds, throughput 1607 KBytes/sec > DUMP: Closing /dev/da1 > DUMP: DUMP IS DONE > > > Dump requires that I key in "yes" everytime it changes mount volumes.. > is there a way to just get it to continue without user intervention? > Use the "-a" flag ;)