From owner-freebsd-doc@FreeBSD.ORG Fri Jul 31 06:10:02 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E0DA106566C for ; Fri, 31 Jul 2009 06:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C2FA08FC14 for ; Fri, 31 Jul 2009 06:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6V6A1Fi052765 for ; Fri, 31 Jul 2009 06:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6V6A1td052764; Fri, 31 Jul 2009 06:10:01 GMT (envelope-from gnats) Resent-Date: Fri, 31 Jul 2009 06:10:01 GMT Resent-Message-Id: <200907310610.n6V6A1td052764@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anthony Chavez Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE2FE106566B for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/137288: gjournal sync should follow umount X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 06:10:02 -0000 >Number: 137288 >Category: docs >Synopsis: gjournal sync should follow umount >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 31 06:10:01 UTC 2009 >Closed-Date: >Last-Modified: >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 @@ &prompt.root; shutdown now - Synchronize the journals: - - &prompt.root; gjournal sync - Unmount the journaled partitions: &prompt.root; umount /usr /var + Synchronize the journals: + + &prompt.root; gjournal sync + Stop the journaling providers: &prompt.root; gjournal stop ad0s1d.journal >Release-Note: >Audit-Trail: >Unformatted: