bang-olufsen / create

Software for the HifiBerry/BeoCreate Re-Create project for upcycling vintage loudspeakers
https://www.hifiberry.com/beocreate
MIT License
174 stars 43 forks source link

Include an option to make the device read-only #4

Open nicokaiser opened 6 years ago

nicokaiser commented 6 years ago

For use as headless audio device (e.g. with BeoCreate in the BeoVox enclosure) it might be a good idea to protect the SD card from getting corrupted. That can happen, if the power is pulled out without shutting down the Raspberry Pi correctly (given there is no power switch on the BeoCreate this is quite common).

The Adafruit read-only-fs script might be useful here, however some adjustments may be necessary for dhcpcd and Bluetooth (paired devices are lost on reboot).

https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/blob/master/read-only-fs.sh https://github.com/nicokaiser/rpi-bluetooth-receiver/blob/master/enable-read-only.sh

c-larsen commented 6 years ago

Hi Nico, thanks for your feedback. You have a valid point here, this is definitely something we will look into integrating into the future releases.