Broken directory
Yannis Irvine (1965) 9 posts |
I cannot get into a directory – when I double-click it, I get: |
George T. Greenfield (154) 748 posts |
Discknight should do the job for you, it’s a disk checker/repairer which will read & fix Filecore-formatted disks (and others), and works under RPCEmu. You can get it here: http://www.armclub.org.uk/products/discknight/ |
Yannis Irvine (1965) 9 posts |
£10 though… Not sure the data in that directory is worth that much. Are there any free tools? |
Dave Higton (1515) 3526 posts |
There is a free version of DiscKnight, which will at least tell you whether it can understand the problem. The data in that directory may not be worth £10, but my concern is whether deleting the directory will also remove the fault(s). Anyone else have an opinion? DiscKnight has been the only tool maintained for a few years now. There may be a free tool for earlier-format discs; I don’t know. I suspect most people forgot how to use the free tool some years ago. |
Rick Murray (539) 13840 posts |
Excuse stupidity on my part – RPCEmu? Isn’t that HostFS? As for the Broken directory, it may be a simple hiccup in writing the directory (the check values don’t match) or it could be symptomatic of bigger problems. I don’t think you can just delete the damaged directory – RISC OS would need to delete the files in the directory and to do that…. |
George T. Greenfield (154) 748 posts |
The OP’s error message included “Error when reading ADFS::HardDisc4.$.Projects.rofl” which indicates his installation of RPCEmu is using a filecore-formatted disk as well as HostFS, and that the problem is there rather than the latter. Certainly a broken directory can indicate more widespread disk problems: does pressing F12 and typing *checkmap |
Yannis Irvine (1965) 9 posts |
DiscKnight check-only free version reports only the directory I am interested as problematic: Checking directory structure ................................................................................................. * Directory $.Projects.rofl checksum corrupt (is &DB, should be &23) * Directory $.Projects.rofl master sequence number mismatch (start &24, end &23) ...................................................... --------------------------------------------- Disc is bad, 2 faults found Run a repair (-f and -u flags) to fix --------------------------------------------- |
John Williams (567) 768 posts |
I find broken directories a pain – they happen (I’ve had a few!), like other things which happen spontaneously! You can’t delete them, but you can usually rename them to something like zbrokendirectory (z to put them out of the way at the bottom of the filer window) and replace them, perhaps from your back-up? When you remake your media, you can omit them from the new version. I paid the full UKP10 for DiscKnight, well worth it, but have dealt with broken directories as above. Good luck, John |
Yannis Irvine (1965) 9 posts |
Well, what I did in the end is this: |
Rick Murray (539) 13840 posts |
If you’re comfortable with a sector viewer, you might be able to repair the Broken Directory. I know that the version you have is read-only. It will allow you to read the directory structure and, if you spot something wrong, to create a little program to read-fix-write the relevant sector (back up your disc image first, just in case!). Sergio explained a long time ago:
[ http://wss.co.uk/pinknoise/Docs/Arc/Filecore/DiscMap.html ] So, if you’re up to it and don’t want to buy DiskKnight, find the directory structure on disc, crack open the PRMs (if you have them, PDF versions otherwise – volume 2) and compare what is there with what the documentation thinks is supposed to be there. Check the checksum. Sergio continues:
|
Chris Evans (457) 1614 posts |
AIUI Filecore will normally save files contiguously, non contiguous files can occur if a file is extended and will occur if no contiguous unused area is available on saving. Filecore seems to manage to have contiguous files more often other file systems. I suspect this be due to RISC OS and its programs often only accessing programs and files to load and save i.e. not update this bit and that bit. |