From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 19:49:44 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 251B116A4CE for ; Wed, 7 Jan 2004 19:49:44 -0800 (PST) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0505843D55 for ; Wed, 7 Jan 2004 19:49:43 -0800 (PST) (envelope-from msmith@code-fu.com) Received: (qmail 24739 invoked from network); 8 Jan 2004 03:49:42 -0000 Received: from dsl092-151-060.wdc2.dsl.speakeasy.net (HELO code-fu.com) ([66.92.151.60]) (envelope-sender ) encrypted SMTP for ; 8 Jan 2004 03:49:42 -0000 Message-ID: <3FFCD354.3020704@code-fu.com> Date: Wed, 07 Jan 2004 22:49:40 -0500 From: "Michael A. Smith" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031109 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd@mazenalzogbi.com, freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Disk defragmentation 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: Thu, 08 Jan 2004 03:49:44 -0000 > How can I defragment my HDD partitions in FreeBSD? As I understand it, instead of writing instantly to disk (breaking things up to do so, a la Windows), FreeBSD (and Linux, Solaris, etc...) caches disk writes until a proper place on the disk can be found. This is why it can be disastrous to just shut off a FreeBSD system (i.e. pull the plug). A proper shutdown insures all the not-yet-written things get written to disk. Welcome to the brave new world of FreeBSD. Cheers! -- Michael A. Smith Programmer at Large