Free fat32 undelete

View: New views
11 Messages — Rating Filter:   Alert me  

Free fat32 undelete

by iw2evk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi at all,

someone know a FREE  undelete for fat32 ?
I've searching in the net ,but the shareware programs don't working (no restroe delete files..only demos).
The freedos undelete work only on fat16 and waiting for a new developper..

Roberto iw2evk

Re: Free fat32 undelete

by Mateusz Viste-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 07 February 2008, iw2evk wrote:
> someone know a FREE  undelete for fat32 ?

Hi,

I used UNERASE from the DOS Norton Utilities package once. Have no idea what's
its legal status now.

Don't know what's it worth, but maybe it would be a good idea to try the
DR-DOS Undelete?
ftp://ftp.planetmirror.com/pub/drdos/BETA/
I quickly launched it on my system to see what it looks like, but the only
thing I got is a "Not enough memory" error message. Can't say if it's some
incompatibility with FreeDOS, but I DO have enough memory (615 kb of free low
mem).

Mateusz Viste

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Free fat32 undelete

by iw2evk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've found norton 4 on adbandonedware site , but don't support fat32.
Dr dos undelete don't work (no memory massage and hangup!)
I supposte the best solution is the upgrade of freedos undelete with fat32 support.
Someone want to try?

Roberto



Mateusz Viste-2 wrote:
On Thursday 07 February 2008, iw2evk wrote:
> someone know a FREE  undelete for fat32 ?

Hi,

I used UNERASE from the DOS Norton Utilities package once. Have no idea what's
its legal status now.

Don't know what's it worth, but maybe it would be a good idea to try the
DR-DOS Undelete?
ftp://ftp.planetmirror.com/pub/drdos/BETA/
I quickly launched it on my system to see what it looks like, but the only
thing I got is a "Not enough memory" error message. Can't say if it's some
incompatibility with FreeDOS, but I DO have enough memory (615 kb of free low
mem).

Mateusz Viste

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Free fat32 undelete

by AMIGrAve :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I've found norton 4 on adbandonedware site , but don't support fat32.
> Dr dos undelete don't work (no memory massage and hangup!)
> I supposte the best solution is the upgrade of freedos undelete with fat32
> support.
> Someone want to try?



--
Fabien Meghazi

Website: http://www.amigrave.com
Email: agr@...
IM: amigrave@...

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Free fat32 undelete

by AMIGrAve :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I've found norton 4 on adbandonedware site , but don't support fat32.
> Dr dos undelete don't work (no memory massage and hangup!)
> I supposte the best solution is the upgrade of freedos undelete with fat32
> support.
> Someone want to try?

Do you think updating fatio.c is the main update to do or is it more complex ?

--
Fabien Meghazi

Website: http://www.amigrave.com
Email: agr@...
IM: amigrave@...

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Free fat32 undelete

by Eric Auer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi everybody,

Roberto wrote:
> > Dr dos undelete don't work (no memory massage and hangup!)
> > I suppose the best solution is the upgrade of freedos undelete
> > with fat32 support. Someone want to try?

Fabien wrote:
> Do you think updating fatio.c is the main update to do or is
> it more complex ?

I would be happy to HELP whoever wants to add FAT32 to freedos
undelete - I just do not want to WRITE everything myself...



Here is some short and possibly incomplete overview of what you
would have to change to add FAT32 support:

- make all cluster variables 32bit Dword instead of 16bit Word:
  This affects at least: clustertosector nextcluster ...dirents
  dirfind... writefat readfat main advancedmain and Follow. Note
  that struct dirent stores 32bit cluster numbers as 16+16 bits.

- advancedmain "syssave root" either has to refuse to work on
  fat32 or it has to turn itself into "dirsave for the root dir"
  if fat32, as "syssave root" saves a part before the data area.
  I guess "turn itself into dirsave..." would be better.

