Defrag is
This document describes the design of the defragmentation algorithm that eventualy has to be put into FreeDOS defrag. This algorithm shall work on FAT12, FAT16 and FAT32, and will not interfere with long file name entries. Further more the algorithm will only be implemented once for all three kinds of FAT file systems.