Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!mailrus!cornell!batcomputer!wilker From: wilker@batcomputer.tn.cornell.edu (Clarence W. Wilkerson Jr.) Newsgroups: comp.os.cpm Subject: Re: Recovering Erased CP/M Files Summary: No analogue of FAT table on CP/M disks Message-ID: <7035@batcomputer.tn.cornell.edu> Date: 20 Dec 88 20:18:41 GMT References: <6675@pucc.Princeton.EDU> <17700007@ugun21> Organization: Theory Center, Cornell U., Ithaca NY Lines: 17 If I understand your question correctly, you want to know if there is any part of the directory structure or reserved area of the disk that records which blocks are in use. There is no explicit list as in MSDOS or TRSDOS. However, the BDOS maintains a bitmap of allocation blocks that it obtains from the directory entries. One side effect is that under CP/M one can have files that are linked for a single allocation block, and different for later blocks. If you erase one of these linked files, you have the risk of having the BDOS bitmap showing the allocation blocks as being free, when they really are not. I don't know of cases where the blocks can be marked as used when they should be free. I assume that the bitmap is updated or recreated after a control-C and relogging the disk, but I'm not sure. When I've had disks that had linked files ( easy to do after unerasing ) I've played it safe and rebooted after erasing what I did not want.