Page MenuHomeFreeBSD

Add MD_ROOT_READONLY option to disallow writeable remount of root fs

Authored by ian on Dec 7 2017, 6:21 PM.



Setting this option is equivelent to using mdconfig -o readonly

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ian created this revision.Dec 7 2017, 6:21 PM
imp accepted this revision.Dec 7 2017, 6:32 PM

I'm torn about asking... But does it make sense to have this be (optionally) tunable as well?
Regardless, I love this change.

This revision is now accepted and ready to land.Dec 7 2017, 6:32 PM
This revision was automatically updated to reflect the committed changes.