svn commit: r197071 - head/sys/kern
Nick Hibma
n_hibma at FreeBSD.org
Thu Sep 10 18:24:59 UTC 2009
Author: n_hibma
Date: Thu Sep 10 18:24:59 2009
New Revision: 197071
URL: http://svn.freebsd.org/changeset/base/197071
Log:
Add a comment on the consequences of reducing the poweroff delay
Modified:
head/sys/kern/kern_shutdown.c
Modified: head/sys/kern/kern_shutdown.c
==============================================================================
--- head/sys/kern/kern_shutdown.c Thu Sep 10 17:27:36 2009 (r197070)
+++ head/sys/kern/kern_shutdown.c Thu Sep 10 18:24:59 2009 (r197071)
@@ -581,6 +581,10 @@ panic(const char *fmt, ...)
/*
* Support for poweroff delay.
+ *
+ * Please note that setting this delay too short might power off your machine
+ * before the write cache on your hard disk has been flushed, leading to
+ * soft-updates inconsistencies.
*/
#ifndef POWEROFF_DELAY
# define POWEROFF_DELAY 5000
More information about the svn-src-all
mailing list