Date: Sun, 19 Dec 2010 20:10:48 +0000 (UTC) From: Doug Barton <dougb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r216568 - in stable/8/etc: periodic/daily rc.d Message-ID: <201012192010.oBJKAnAU023237@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dougb Date: Sun Dec 19 20:10:48 2010 New Revision: 216568 URL: http://svn.freebsd.org/changeset/base/216568 Log: MFC r215824: 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 Approved by: re (kib) Modified: stable/8/etc/rc.d/mountcritlocal Directory Properties: stable/8/etc/ (props changed) stable/8/etc/periodic/daily/ (props changed) stable/8/etc/periodic/daily/800.scrub-zfs (props changed) stable/8/etc/periodic/security/ (props changed) Modified: stable/8/etc/rc.d/mountcritlocal ============================================================================== --- stable/8/etc/rc.d/mountcritlocal Sun Dec 19 18:21:25 2010 (r216567) +++ stable/8/etc/rc.d/mountcritlocal Sun Dec 19 20:10:48 2010 (r216568) @@ -5,13 +5,13 @@ # PROVIDE: mountcritlocal # REQUIRE: root -# 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?201012192010.oBJKAnAU023237>