- advancedmain "dirsave" has to use the fat32 root dir cluster
  instead of "0" if fat32. Alternatively, you could modify the
  dirfind1 function to turn 0 into the fat32 root dir cluster
  if the drive is fat32.

- dirfind has to pass the fat32 root dir cluster to dirfind1 if
  the drive is fat32 (instead of the fat12/fat16 special "0").
  Alternatively, dirfind1 could turn the 0 into the root dir
  cluster itself if the drive is fat32, see above.

- it would be more elegant if showdriveinfo / getdrive / the
  dpb struct would use official fat32 format for fat32 drives,
  but I recommend to delay that update until the rest works...

- obviously, fatio "readfat" and "writefat" have to be extended
  to use 32bit values if the drive is fat32. Note that they must
  only use the lower 28 bits: When reading, use & ... to ignore
  the upper 4 bits. When writing, either set the upper 4 bits to
  0 or preserve their previous value from the FAT on disk...

- the diskio "readsector" and "writesector" access is okay as it
  is for Linux / diskimages / freedos, but officially, you have
  to use some int 21 fat32 interface instead of absread/abswrite.
  For inspiration, you can read the source code of FORMAT ;-)


I hope this helps you to get started :-) As said, the changes
are not overly complicated. Just add 32bit FAT read/write and
support for the FAT32 root directory cluster number and use
32bit values for cluster variables. Then you should already
be able to play with UNDELETE on fat32 formatted diskimages.
Next step would be proper fat32 sector read/write, official
fat32 dpb data structure use, and mixed small stuff... :-).

Thanks for working on UNDELETE :-)

Eric



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Free fat32 undelete

by iw2evk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OR make aporting of DOS of this open source:

mundelete is a program to undelete files from MsDos/Windows disks. It supports FAT12/FAT16/FAT32 and vfat extensions. It works under Unix systems.

http://sourceforge.net/projects/mundelete

http://downloads.sourceforge.net/mundelete/mundelete.tar.gz?modtime=1025654400&big_mirror=0




Fabien Meghazi-2 wrote:
> I've found norton 4 on adbandonedware site , but don't support fat32.
> Dr dos undelete don't work (no memory massage and hangup!)
> I supposte the best solution is the upgrade of freedos undelete with fat32
> support.
> Someone want to try?



--
Fabien Meghazi

Website: http://www.amigrave.com
Email: agr@amigrave.com
IM: amigrave@gmail.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Free fat32 undelete

by iw2evk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OR make aporting of DOS of this open source:

mundelete is a program to undelete files from MsDos/Windows disks. It supports FAT12/FAT16/FAT32 and vfat extensions. It works under Unix systems.

http://sourceforge.net/projects/mundelete

http://downloads.sourceforge.net/mundelete/mundelete.tar.gz?modtime=1025654400&big_mirror=0




Fabien Meghazi-2 wrote:
> I've found norton 4 on adbandonedware site , but don't support fat32.
> Dr dos undelete don't work (no memory massage and hangup!)
> I supposte the best solution is the upgrade of freedos undelete with fat32
> support.
> Someone want to try?



--
Fabien Meghazi

Website: http://www.amigrave.com
Email: agr@amigrave.com
IM: amigrave@gmail.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Free fat32 undelete

by Eric Auer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

> OR make a porting of DOS of this open source:
> mundelete is a program to undelete files from MsDos/Windows disks. It
> supports FAT12/FAT16/FAT32 and vfat extensions. It works under Unix systems.
> http://sourceforge.net/projects/mundelete
> http://downloads.sourceforge.net/mundelete/mundelete.tar.gz?modtime=1025654400&big_mirror=0

If you look at the homepage, you get only
> mundelete.tar.gz 02-Jul-2002 11:56 23k
and when you look at the forums and trackers,
you get only very few, mostly old, messages...

I suggest that you first try if this mundelete
works at all on Linux or Windows before you
start to port it ;-).

Eric

PS: Why did you send your message twice?



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Free fat32 undelete

