logoalt Hacker News

irishcoffeetoday at 12:34 PM1 replyview on HN

I've been dd-ing A/B partitions for embedded yocto distributions for years and years. read-only-rootfs (/var/log is its own writable partition), dd the "other partition", sed fstab, reboot.

The neat part was the whole process kicked off when you scp'd the rootfs and inotifywait kicked off the whole process.


Replies

BirAdamtoday at 1:54 PM

Yeah, make /home, /var/log, and /usr/local rw and everything else ro. Makes a great "immutable" that's not as annoying as truly "immutable" systems.