Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2010 18:20:28 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r215824 - head/etc/rc.d
Message-ID:  <201011251820.oAPIKSn8013195@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Thu Nov 25 18:20:28 2010
New Revision: 215824
URL: http://svn.freebsd.org/changeset/base/215824

Log:
  Add a sync to the shutdown step. In the common case this will be harmless
  at worst. On a heavily loaded server it will give the fs a chance to do
  its business without the axe hanging over its head.
  
  Submitted by:	ivoras

Modified:
  head/etc/rc.d/mountcritlocal

Modified: head/etc/rc.d/mountcritlocal
==============================================================================
--- head/etc/rc.d/mountcritlocal	Thu Nov 25 18:14:18 2010	(r215823)
+++ head/etc/rc.d/mountcritlocal	Thu Nov 25 18:20:28 2010	(r215824)
@@ -5,13 +5,13 @@
 
 # PROVIDE: mountcritlocal
 # REQUIRE: root hostid_save mdconfig
-# KEYWORD: nojail
+# KEYWORD: nojail shutdown
 
 . /etc/rc.subr
 
 name="mountcritlocal"
 start_cmd="mountcritlocal_start"
-stop_cmd=":"
+stop_cmd=sync
 
 mountcritlocal_start()
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011251820.oAPIKSn8013195>