Re: /proc/sys/kernel/panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- walt <walt@nea-fast.com> wrote:
> Greetings!
> According to the documentation, if the kernel panics, it
> will reboot after the amount of seconds in /proc/sys/kernel/panic 
> given the value is > 0. Is this a  "unmount filesystems reboot",
> or the equivalent of pushing the reset button on the front of
> the computer case? 

 Depends. If the panic happens in interrupt context, the
system just reboots. If it is in a process context, sys_sync()
is called to sync all filesystems. It is not exactly 'unmount
filesystem', but at least the data gets written to disk.

Hope this helps,
Ravi.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux