C-ltd software
14-Apr-88 01:27:23
Sb: #119129-C-ltd software
Fm: Don Curtis/SYSOP 76703,4321
To: Dave Weinbach 72576,16
Dave,
I used Sectorama (sec.arc in Dl 9) as the editor. I used the
AmigaDOS reference manual (the separate developer's version, but the same as
the Bantam published version) as my 'guide'.
Since I knew which directory I was messing with…I used the sector
editor to jump to that directory header block. I then hashed both filenames,
one a directory and one a file that I was trying to rename. The hash offsets
were different, but the longword value at the hash offsets was the same. I
jumped to that sector, found it was a directory header. Jumped back to the
parent and 0'ed the longword at the hash offset for the filename…thus
leaving the longword at the hash offset for the directory alone.
The disk then validated.
I could have looked for the header block for the file, but it wasn't
worth it. I had other copies. If I had looked for it, and found it…I
would have merely taken it's header's sector number and inserted it in the
longword I had previously 0'ed.
Don