From owner-freebsd-questions@FreeBSD.ORG Tue Sep 21 17:30:11 2004 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 AE04A16A4CE for ; Tue, 21 Sep 2004 17:30:11 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 458BC43D55 for ; Tue, 21 Sep 2004 17:30:11 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i8LHU5W05986; Tue, 21 Sep 2004 13:30:05 -0400 (EDT) From: Jerry McAllister Message-Id: <200409211730.i8LHU5W05986@clunix.cl.msu.edu> To: freebsd-questions-local@be-well.no-ip.com (Lowell Gilbert) Date: Tue, 21 Sep 2004 13:30:04 -0400 (EDT) In-Reply-To: <44d60f4m10.fsf@be-well.ilk.org> from "Lowell Gilbert" at Sep 21, 2004 12:36:11 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: Jerry McAllister cc: freebsd-questions@freebsd.org Subject: Re: SCSI Shock Advice ! 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: Tue, 21 Sep 2004 17:30:11 -0000 > > Jerry McAllister writes: > > > By the way, I notice that in the FAQ on moving to a "huge disk" > > it uses the 'x' switch on the restore and I think it is more > > appropriate to use 'r'. So, 'restore rf -' as I indicate in > > my post instead of 'restore xf -' as in the faq. > > Actually, it might work either way, but I think 'r' is more correct. > > It will, indeed, work either way, but the "r" flag will do a newfs. > Because the example had already done a newfs, this is redundant (and > wipees out any special parameters you may have used in the original > newfs invocation). Hmmm. I have restored lots of dumps using the 'r' switch and never saw it do a newfs. In fact the man page for restore tells you to make sure it is pristine by doing a newfs before the restore. Actually, I do restore -r into directories that are not even the root of a file system and had no problem or seen any newfs occur. -- I do that when merging one system to another and don't want to deal with naming all the files on the restore. ////jerry