Hi everybody,

I uploaded a new version of the DOS port of dosfsck 2.11
(based on Linux dosfstools 2.11), "2.11.dos2" on my page:

http://www.coli.uni-saarland.de/~eric/stuff/soft/by-others/dosdosfsck-2.11b.zip

Summary of the changes:

Dosfsck will now print memory usage info in -v mode. Usage is roughly
20 bytes per cluster plus 84 bytes per file or directory. Typical are
1-2 MB for FAT16. Worst case are 7 MB for FAT16, 416 MB for FAT32 of
4M clusters. Maybe more if LFN are present or 2 pass repair is active.

Because dosfsck cannot know whether your DPMI uses a swap file on the
checked drive, all swapping of virtual memory is now disabled. Kernel
checks for FAT32 support are better now, so you things work better on
MS DOS (no FAT32 drives, only FAT32 diskimages there) now.

The full list of changes is:

 - dosfsck: update version number, avoid duplicate -v version string print
 - dosfsck.c: set DJGPP CRT flag to lock memory - VM swapping would be bad
 - lowfat32.c: only use FAT32 int 21.73 API after checking if DOS knows it
 - lowfat32.c: _dos_getdiskfree return was treated wrong way round, fixed!
 - various: alloc() now keeps stats, use myfree to keep free stats, stats
   of heap memory usage are printed in verbose mode and on error
 - fat.c, check.c: to save memory, do not store 4 reserved FAT32 bits in
   a separate int. Instead, mask them for each access. Get RAM use CPU.

Suggested extra change:

If you think that dosfsck -v does not give enough progress info,
I could add printing of a "." for each 1 MB of FAT read and/or
each 1000 checked files/directories. Would that be a good setting?

If yes, I would just re-upload the file with that change, so take
care to update your copy if you already mirror this version ;-).

Thanks for testing! :-)

Cheers, Eric



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to