From owner-freebsd-questions Fri Jul 18 05:42:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA18871 for questions-outgoing; Fri, 18 Jul 1997 05:42:33 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA18866 for ; Fri, 18 Jul 1997 05:42:28 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id PAA16396; Fri, 18 Jul 1997 15:42:48 +0300 (IDT) Date: Fri, 18 Jul 1997 15:42:48 +0300 (IDT) From: Nadav Eiron To: Per Eegehauge cc: questions@FreeBSD.ORG, phce@image.dk Subject: Re: How to defrag a disk? In-Reply-To: <3.0.1.32.19970718134832.00691e88@mail.image.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 18 Jul 1997, Per Eegehauge wrote: > Hi all > > How do I defrag a disk (BSD 2.2.2) without using a backup? You don't. The FFS used in FreeBSD avoids fragmentation by allocating space for files in groups. The fragmentation figure you see when the machine boots up is something completly different. It is the number of fragments of files that are less than the allocation unit (what DOS calls cluster) and are allocated just part of such a unit (that's a fragment in FFS). > > TIA Per > > > > Per Eegehauge mailto:phce@image.dk > Arnestedet 17 mail2:per@decus.dk > DK-2720 Vanloese > Denmark > Nadav