On 12/04/2023 21:24, Chris Newman wrote:
> Doing a check with DiscKnight 1.55 threw up some nasties thus....
>
>
> * 6 objects in map not referenced by directories
[Snip]
> I kept re-booting and re-running DiscKnight.
>
> At one point it said the files would be put in a Lost+Found directory in
> the hard disc root but no such directory appeared.
Before running DiscKnight make sure you have no other applications
running which may write to the disc, otherwise DiscKnight's fixes can be
overwritten. Run a repair with DiscKnight and immediately reboot.
The 6 objects will be placed in $.Lost+Found on the disc, they will be
untyped so you need to load them in to an editor to see if there is any
recognisable data in them. Likely they will just be junk.
> The only errors now found were shown at the end of the file it generated
> in the latest run which appear to be some sort of orphaned files thus
>
> ...................................................................................................
>
> * 4838 objects in map not referenced by directories
[Snip]
> etc, etc There are 16 of these in total.
If it started with 6 and there are now 4838, further corruption has
occurred during the rebooting.
> The Pi seems to be working perfectly. Any apps I use function OK. I can
> save and load files without any apparent problem.
>
> Is my disc duff or not?
>
> DiscKnight doesn't now report any other faults. Nothing about bad disc.
It's likely you've had a crash or power failure which has caused some
issues. While the majority of the disc may seem ok, at some point you
could come across a file or directory which will cause a hang unless it
is repaired properly.
> How can I get rid of these objects?
>
> Any enlightenment gratefully received.
DiscKnight will repair all these if you follow the procedure above, but
given the number of faults has increased, I would not trust that SD card
any longer. Get a new one and set up RISC OS on it, then copy all the
files off the old one once it's repaired. Check your backups to ensure
there are no missing files.
If you still have problems, please contact me at the support email
address given in software.
---druck