From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 22:20:16 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 AE92216A401 for ; Thu, 1 Mar 2007 22:20:16 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 759B613C428 for ; Thu, 1 Mar 2007 22:20:16 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l21MHd9d086207; Thu, 1 Mar 2007 17:17:39 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l21MHcDH086206; Thu, 1 Mar 2007 17:17:38 -0500 (EST) (envelope-from jerrymc) Date: Thu, 1 Mar 2007 17:17:38 -0500 From: Jerry McAllister To: Norberto Meijome Message-ID: <20070301221738.GA86154@gizmo.acns.msu.edu> References: <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com> <20070301192109.A24369@chylonia.3miasto.net> <20070302085100.125cf488@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070302085100.125cf488@localhost> User-Agent: Mutt/1.4.2.2i Cc: Wojciech Puchar , Steve Franks , FreeBSD Users Questions Subject: Re: defrag 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: Thu, 01 Mar 2007 22:20:16 -0000 On Fri, Mar 02, 2007 at 08:51:00AM +1100, Norberto Meijome wrote: > On Thu, 1 Mar 2007 19:22:32 +0100 (CET) > Wojciech Puchar wrote: > > > backup+restore will be defrag > > you mean : backup, format, (reinstall if needed, depending on method of backup) > and restore - or simply restore on top (if you backed up everything and can > access your drive offline). > > simply overwriting the existing files won't change anything, would it? You'd > need a clean slate to do a defrag this way... Well, it would do some, but for the greatest effect, you would need: dump + rm -rf * + restore That would get it all. You could be really extreme and do: dump + newfs + restore if you wanted to, to be sure of a clean file system You would not need a reformat (though some people really mean newfs when they say reformat) and you would not need any reinstall. But, if you did this on the root partition, you would have to to the restore from some other boot such as on a different disk or from the fixit utility on the installation CD. That shouldn't be necessary for any other file system unless you foolishly put /sbin in a partition other than / (root). ////jerry > _________________________ > {Beto|Norberto|Numard} Meijome > > Software isn't released.... it escapes. > > I speak for myself, not my employer. Contents may be hot. Slippery when wet. > Reading disclaimers makes you go blind. Writing them is worse. You have been > Warned. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"