Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Read Only Mode #993

Open
dreimer1986 opened this issue Jan 28, 2025 · 2 comments
Open

Feature Request: Read Only Mode #993

dreimer1986 opened this issue Jan 28, 2025 · 2 comments

Comments

@dreimer1986
Copy link

dreimer1986 commented Jan 28, 2025

Hi,
I wonder about something for a while now... Why don't you allow to set the Linux modifications to run on a secondary partition which is read only?

A few days ago something strange happened and it's not the first time that similar conditions changed my evening todo list.^^ We had a small power fluctuation and two of my three cams were dead because it took out the filesystem together with the power loss. I fixed the filesystem, reinstalled the mod, the cams came back, but the rtsp server on one of them did not. All was fine on first look except the cam streams were unavailable. The SD filesystem was fine, but still I was completely unable to get the streams online again. (Yes I applied it's config backup, still no dice. Solution was cloning the SD of the working cam and after verifying it works, reapply the correct config. O_o)

How about using a swapfs partition for the swap file and a read only partition for the Linux modifications? Of course we still need one or more r/w ones for the screenshot archiving and some other things, like the config files, but these filesystems being broken would not cause the cams to die on power loss so easily. Especially because the configs are not under write access all the time and could be remounted for changes and saving and then set back to read only.

What do you think?

@roleoroleo
Copy link
Owner

I've thought about it several times but I'm afraid it will become too complicated for not expert users.
The sd is now formatted with fat32 and everyone is more or less able to do it. And you can format it from the app.
With a complex partitioning the problems increase.

@dreimer1986
Copy link
Author

Yeah, the only way this could be sort of feasable for beginners is if the install procedure can format it for you. Anything else is close to impossible for ppl who never heard of Linux or WSL...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants