Will my OS break if I make it the system Read Only? I am installing a raspberry pi 4 (Raspberry Pi OS (64-bit)) in my car and read on Lemmy that if I make the system files Read Only my system won’t get corrupt when power is abruptly turned off. I will leave the ‘home’ directory read-write. I realize I will have to remove the drive and run updates regularly.

  • lemmyng@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    There are parts of the filesystem that will still need to be written - most of /var, /proc, etc. The good news is that those are well known, and save for some exceptions could be tmpfs mounts.

    Also, most modern filesystems have journaling and are resilient to sudden powerdown events, especially if you’re not writing a lot.