title="Defragmentation for FFS"
Heavily used file systems tend to spread the blocks all over the disk,
especially if free space is scarce. Traditionally dump/restore have been used to
recreate the file system, but this is not acceptable for current disk
sizes. Since resize_ffs has to relocate blocks during shrinking anyway, it
should be possible to extend it to full reordering and defragmentation.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb