UNDELETE + COUNT: Improved bug-fixing release!

Eric Auer <[email protected]> Sat, 9 Nov 2002 16:37:28 +0100 (MET)
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
Hi, I have fixed a bug in UNDELETE that nobody noticed for a long time:
It was limited to 1.44 MB size images! (The Linux version always uses
test.img - which may be a symlink to a device - as the current "drive"
and source of data) And no, it does not use LBAcache code ;-).

Now both the Linux and the DOS version derive the drive geometry
completely from the boot sector.

As a bonus, FAT32 is now detected, but not supported yet (all interesting
parts of the FAT32 geometry are displayed, UNDELETE then exits, as no other
FAT32 treatment is yet implemented).

While working on UNDELETE, I have noticed a possible signedness bug and
removed it. It is likely that this bug was quite active in spoiling your
abilities to make use of UNDELETE.

I have also removed a possible stack corruption bug when displaying the
help screen of COUNT (or COUNT2 or COUNT3: they differ in how far up the
process chain they modify the count environment variable).

Both UNDELETE and COUNT (as single zip or as part of undelete) are now
online in updated versions at:

http://www.coli.uni-sb.de/~eric/stuff/soft/



Have fun and efficient data recueing and metadata backuping events with
the new bugfixed version.

Cheers, Eric.

PS: As a bonus, I have stolen an idea of Andreas Foerster. My version
is called zecho2.com (69 bytes!). It works like echo, but a ~ will be
interpreted as "switch to highlight mode" and a @ will be interpreted
as "turn highlight mode off". I personally prefer using ANSI escapes
and my eecho (available as .sys and .com!), but what the heck... Get my
version at the above mentioned directory, subdirectory specials/ ...
Thanks to Andreas for providing the initial version (which was fine apart
from being 77 bytes huge and failing to display the 1st character of the
argument ;-)).