On 5/26/13 4:13 PM, Ian Stakenvicius wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 25/05/13 03:08 PM, Matthew Thode wrote:
On 05/25/13 05:25, Peter Stuge wrote:
Luca Barbato wrote:
- init gets effectively switched only at boot/reboot
Please not on reboot, because an unclean shutdown shouldn't leave
the system in limbo.
On boot could work, except that it does add more steps (= more
fragility) to the boot process, which I think everyone wants to
avoid.
I would actually expect the change to take effect immediately.
//Peter
the final action before / is remouted ro at shutdown would make
sense to me. It's either that or first action at boot.
First action at boot, without an initramfs, is too late isn't it?
bootchart2 shows that is quite possible and working fine for it =)
The current mode to switch init manually for my use-case is to drop to
single user, do your stuff, reboot or reload init if the init or the
operating system supports it.
Drop to single user is quite the same as rebooting anyway.
lu