Subject: Re: defragment drive?
To: netbsd-help <netbsd-help@netbsd.org>
From: Soren Jacobsen <devsoren@attbi.com>
List: netbsd-help
Date: 10/28/2002 23:03:51
On Tue, Oct 29, 2002 at 12:50:08AM -0500, James K. Lowden wrote:
> 
> I'm absolutely sure I've seen fragmentation statistics from NetBSD, but I
> can't seem to remember where.  "man -k frag" is no help, neither does
> "fragment" appear on the man pages of fsck, df, du, mount.  It's not dmesg
> output.  But I know I've seen it.  There's also a way to find the number
> of segments of a given file.  

From fsck_ffs(8):
     After successfully correcting a file system, fsck_ffs will print the
     number of files on that file system, the number of used and free blocks,
     and the percentage of fragmentation.

-- 
Soren Jacobsen