> > Hi, dosdosfsck-2.8-fat32 does work for FAT32 for me.
> IIRC it has bugs in the fat check/recover logic. Something about getting 
> into a loop and something else about destrying Long Names.

My 2.8-fat32 port only contains disk READ functions but should be
compatible to non-FAT32 kernels. Yes, the 2.8 dosfstools had bugs like
truncating directories when removing broken entries. But as my port
cannot write anyway...

> IIRC the problem is ONLY about one function to read/write sector beyond 
> 2Gb. Eric, Do you have these functions that worked for 2.8?

I think this is not about the lowlevel functions. They have the problem
that as far as I remember Imre only uses FAT32 functions even for FAT1x
drives (need FAT32 kernel). Combining the lowlevel functions of me and
Imre - if anybody can find the time to do so - would be best.
The 2 GB or maybe 4 GB limit is because something must accidentally
use 32bit ints instead of long long int (64bit ints, should be available
in DJGPP which is used to compile DOSFSCK) somewhere. DOSFSCK processes
the disk as a byte array, not a sector array. Only the lowlevel disk I/O
functions use sector numbers internally.

With fixed and FAT16-kernel compatible disk I/O functions, DOSFSCK 2.10
will be definitely better than my DOSFSCK 2.8-fat32 port. But who has
DJGPP and spare time to fix 2.10?

Eric.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to