by AMIGrAve :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Fabien wrote:
> > Do you think updating fatio.c is the main update to do or is
> > it more complex ?
>
> I would be happy to HELP whoever wants to add FAT32 to freedos
> undelete - I just do not want to WRITE everything myself...

I tried to hack around but my little experience in C is too far away,
I won't be able to do something here.
Sorry.

--
Fabien Meghazi

Website: http://www.amigrave.com
Email: agr@...
IM: amigrave@...

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Announce: fat32 undelete, need guinea pigs, contributions

by Eric Auer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi again,

after all the discussion about people being interested
in having a fat32 undelete but nobody who would actually
write one, I finally added the changes which outlined in
an earlier mail myself. The result is available online:

www.coli.uni-saarland.de/~eric/stuff/soft/undelete32beta.zip

This version contains two KNOWN BUGS: 1. It breaks the
FAT32 "used space count" information (dosfsck can fix
this). Workaround would be to trigger "set used space
count to unknown on exit if any FAT writes were done
during undelete" or even better "properly update the
count", but you will also have to somehow tell DOS
that the disk content is right and DOS is wrong (it
also keeps the count in RAM) / that DOS has to re-read
that count. If you redirect UNDELETE output to a file
on the same disk while doing FAT-modifying stuff with
UNDELETE, you are asking for even more trouble...
I assume that the wrong counts cause no big troubles.

Second KNOWN BUG is that this UNDELETE does not do
anything to claim raw disk access. I included some
(name *.?- ...) snippets from FORMAT which should be
added to UNDELETE to fix that. The current UNDELETE
does work in FreeDOS because FreeDOS is singletasking
and does not care too much about lowlevel messing but
I guess it does not work in Windows... Disk access is
also quite ugly, I just try < 32 MB, > 32 MB and FAT32
styles in that order until one access method works.



Note that UNDELETE can also work with diskimages, but
this was only active in the Linux version. I suggest
to introduce a new fake drive letter like "@:" which
is treated as "use test.img" even in the DOS version.

As you can see, there is much potential for improvement
and I hope that at least some of the improvement can be
contributed by others. But this version of UNDELETE is
already able to undelete files on FAT12, FAT16 and FAT32
so it should be good enough for testing :-). Of course I
have no idea whether it would screw up all YOUR files,
so you should only try it if you have backups of your
data! Thanks for testing :-).



As opposed to a bit of repackaging in 1/2004, this is the
first time for me to touch the UNDELETE sources again since
pre 11/2003 when Rob contributed a version which implemented
the ability to undelete all files in 1 directory in one go
and the ability to undelete a file "in place"...  Previous
UNDELETE versions only copied the deleted files to another
disk, without changing the source disk contents (safer).

Unfortunately, I had to find out that the 11/2003 version
both had a broken Turbo C 2 Makefile and broken Linux gcc
portability. I fixed the former now, but I would be really
happy if somebody could look into the differences between
11/2003 and earlier versions and tell me how to repair the
Linux version of UNDELETE. Thanks in advance! :-).



Note that there is some UNDELETE howto available as a
separate file in the same download directory. I would
be happy if somebody could take my zip and the howto
and clean up a little bit to make a PROPER zip in the
official FreeDOS directory structure. Any volunteers?



Yet another "call for helpers": Could somebody rewrite
the batch files which come with UNDELETE so that I can
remove the crappy COUNT tool from the package? Of course
I could keep COUNT as a separate package if there is
interest. My suggestion would be to use a nested loop of
2x ADD to count from 0000 to 25599 using errorlevels in
two layers. Of course this will only work with FreeCOM
then but that is okay for me :-p.

www.coli.uni-saarland.de/~eric/stuff/soft/specials/factorial-calc387-add.zip

Thanks :-) Eric

> I would be happy to HELP whoever wants to add FAT32 to freedos
> undelete - I just do not want to WRITE everything myself...
> Here is some short and possibly incomplete overview of what you
> would have to change to add FAT32 support: (...)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user