Here is the explanation:

The old methods start by going through the disk from start to finish. For every 
cluster it determines which file it has to put there. The file that is in the 
way is moved to a different location and the file that should be there is put 
in that location. This is very slow. Moreover since much more data is copied, 
it tends to be sensitive to disk corruption (resetting the computer is a very 
bad idea).

The new methods, go through the directory tree once, determining which files 
are fragmented. For every fragmented file it looks for a location where it can 
put it continously. Then it puts the file there. Result: very fast and far less 
copying. Moreover data that does not need to be copied stays where it is. 
Drawback: on some systems where the disk may be too full, it might not be able 
to defragment all files (hence: quick try).

Imre



----- Oorspronkelijk bericht -----
Van: Eric Auer [mailto:[EMAIL PROTECTED]
Verzonden: maandag, maart 17, 2008 01:56 PM
Aan: 'Imre Leber'
Onderwerp: Re: freedos defrag methods


Hi!

> Well the old methods from MSDOS are still
> supported for historical reasons.

I think for smaller partitions (FAT16), they are still useful...

> But anybody serious about defragmentation should use the
> new "quick try" methods.

Can you give some more explanation about the pros and cons
of the "quick try" methods?

> That is the only sane and safe way to do it.

No method should be unsafe - which have unsafe implementations?

Eric







-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to