Skip to content
SPECIFICTION
Get listed

FreeDOS Defrag vs xfs_fsr

FreeDOS Defrag

help.fdos.org

xfs_fsr

xfs.org

Side by side

FigureFreeDOS Defragxfs_fsr
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Linux—Yes
Self-hostedYes—
Plans published11
Spec score · Disk Defragmentation Software7.4 (#10)6.9 (#16)
PurposeDEFRAG optimizes file loading times from a disk by moving file fragments together.xfs_fsr reorganizes mounted XFS filesystems by improving the layout of file extents one file at a time.

Plans

FreeDOS Defrag

  • FreeDOS DefragFree

FreeDOS Defrag pricing →

xfs_fsr

  • xfs_fsrFree

xfs_fsr pricing →

In their own words

FreeDOS Defrag

FreeDOS Defrag, or DEFRAG, is a free, open-source DOS utility that rearranges file fragments to improve loading times from a specified drive. It offers a menu interface and a command-line mode selected with /C. Full optimization with /F places files at the beginning of the disk without gaps, while /U unfragments files but may leave gaps. The /S option sorts files by name, extension, date and time, or size, with descending order available. Other options support quick defragmentation, rebooting after optimization, and exiting when work finishes. Its help recommends occasional use or running it after installing larger programs or creating many small files. Documented exit codes cover insufficient disk space, read, write, FAT-allocation, and memory errors. DEFRAG runs in the FreeDOS environment, whose 1.4 distribution includes LiveCD, USB, LegacyCD, and floppy editions.

Visit help.fdos.org

xfs_fsr

xfs_fsr is a free Linux utility in the xfsprogs project that reorganizes mounted XFS filesystems one file at a time. It copies a target file to temporary storage, then atomically exchanges the data extents of the original and temporary files. With no arguments, it chooses files with the largest extent counts and attempts the top 10% on each pass. A default run lasts up to two hours and records its stopping point for later resumption. You can name filesystems or individual files, with one pass through each target. Targets must be mounted read-write; entries without that option are skipped. Files mapped in memory and files marked no-defrag are not processed. Reorganization needs enough free space to copy the target, with space less fragmented than the original. On quota-enabled systems, the owner also needs sufficient remaining file quota. The manual says system partitions generally do not need this utility and warns that moving bootloader files can prevent booting unless lilo is rerun before reboot.

Visit xfs.org