[comp.sys.apple] Recovering Lost Blocks

TMPLee@DOCKMASTER.arpa (08/28/87)

Does anyone know of a ProDos utility that can reclaim "lost" blocks on a
disk?  I've had a few occasions where the system has crashed while in
the middle of, say, capturing a down-loaded (e.g., via kermit) file --
the file has been partially written so space for it was allocated but it
never got closed so the directory never got updated and the space is
lost.

tmpl@Dockmaster.arpa

CC004019@BROWNVM.BITNET (Christopher Chung) (08/29/87)

>Does anyone know of a ProDos utility that can reclaim "lost" blocks on a
>disk?  I've had a few occasions where the system has crashed while in
>the middle of, say, capturing a down-loaded (e.g., via kermit) file --
>the file has been partially written so space for it was allocated but it
>never got closed so the directory never got updated and the space is
>lost.
>
>tmpl@Dockmaster.arpa
There are two programs that will do the trick.  You can use Copy II Plus
and UNDELETE the file or if that doesn't work you can use Bag of Tricks to scan
for lost files and recover it that way.

Chris

mkao@pnet01.cts.COM.UUCP (08/30/87)

I don't think UNDELETING will do any good, because the reason the blocks were
"lost" in the first place is that some accident caused the computer NOT to
finish updating the directory; thus, chances are that you won't even have a
filename{.

I know of no utilities that will do this, but you can always do it manually.
Using Copy II Plus (version 6.0 or greater), you can tell which blocks are
allocated to what. Pay attention to which blocks are marked as used, but NOT
allocated to a particular file. Then, you can change the directory manually.
If you don't have the know-how to perform the second step, consult _Beneath
Apple ProDOS_.

To insure my reception of any replies, please respond via e-mail. Thanks!

                                                                  -- Mike Kao

UUCP: {cbosgd, hplabs!hp-sdd, sdcsvax, nosc}!crash!pnet01!mkao
ARPA: crash!pnet01!mkao@nosc.mil
INET: mkao@pnet01.CTS.COM