From owner-freebsd-hackers Wed Jul 3 13:17:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D09E37B400 for ; Wed, 3 Jul 2002 13:17:45 -0700 (PDT) Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB5FD43E31 for ; Wed, 3 Jul 2002 13:17:44 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g63KFfL88505 for ; Wed, 3 Jul 2002 13:15:42 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Wed, 3 Jul 2002 13:15:41 -0700 (PDT) From: Patrick Thomas To: Subject: using `restore` without user input Message-ID: <20020703130856.Y79469-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I would like to perform a restore out of a shell script. Normally, I run restore with a command line like: restore -x -f /some/dump Which works _exactly_ as I want it to, except that I am asked two questions: Specify next volume #: and then at the end of the restore: set owner/mode for '.'? [yn] So that is a problem, since I want to run it unattended, without requiring user input. I have discovered that this command line: restore -rf /some/dump will run without user input. MY question is, is the output of this command identical to the output of the original one I was running ? I _do_ indeed wish to specify owner/mode for '.' and have everything restore just right like it was with my original command line - am I missing anything or losing any of my original functionality by using this new command line ? Or is it identical in result (except for the extra `restoresymtable` file it produces) to the original command I had ? thanks, PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message