nerves-project / nerves_runtime

Small, general initialization and utilities for Nerves devices
Apache License 2.0
57 stars 23 forks source link

Remount ext4 app partition read-only on error #326

Closed fhunleth closed 8 months ago

fhunleth commented 9 months ago

The current default behavior is to return filesystem corruption errors and stay "writable". This seems reasonable, but there's been a history of remounting read-only on error, so it was surprising when the failure changed. This restores the failure mode. F2FS does not have a similar option, so only set it for ext4.