From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 18:28:56 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 A9AFF16A400 for ; Sun, 8 Jul 2007 18:28:56 +0000 (UTC) (envelope-from dineshpandian@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.229]) by mx1.freebsd.org (Postfix) with ESMTP id 6BD7F13C4AD for ; Sun, 8 Jul 2007 18:28:56 +0000 (UTC) (envelope-from dineshpandian@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so446984nzf for ; Sun, 08 Jul 2007 11:28:55 -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:mime-version:content-type; b=G6Hyyna0xjsf5RAbLj2GsDcjkGAeOJ2W6xiczpMS0MhN7MT9IQvIBdhUnrHUu+5+zUVO0d7JYm10RmZAxEmGVkw2LxhvhSl2g+X/GkGSSFEX2Lnyl6WiCm5s7kU5JJPs05yOcDrlXJ38YrufRVXwG0UTagIzXeD7vG5XgDOqk20= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=GHe1/aaqgMDslMu5RtCc7h6tUxTnH2hPv2RbvlxO1mAt6mQpOFJ6jCPH9IQ6+EQxj87SXR1lU2pVLAVbyyfG5/1fg/ulkV1qnNOmIl6Hd0yWBKPeQUa2ng4+XXO8my/lxO8eQTJ1xL3+KTaPJzuxOVBgKecS9Mu6B05IoRpier0= Received: by 10.142.99.21 with SMTP id w21mr180306wfb.1183919335385; Sun, 08 Jul 2007 11:28:55 -0700 (PDT) Received: by 10.142.89.5 with HTTP; Sun, 8 Jul 2007 11:28:54 -0700 (PDT) Message-ID: <3ea3ac8f0707081128n4ec5f2f6o6ffb0c4745a3008b@mail.gmail.com> Date: Mon, 9 Jul 2007 02:28:55 +0800 From: "Dinesh Pandian" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 18:28:56 -0000 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? TIA. -- Regards, Dinesh Pandian, SOLARA Networks.