3 ms·
You can do it non-destructively by bind mounting a binary from ramfs over /bin/init When it reexecs, the new binary can kill and umount everything and switch r
by megous 7y ago
You can do it non-destructively by bind mounting a binary from ramfs over /bin/init
When it reexecs, the new binary can kill and umount everything and switch roots. If it fails somehow, you just reboot and everything is back to normal.