RaspberryPi & !Boot.Loader
Martin Avison (27) 1494 posts |
I have noticed that after booting and in the desktop, the file !Boot.Loader is Open for R/W. Has anyone else noticed this, or know of any cause? This causes an error when I run a Copy !Boot. for a simple backup. |
Rick Murray (539) 13840 posts |
As far as I’ve noticed, it’s always been that way (like, back to 5.23 and probably earlier). Are you sure you want to copy that file? Because of its specialness, there’s no sensible way of restoring it from a backup. |
Steffen Huber (91) 1953 posts |
Copying the whole “Loader” file is surely the easiest way to backup its whole content? That you cannot restore the file itself (easily) is not the biggest problem when restoring e.g. a Pi. Anyway, I think I remember that this is typical DOSFS (and many other imagefses) behaviour, an auto-close of the image file needs to be implemented by hand (I think David Pilling did that for SparkFS). Closing the file “by hand” is dangerous because – again IIRC – the ImageFilingSysem is free to do delayed-write-back caching if it likes. |
Martin Avison (27) 1494 posts |
Yes – (a) it is a DOSdisc, so can be read … though restoring files would need a Pi-formatted SD card. It was something I had not noticed before, and it seems unneccesary to me. |