Read-only file system Topic is solved

Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
thof

Read-only file system

Post by thof »

As I'm using Dietpi mainly in headless installations I always try to make my filesystem read-only to protect the system from becoming corrupt after power loss.

Adding an option in dietpi-config to set the filesystem to read-only would be a very nice addition that I think many people can benefit from.
Maybe a separate read-write partition can be created for storing files that should last between sessions.

A guide how to do this is here: https://hallard.me/raspberry-pi-read-only/
But maybe from your experience you have better ways to do this.

Thanks!
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Read-only file system

Post by Fourdee »

thof wrote:As I'm using Dietpi mainly in headless installations I always try to make my filesystem read-only to protect the system from becoming corrupt after power loss.

Adding an option in dietpi-config to set the filesystem to read-only would be a very nice addition that I think many people can benefit from.
Maybe a separate read-write partition can be created for storing files that should last between sessions.

A guide how to do this is here: https://hallard.me/raspberry-pi-read-only/
But maybe from your experience you have better ways to do this.

Thanks!
Hi Thof,

Great idea and thanks for the link. I've created a Git Ticket for this request:
https://github.com/Fourdee/DietPi/issues/229

I'am going to be busy with the DietPi support for Odroid C2, but as soon as I get a chance, i'll look into the request.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
nitrogen_widget

Re: Read-only file system

Post by nitrogen_widget »

I would like to 2nd this.
I use dietPi on my RPI as a portable emulator machine to keep the kids from being bored when I visit friends and would love to be able to just kill the power instead of counting on them to properly shut it down.
Post Reply