From nobody@FreeBSD.org  Fri Jul 31 06:04:28 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AE2FE106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 31 Jul 2009 06:04:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 9C8DD8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 31 Jul 2009 06:04:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6V64R8C018633
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 31 Jul 2009 06:04:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n6V64RCq018632;
	Fri, 31 Jul 2009 06:04:27 GMT
	(envelope-from nobody)
Message-Id: <200907310604.n6V64RCq018632@www.freebsd.org>
Date: Fri, 31 Jul 2009 06:04:27 GMT
From: Anthony Chavez <acc@hexadecagram.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gjournal sync should follow umount
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         137288
>Category:       docs
>Synopsis:       gjournal sync should follow umount
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    manolis
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 31 06:10:01 UTC 2009
>Closed-Date:    Fri Jul 31 06:43:43 UTC 2009
>Last-Modified:  Fri Jul 31 06:43:43 UTC 2009
>Originator:     Anthony Chavez
>Release:        n/a
>Organization:
hexadecagram.org
>Environment:
n/a
>Description:
In a recent discussion with pjd@ (http://lists.freebsd.org/pipermail/freebsd-fs/2009-July/006533.html), it was revealed that, you guessed it, "'gjournal sync' should follow unmount, not the other way around."

>How-To-Repeat:
Read "Implementing UFS Journaling on a Desktop PC," section 5.3.
>Fix:
Apply the attached patch.

Patch attached with submission follows:

Index: article.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/articles/gjournal-desktop/article.sgml,v
retrieving revision 1.4
diff -u -r1.4 article.sgml
--- article.sgml	30 Sep 2008 11:56:52 -0000	1.4
+++ article.sgml	31 Jul 2009 05:51:17 -0000
@@ -591,14 +591,14 @@
 	
 	  <screen>&prompt.root; <userinput>shutdown now</userinput></screen>
 
-	  <para>Synchronize the journals:</para>
-
-	  <screen>&prompt.root; <userinput>gjournal sync</userinput></screen>
-
 	  <para>Unmount the journaled partitions:</para>
 
 	  <screen>&prompt.root; <userinput>umount /usr /var</userinput></screen>
 
+	  <para>Synchronize the journals:</para>
+
+	  <screen>&prompt.root; <userinput>gjournal sync</userinput></screen>
+
 	  <para>Stop the journaling providers:</para>
 
 	  <screen>&prompt.root; <userinput>gjournal stop ad0s1d.journal</userinput>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->manolis 
Responsible-Changed-By: manolis 
Responsible-Changed-When: Fri Jul 31 06:14:00 UTC 2009 
Responsible-Changed-Why:  
I'll look into this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137288 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/137288: commit references a PR
Date: Fri, 31 Jul 2009 06:37:56 +0000 (UTC)

 manolis     2009-07-31 06:37:47 UTC
 
   FreeBSD doc repository
 
   Modified files:
     en_US.ISO8859-1/articles/gjournal-desktop article.sgml 
   Log:
   'gjournal sync' should actually be called after unmounting relevant partitions
   
   PR:             docs/137288
   Submitted by:   Anthony Chavez <acc at hexadecagram dot org>
   
   Revision  Changes    Path
   1.5       +4 -4      doc/en_US.ISO8859-1/articles/gjournal-desktop/article.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: manolis 
State-Changed-When: Fri Jul 31 06:43:18 UTC 2009 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137288 
>Unformatted:
