If DOSFSCK can do the job similar or better than SCANDISK, then we don't need to insist on the name. For me, I think using the name DOSFSCK is better because it's NOT a direct replacement of SCANDISK.
problem is DOSFSCK cannot do this yet. it is broken for at least FAT32.
It's good that some nice guys here want to make a GUI for it, but the GUI may have a better name than SCANDISK.
basically this means 3 programs:
[1]*CHKDSK [2]*CHKDSK + GUI, call it SCANDISK (or whatever you prefer) [3]*DOSFSCK
[1] requires 8086 but is limited to FAT16 [2] requires 8086, limited to FAT16, but can use external DOSFSCHK as engine if processor is 386+ simply a checkbox "use advanced checking engine if present" [3] requires 386 / DPMI
for [2], I prefer it to not being only a GUI (and thus always requiring an external engine, be it CHKDSK or DOSFSCK) but include the CHKDSK engine by default.
[3] is a standalone program, but can be called by SCANDISK to act as an engine for FAT32 checking.
since [3] is DPMI (Protected Mode) it's not possible to combine both engines in a executable that still needs to run on 8086.
that still keeps us with a problem: FAT32 drive on sub-386 systems. and another one: minimum amount of RAM for 386 is 1MB ? would that be enough for DOSFSCK?
let's say at leat 2.5MB free RAM is required (typically on systems with at least 4MB total RAM)
{1}if (cpu<386) OR (available extended_RAM< 2.5MB) AND Partition=FAT32 ->
"sorry, we cannot scan a FAT32 partition on a system with a sub-386 processor or less than 2.5MB free RAM"
{2}if (cpu<386) OR (available extended_RAM< 2.5MB) AND Partition=FAT16 -> "Sorry, DOSFSCK engine only available on systems 386+ processor and more than 2.5MB free" "using CHKDSK engine instead"
{3}if (cpu>386) AND (available extended_RAM> 2.5MB) AND Partition=FAT32 -> "the DOSFSCK engine is required to scan this partition"
but when DOSFSCK not found: "cannot continue checking FAT32 partition, required engine files DOSFSCK and CWSDPMI not found"
{4}if (cpu>386) AND (available extended_RAM> 2.5MB) AND Partition=FAT16 -> "Using your preferred scanning engine: %scan_engine%
but when DOSFSCK not found: "required external engine files DOSFSCK and CWSDPMI not found" "using internal CHKDSK engine instead"
Bernd
------------------------------------------------------- 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