Mono corrupted D files

AsmMan via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 5 18:48:51 PDT 2014


On Thursday, 4 September 2014 at 03:04:12 UTC, Etienne Cimon
wrote:
> On 2014-09-03 17:13, AsmMan wrote:
>> Something very strange happened 2/3 days ago. Two of my D 
>> files of the
>> project I was working on got all values replaced by 0 (that's 
>> what I
>> seen rather D code if I open the file with a hex debugger). 
>> The file
>> size of both files keep intact although. And no, I have no 
>> backup of
>> these files. I had a old copy of it on a external hard drive 
>> but I
>> needed to format it to use in something else and didn't put my 
>> files
>> before it...
>
> http://www.dtidata.com/resourcecenter/2007/05/01/file-recovery-sector-editor-find-lost-data/
>
> If you remember an exact string from the document and some 
> bytes are still floating around somewhere on the drive, this 
> method will find it

I was so happy when my search got a result... but these results
are very small blocks of an old version of the files I lost. One
of the files had around 800 lines I can find say, 150/180 lines
using it. Now I know how this called:

http://en.wikipedia.org/wiki/Zero_byte_file


More information about the Digitalmars-d mailing list