Agreed. I looked at defragfs and couldn't see how it would ever be useful. It just seemed to copy a contiguous temporary copy of the file back into a fragmented filesystem. Which immediately fragmented it again.trueriver wrote:Sadly, defragfs just uses cp -a and relies on the filesystem to do the actual defrag.
Does this mean that a FAT32 filesystem will not reuse empty space at the start of the drive until it has used all the "virgin" space?This means that once the drive has been filled once to the last sector, the free space will be fragmented, and any new files will also be fragmented.
This would explain why I can delete files and add new ones in a large FAT32 partition without fragmenting. I was concerned that something as simple as updating a menu.lst file might cause fragmentation, but maybe that's not a problem.
I haven't tried this yet, but I wonder how fast it is working on flash media. It might be just as fast to backup-reformat-restore. Especially if it takes you 10 minutes just to start Windows.An easier solution, if you are unlucky enought to still be using windows, is to use a defragger within Windows.