Runned original FastOptimize script on a real drive this time(not the testdrive). It's a storage ntfs drive(non windows)
Runned 5 times on the same drive, after each run I deleted dat, log and debug to not interfere.
Now the LCN's:
0 - 1: F:\$Boot
2 - 6.401: Empty space
6.402 - 32.338: Folders
32.339 - 1.556.937: Empty space
1.556.938 - 17.229.327: files, (actually zone6-spacehogs?)
17.229.327 - 17.229.330: MFT reserved (a)
17.229.331 - 17.921.816: F:\$MFT (a)
17.921.817 - 18.211.807: MFT reserved (2) (a)
18.211.808 - 25.848.985: files
25.848.986 - 25.967.533: F:\$Logfile + $Bitmap (b)
25.967.534 - 26.571.476: MFT reserved (3) (b)
26.571.477 - 51.896.226: files, free space, end of drive.
Perhaps the % are not exacts in my previous post.
As you can see,
followed by the $MFT at LCN=2
doesn't happened on 2 test drives + a real one.
I get $boot, freespace, folders, bigfreespace, files, $MFT as I mentioned.
I don' have a windows ntfs active partition to test the script
are the 2 zones mentioned previously as MFT
So for ntfs, if selected for fastfill, folders must be placed close to the most accessed zone (a, b) or between them.
Before analize, the user can't know the LCN of the zone because drives are different sized and MFT's placed differently.
Even knowing the position(analize, stop, calculate manually) I can't specify where the folders go because of MyDefrag limitations in zone placement.
I must place them after optimizing a zone, guessing/praing they are close to MFT. As you can see, my MFT zones are in the middle of a zone, making placement impossible.
Perhaps you did not understand what I said about the Windows defragmentation API limitation. Let me try again, in as simple words as I can think of: MyDefrag CANNOT MOVE DIRECTORIES on FAT disks.
As I've mentioned athttp://www.kessels.com/forum/index.php?topic=1688.0
I am working on this.
I am advancing, slowly to reconstruct the API from assembly. Trust me, it is hard to dissect and trace the kernel32 and fat drivers. A lot of dependency's must be solved. All this in assembler.
Thank you for your confidence and encouragement .?!
I feel like a fisherman in Sahara.
The folders WILL be moved on fat32 so please, don't shoot me for repetitions.
I try to prepare MyDefrag to handle them optimal when they can be moved, hope ASAP.
I try to avoid to waste my time to get in some closed position like:
-Yes, folders can be moved, but their placement can't be precised by scripting.
-Thank you for the code but I don't use it in MyDefrag because I have other priorities or plans.
-Nobody uses fat32 anymore and it is hard to modify MyDefrag.......
-Appreciate this but.... why not build your own program to do.....