TIP: Click on subject to list as thread! ANSI
echo: cis.os9.6809.coco
to: James Jones 76257,562
from: Pete Lyall 76703,4230
date: 1991-09-28 12:05:24
subject: #12415-File Structure

#: 12436 S10/OS9/6809 (CoCo)
    28-Sep-91  12:05:24
Sb: #12415-File Structure
Fm: Pete Lyall 76703,4230
To: James Jones 76257,562

JJ/Bob -

The 'sectors in file system but not in allocation map' is okay on a floppy, but
not on a hard disk. (On a floppy it typically refers to the sectors marked as
'used' that are associated with the boot track information [TRK 34] which don't
appear in a directory or FD sector anywhere). On a hard disk

(assuming you're booting from floppy) you shouldn't be seeing this. Also, the
business about have sectors allocated more than once is surely the road to
ruin. I refer to it as disk cancer.

Two fixes (actually, one fix, one hack):

  Fix: backup the disk, reformat, and then repopulate it.

  Hack: Find out which files are associated with the sectors in question.
        I believe Kreider wrote a tool called 'Hooz' that did this. Then
        Make copies of the files into new files (one of them is bound
        to be trashed, as they have intersecting disk real estate). Then
        mark both files with unwritable attributes so they can't be deleted.
        If either file IS deleted, it'll return its sectors to the free
        pool and cause the cancer to propagate.

One last thought.... if you are making using of the LINK BYTE in alllowing
multiple filenames for the same file (ala the unix-ish 'ln' command), the
multiple sector allocation is 'normal'.

Pete

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.