VFAT Defragmentation under Linux

Robert White (rwhite@casabyte.com)
Fri, 6 Jun 2003 20:00:57 -0700


Greetings,

I understand that the current file system drivers for the primary file
system types have anti-fragmentation logic built into them already. (e.g.
ext2/3 moves things around and such while the file system is mounted.)

Do the VFAT drivers likewise defragment the VFAT partitions?

If not, is there a Linux-hosted defragment program for defragmenting an
unmounted VFAT partition?

If such exists I have been unable to find it via normal network searches
because the dos/windows tools raise the noise floor on "VFAT defragment" so
high that no other refinements seem to hit.

So far the only Linux-level defragment operation that I seem to have
available for a VFAT partition is to mount the drive, cpio everything off of
it, delete its contents, and then copy everything back. That's a little
drastic and has obvious issues if you want to then boot that partition
separately/later.

Rob.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/