From owner-svn-src-stable@FreeBSD.ORG Thu Sep 23 09:05:41 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E2A31065679; Thu, 23 Sep 2010 09:05:41 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 438AF8FC18; Thu, 23 Sep 2010 09:05:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o8N95fgd059524; Thu, 23 Sep 2010 09:05:41 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o8N95fVf059521; Thu, 23 Sep 2010 09:05:41 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201009230905.o8N95fVf059521@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Thu, 23 Sep 2010 09:05:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r213050 - stable/8/sbin/hastctl X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 09:05:41 -0000 Author: pjd Date: Thu Sep 23 09:05:40 2010 New Revision: 213050 URL: http://svn.freebsd.org/changeset/base/213050 Log: MFC r208028,r210628,r210909,r210912,r211397: r208028: mdoc: move remaining sections into consistent order This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru r210628: Fix typo. PR: docs/149033 Submitted by: Kolar r210909: Update the arguments to yy_config_parse() to match r210883. Choose the more conservative option ('yes' to exit on error) to match the equivalent code in hastd. r210912: Force commit to remind me about MFCing r210909. r211397: Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru Modified: stable/8/sbin/hastctl/hastctl.8 stable/8/sbin/hastctl/hastctl.c Directory Properties: stable/8/sbin/hastctl/ (props changed) Modified: stable/8/sbin/hastctl/hastctl.8 ============================================================================== --- stable/8/sbin/hastctl/hastctl.8 Thu Sep 23 09:02:10 2010 (r213049) +++ stable/8/sbin/hastctl/hastctl.8 Thu Sep 23 09:05:40 2010 (r213050) @@ -105,7 +105,7 @@ The default extent size is Maximum number of dirty extents to keep dirty all the time. Most recently used extents are kept dirty to reduce number of metadata updates. -The default numer of most recently used extents which will be kept +The default number of most recently used extents which will be kept dirty is .Va 64 . .It Fl m Ar mediasize @@ -153,6 +153,20 @@ Print debugging information. This option can be specified multiple times to raise the verbosity level. .El +.Sh FILES +.Bl -tag -width ".Pa /var/run/hastctl" -compact +.It Pa /etc/hast.conf +Configuration file for +.Nm +and +.Xr hastd 8 . +.It Pa /var/run/hastctl +Control socket used by +.Nm +to communicate with the +.Xr hastd 8 +daemon. +.El .Sh EXIT STATUS Exit status is 0 on success, or one of the values described in .Xr sysexits 3 @@ -164,7 +178,7 @@ nodeB# hastctl create shared nodeB# hastd nodeB# hastctl role secondary shared -nodeB# hastctl create shared +nodeA# hastctl create shared nodeA# hastd nodeA# hastctl role primary shared nodeA# newfs -U /dev/hast/shared @@ -185,20 +199,6 @@ nodeB# fsck -t ufs /dev/hast/shared nodeB# mount -o noatime /dev/hast/shared /shared nodeB# application_start .Ed -.Sh FILES -.Bl -tag -width ".Pa /var/run/hastctl" -compact -.It Pa /etc/hast.conf -Configuration file for -.Nm -and -.Xr hastd 8 . -.It Pa /var/run/hastctl -Control socket used by -.Nm -to communicate with the -.Xr hastd 8 -daemon. -.El .Sh SEE ALSO .Xr sysexits 3 , .Xr geom 4 , Modified: stable/8/sbin/hastctl/hastctl.c ============================================================================== --- stable/8/sbin/hastctl/hastctl.c Thu Sep 23 09:02:10 2010 (r213049) +++ stable/8/sbin/hastctl/hastctl.c Thu Sep 23 09:05:40 2010 (r213050) @@ -432,7 +432,7 @@ main(int argc, char *argv[]) pjdlog_debug_set(debug); - cfg = yy_config_parse(cfgpath); + cfg = yy_config_parse(cfgpath, true); assert(cfg != NULL); switch (cmd) {