Linux shutdown/reboot process

Asutosh Das das.asutosh at gmail.com
Mon May 14 07:31:40 EDT 2012


Hi List
I have a query about the linux shutdown or reboot process.

Please can you let me know if the below sequence is correct:

When reboot command is given on the shell:

1. all user-space process is frozen (by sending some signal ?? )
2. all file-systems are remounted as read-only - (sysrq handler does this ?? )
3. all drivers, whose shutdown handlers have been defined, are called
in the reverse order in which these drivers were initialized.

I am not sure what happens after this.

TIA.



-- 
Thanks & Regards
~/asd



More information about the Kernelnewbies mailing list