Date: Thu, 24 Jul 2003 15:12:42 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Peter Rosa <prosa@pro.sk> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Defragment HDD Message-ID: <20030724201242.GC32490@dan.emsphone.com> In-Reply-To: <004501c3521d$e8532c40$3501a8c0@pro.sk> References: <Pine.BSF.4.21.0307241548210.73690-100000@lexus.isprime.com> <004501c3521d$e8532c40$3501a8c0@pro.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 24), Peter Rosa said: > From: "Scott Kupferschmidt" <sk@isprime.com> > > On Thu, 24 Jul 2003, Peter Rosa wrote: > > > is it possible, and by using what program, to defragment HDDs > > > under FreeBSD ? > > > > I always cat /dev/zero > file > > wait until the drive fills up, rm file and you're set. > > OK, but it is not the "real defragmenting" like Norton Speedisk or MS > Defrag on windoze machines. Is there anything other ? I think he was joking :) The FFS filesystem reserves 8% of the disk space so that it can allocate contiguous blocks for files. In general, you don't have to worry about file fragmentation. There are no tools for optimizing the layout of a disk (putting files in a directory next to each other on disk, for example) like SpeedDisk does, though. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030724201242.GC32490>