From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 22:05:23 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 CF03616A406 for ; Thu, 1 Mar 2007 22:05:23 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5485E13C48D for ; Thu, 1 Mar 2007 22:05:23 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HMtOi-0000Pj-JN for freebsd-questions@freebsd.org; Thu, 01 Mar 2007 23:05:12 +0100 Received: from 83-131-168-30.adsl.net.t-com.hr ([83.131.168.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Mar 2007 23:05:12 +0100 Received: from ivoras by 83-131-168-30.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Mar 2007 23:05:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 01 Mar 2007 23:04:52 +0100 Lines: 53 Message-ID: References: <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com> <20070301165055.638b0a06.wmoran@collaborativefusion.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2FD6ED76A041AD7142E46C7E" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-168-30.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <20070301165055.638b0a06.wmoran@collaborativefusion.com> X-Enigmail-Version: 0.94.1.2 Sender: news 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:05:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2FD6ED76A041AD7142E46C7E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bill Moran wrote: > In response to Ivan Voras : >> 352462 files, 2525857 used, 875044 free (115156 frags, 94986 blocks, >> 3.4% fragmentation) >=20 > Just to reiterate: > "Fragmentation" on a Windows filesystem is _not_ the same as "fragmenta= tion" > on a unix file system. They are not comparable numbers, and do not mea= n > the same thing. The only way to avoid fragmentation on a unix file sys= tem > is to make every file you create equal to a multiple of the block size.= Ok, my point was that 3.4% is a low number for a long used system, but, for education sake, what is the difference between Windows' "fragmentation" and Unix's "fragmentation"? I believe that a "fragmented file" in common usage refers to a file which is not stored continuously on the drive - i.e. it occupies more than one continuous region. How is UFS fragmentation different than fragmentation on other kinds of file systems? UFS has cylinder groups, blocks and block fragments. Obviously, a file larger than a cylinder group will get fragmented to spill over to another cylinder group. Block fragments only occur at the end of files. --------------enig2FD6ED76A041AD7142E46C7E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF504EldnAQVacBcgRAoz/AKDgbH7STCc6OzVe0wFVjvg7GrTHxQCfX5St Y9QDYxZVSBpmGz19hbsJ1Tg= =VqjP -----END PGP SIGNATURE----- --------------enig2FD6ED76A041AD7142E46C7E--