LG> Tested Imre Leber's dosfsck(8) 2.10 port for DOS (at LG> http://users.pandora.be/imre/FreeDOS/) and it works for me on most LG> disks, except on diskettes (hangs up until the diskette is LG> removed, then says "Read 32 bytes at nnnnn:No Error") and on large LG> FAT32 drives (says "Seek to nnnnnnnnnnn:No Error"). I don't know LG> why it hangs on diskettes but perhaps the reason why it doesn't LG> work for large FAT32 drives is a "long long" (64-bit integer) type LG> issue in real DOS?!
what are 'large' disks ? (for all our 286 fans, 10 MB is probably large ;) 'real Dos' doesn't have a method to seek to some byte position, just sector I/O is supported. And 2^31 sectors exceeds current disk sizes. Didn't look at the source or makefile, but: does the compiler support 'long long' at all, or does some macro map it to 'long' ? LG> In any case the "No Error" message probably LG> means that errno is zero on some error. Perhaps errno isn't set LG> correctly then? errno is a C compiler thing. but our return codes (or int21/59) aren't necessarily correct either. tom ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel
