Ubuntu – Defragmenting tools on Ubuntu for non EXT* formats

defragfat32usb-drive

I have a flash drive that I use for general use around the house and at school. I use exclusively Ubuntu, but at school and on other family computers, they use Winblows. Therefore, my flash drive is in FAT32 format for easy reading on both types of machines. However, I want to be sure that my drive can be defragmented. Is there any way to do this on Ubuntu?

Best Answer

Moving all the data off the USB drive and then copying it back again will ensure that there are no fragmented files.

However, there's absolutely no point in doing this since fragmentation does not affect performance of solid state drives