-
Notifications
You must be signed in to change notification settings - Fork 38
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
Raspberry Pi in read-only mode #54
Comments
I'm in favor of read-only and making the standard SD install method an "appliance" for durability reasons. Option 1 to me makes the most sense. |
makes sense. Now that the Keiser bike is gonna be supported shortly, I expect a large# of people getting interested as the alternative is a bluetooth connector from Keiser which they sell for 130 and is notoriously unstable. Likely, a lot of them won't know much about raspberry pi's ;-) |
In this case, auto-detection of the bike may be required though rather than using a config file? |
I agree this would be a nice feature! There is already an option in raspi-config to use OverlayFS. Turning it on/off requires a reboot but the average user hopefully would not have a need to do that. @tompijls Good point about the config files. Maybe all we need to do is modify the startup files to We already don't have swap enabled so that's taken care of. Anything else to consider? |
@ptx2 Yes, using We might also want to disable the syslog service ( Also with the overlayfs support built into raspi-config, you can't activate/deactivate it via CLI, which stands in the way of making this user friendly. Depending of whether we want to make the use of overlayfs the default or not, this could either become part of the pi-gen process or be invoked as a first-boot service after checking for the readonly / no-readonly file in /boot. Also this approach comes with the script Imho, we should make the read-only mode the default mode. That would mean incorporating overlayfs.sh into the pi-gen process. |
Turns out that you can actually can call raspi-config functions via CLI. See here. |
Create pull request #58 for this. |
Given that the average user will install Gymnasticon on a Raspberry Pi once, configure it, power it up and then leave it running, I'm wondering if it makes sense to place the SD-card into read-only mode.
Benefits would be:
Besides log files there isn't really anything written to the device that is of interest and even log files are only useful for troubleshooting, mostly during development.
Which mode would make the most sense?
The text was updated successfully, but these errors were encountered: