[comp.sys.apple2] Fixing my directories

Tabakal@UB.CC.UMICH.EDU (12/12/90)

Well, with some experimentation and a map of where my directories
are on the disk (thanx, Grant), I'm going to attempt to put some
of my subdirectories back together again.
 
Can someone point out what the 1st directory entry looks like?
I know this is Beneath Apple ProDOS stuff, but I'm at school
and I don't want to buy another copy...
 
Thus far, I've figured out...
 
 x0 x1 y0 y1 z0 n0 n1 n2 n3 n4 n5 n6 n7 n8 n9 na nb nc nd ne $76
 00 00 00 00 00 00 00 etc...
 
 where x0 and x1 are the low and high block bytes of the previous dir.
 where y0 and y1 are the low and high block bytes of the next     dir.
 where n0 through ne are the 15 chars of the ProDOS name followed by
   Hex $76 and 7 bytes of 00.
 
 Next comes some other data which I assume points to the block
 where the data is.  Then, the second entry.
 
 But, what is n0, the 5th ProDOS byte?  And, is the second entry
 like the first (after the 5th byte)?  If not, how does it differ?
 
As to my hard drive, it appears as if the directory was zero'ed in
part.  Once I get it back to normal, I'll back it all up and
reformat the whole thing.
 
-----------------------------------------------------------------------------
 
    Todd A. Bakal                                Coming soon:
    U of M Apple User's Group                       a new, improved
    Ann Arbor, Michigan                          tested, UN*X archive 
 
    Internet: Tabakal@ub.cc.umich.edu            FTP: ummts.cc.umich.edu
    BITnet:   UserTBKL@UMICHUB                        35.1.1.43
    UUCP: ...!uunet!ub.cc.umich.edu!tabakal           CD PC5:

cyliao@hardy.u.washington.edu (Chun-Yao Liao) (12/23/90)

	Since several people had problem fixing disks, I will post a
	file recovering program to comp.binaries.apple2.

	this program look for index blocks of ProDOS, then use the index
	blocks' info to rearrange all the blocks of a file and write them
	to another disk or good media.  This thing works best with text
	or awp kind of files since all files recovered by this program does
	not has anything about all those infos stored on catalog blocks...

	Also, my last attempt to upload a "surprise" and "must download this"
	thing to comp.binaries,apple2 failed... so hopefully I will get
	things throu this time.



cyliao@hardy.u.washington.edu   o Q. Who am I?
				o A. A NeXTed person with "small" HD and OD
     I am "homeless"!?		o    An Apple // guy
	(No Kidding)		o    A plane pilot (by hope)