Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Read-only FS, switch-off safety for raspberry pi
On Thu, 16 May 2019, Mayuresh wrote:
To conserve flash drive life, is it possible to mount all partitions
read-only and how?
Sure. That's how optical media works. It's read-only but uses RAM disks
for the read/write stuff. Look at the way NetBSD live-CDs have been
created and do the same thing.
Further, once read-only mounts are ensured, is it safe to just switch
off the device by pulling the plug?
Sure. If you have your file systems mounted read-only, then they already
have an internal flag set so that if you just pulled power, they'd show up
as "consistent" when you rebooted and thus no fsck or log-rollback needed.
Home |
Main Index |
Thread Index |
Old Index