[comp.sys.amiga] DiskDoctor Malpractice

steve@wlbreng1.UUCP (Steve Childress) (03/10/87)

FOR COMMODORE-AMIGA SYSTEM SOFTWARE TYPES:

While experimenting with a new disk controller card for a 40MB Atasi
drive on my A1000, I somehow oops'ed the disk. The validator said
"not a DOS disk". Oh well, there were only 1300 files on that partition
(DH0:).

Of course, I ran DISKDOCTOR (ta-da!) It crunched for 45minutes, reporting
that three keys were unreadable (what's a "key"? a hashcoded filename?).
It then advised that I should "... copy files to a new disk and reformat
the one just analyzed...".

I then booted DOS. When I mounted DH0: and DIR'd it, DOS said "not a DOS
disk". This is where I came in.

Recalling historical problems in this area, I then wrote a C program to
display the contents of the first sector in that partition which happened
to be track 0, sector 0. It was full of zeros. It should have been full
of "DOS<n>", a four-byte sequence repeated 512/4 times with <n> varying.

So I wrote a program to write DOS<null> into sector 0. 

TA-DA-DA-DA. This fixed the problem.

So, Sir DiskDoctor, why didn't you fix this I.D. Sector while you are
in there doing surgery? You did so well at the other repairs.........


	Regards,
		Steve Childress
		(818) 706-5247 (days)
		{trwrb, scgvaxd, ihnp4, voder, jplgodo} !wlbr!wlbreng1!steve