[comp.sys.apple] caution on extending ProDOS volume dirs

AWCTTYPA@UIAMVS.BITNET ("David A. Lyons") (02/17/89)

>Date:         Thu, 16 Feb 89 04:03:16 GMT
>Subject:      Re: Usabale blocks on ProDOS data disk

>By carefully reading _Beneath Apple DOS_ or _Beneath Apple ProDOS_ as
>appropriate, you find that each directory can be extended or
>shortened by sector-editing the pointers to "next sector/block" to
>point to whatever sector or block you want. The only problems that I
>have had is that 3rd party disk programs (like Copy II Plus) don't
>fully interpret what is written on the disk.

Also note that while ProDOS 8 and ProDOS 16 _will_ let you access
the files beyond the 51st in an extended volume directory, those
files will _not_ be visible to programs reading the directory (to
display a catalog listing, for example), because the operating
system returns "end of file encountered" after the first 2048 bytes
(4 blocks) of the directory, even if there are more blocks.  GET_EOF
always returns 2048 on a volume directory under P8 and P16, and READ
refuses to read past that point.

>Brian Willoughby        microsoft!brianw

--David A. Lyons              bitnet: awcttypa@uiamvs
  DAL Systems                 CompuServe:  72177,3233
  P.O. Box 287                GEnie mail:    D.LYONS2
  North Liberty, IA 52317     AppleLinkPE: Dave Lyons