Reboot or init 6.

Nio Wiklund nio.wiklund at gmail.com
Wed Nov 28 06:33:29 UTC 2012


On 2012-11-28 00:45, Phill Whiteside wrote:
> Hi,
> 
> as there are times that machines in test mis-behave and we have (hopefully)
> still got access to a terminal. Which of these do you use?
> 
> "init 6" performs reboot in a clean and orderly manner,informing the daemon
> of the change in runlevel,which subsequently achieves the appropriate
> milestone and ultimately executes the rc0 kill scripts.
> 
> "reboot" performs an immediate system reboot,does not execute the rc0 kill
> scripts,simply unmounts file systems and reboots the System. It is not
> recommended,especially when you are rebooting after a live-upgrade of OS &
> any patch-updates ,etc.
> 
> I'm not sure if "shutdown -y -i6 -g0" still is an option ( I used it many
> years ago on restarting Unix systems but it is calling init 6)
> 
> Regards,
> 
> Phill.
> 
What about

alt+SysRq r e i s u b

?




More information about the Ubuntu-quality mailing list