*BSD News Article 75346


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet.ucs.indiana.edu!news
From: jfieber@indiana.edu (John Fieber)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How can I "defrag" my hard drive?
Date: 3 Aug 1996 14:33:03 GMT
Organization: Indiana University, Bloomington
Lines: 21
Sender: jfieber@fallout.campusview.indiana.edu
Message-ID: <4tvnuv$8vm@usenet.ucs.indiana.edu>
References: <32010808.ABD@ctcc.gov.za>
    <01bb8100$0be8a640$0f02000a@jamesben>
NNTP-Posting-Host: fallout.campusview.indiana.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.7

In article <01bb8100$0be8a640$0f02000a@jamesben>,
	"James Benham" <jbenham@isis.ebrps.subr.edu> writes:
> André Coetzee <acoetzee@ctcc.gov.za> wrote in article
> <32010808.ABD@ctcc.gov.za>...
>> Is this automatically cleaned up when I run the daily/weekly/monthly 
>> procedures, or is there some utility program I should run to "defrag" my 
>> drives?
> 
> I believe that running "fsck" should do the closest thing to defrag.

Which isn't close at all.  Fsck only reports the fragmentation.  The
truth of the matter is that fragmentation is rarely a problem due to
vastly more intelligent (compared to, say, ms-dos) disk layout
algorithms that prevents serious fragmentation from happening in the
first place. Have a look at /usr/share/doc/smm/05.fastfs/paper.ascii.gz 
for more details.

-john

== jfieber@indiana.edu ===========================================
== http://fallout.campusview.indiana.edu/~jfieber ================