On Tue, Oct 29, 2013 at 8:27 PM, Mathew Snyder <mathew.sny...@gmail.com>wrote:

> I'm looking at information for the onerror=panic option. What happens when
> I cause a kernel panic besides the system essentially becoming inoperable?
> Does it automatically force a fsck on the next reboot? So far, everything
> I've seen indicates that it simply creates a crash dump. That really isn't
> all that useful in this situation as we know what causes the problem.
>

fsck and normal shutdown both set a flag in the superblock indicating that
the filesystem is clean; if this flag is not set then fsck is forced on
reboot. Although, also important here, forcing a panic keeps the system
from pointlessly trying to continue and behaving weirdly if the disks
vanish out from under it.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to