Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
sd_card_read-only [2016/07/22 18:01] admin |
sd_card_read-only [2016/07/23 15:43] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== SD card read-only | + | ===== Read-Only |
| - | Change SD card to read-only mode.\\ | + | Change |
| [[http:// | [[http:// | ||
| [[https:// | [[https:// | ||
| + | ==== Fstab ==== | ||
| in: | in: | ||
| $ sudo nano /etc/fstab | $ sudo nano /etc/fstab | ||
| Line 9: | Line 10: | ||
| / | / | ||
| tmpfs / | tmpfs / | ||
| + | |||
| + | ---- | ||
| + | ==== Disable some Programms ==== | ||
| disable rsyslog and dphys-swapfile: | disable rsyslog and dphys-swapfile: | ||
| - | Weesie:\\ | + | **Wheesy:**\\ |
| $ sudo update-rc.d -f rsyslog remove | $ sudo update-rc.d -f rsyslog remove | ||
| $ sudo update-rc.d -f dphys-swapfile remove | $ sudo update-rc.d -f dphys-swapfile remove | ||
| - | Jessie:\\ | + | **Jessie:**\\ |
| $ sudo systemctl disable rsyslog | $ sudo systemctl disable rsyslog | ||
| $ sudo systemctl disable dphys-swapfile | $ sudo systemctl disable dphys-swapfile | ||
| - | + | ---- | |
| + | ==== Remount ==== | ||
| To remount the partition writabe:\\ | To remount the partition writabe:\\ | ||
| $ sudo mount / -o remount,rw | $ sudo mount / -o remount,rw | ||
| ---- | ---- | ||