User Tools

Site Tools

한국어

comfilepi:read-only_file_system_with_overlay

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
comfilepi:read-only_file_system_with_overlay [2022/07/08 06:05]
COMFILE Technology
comfilepi:read-only_file_system_with_overlay [2023/11/10 16:38]
COMFILE Technology
Line 1: Line 1:
 +====== Read-only File System with Overlay ======
 +
 +The following procedure can be used to boot the ComfilePi panel PC with a read-only file system. After booted, all modifications to the file system are done in RAM, and therefore, discarded between boots. ​ This can be useful to reduce wear on the SD card or eMMC and also ensure a more reliable system, as file system corruption is less likely when it is read-only. ​ Also, with the read-only file system, the system can withstand an abrupt loss of power without being shutdown.
 +
 +First, upgrade your packages:
 +<​code>​
 +sudo apt update
 +sudo apt full-upgrade
 +sudo reboot
 +</​code>​
 +
 +You can then configure a read-only file system by going to //​Preferences//​-->//​Raspberry Pi Configuration//​-->//​Performance//​-->//​Overlay File System//​--//​Configure...//​
 +
 +You may also need to disable the swap file service with ''​sudo systemctl disable dphys-swapfile.service''​.
 +
 +If you are using a Raspberry Pi Buster OS, and you need a static IP address, you may need to enable predictable network interface names in the ''​raspi-config''​ utility.
 +
 +===== Additional Information =====
 +
 +  * [[https://​pip.raspberrypi.com/​categories/​685-whitepapers-app-notes/​documents/​RP-003610-WP/​Making-a-more-resilient-file-system.pdf|Making a more resilient file system]]
 +
 +
 +[[comfilepi:​index|ComfilePi - Industrial Raspberry Pi Panel PC]]
  
comfilepi/read-only_file_system_with_overlay.txt · Last modified: 2024/04/01 14:40 by COMFILE Technology