From edwin@mavetju.org  Wed Sep 17 04:03:20 2008
Return-Path: <edwin@mavetju.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 12E621065670
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Sep 2008 04:03:20 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78])
	by mx1.freebsd.org (Postfix) with ESMTP id B02E68FC1C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Sep 2008 04:03:19 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: by mail5out.barnet.com.au (Postfix, from userid 1001)
	id 66A4D2218B0B; Wed, 17 Sep 2008 14:03:18 +1000 (EST)
Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK))
	by mail5.barnet.com.au (Postfix) with ESMTP id 23D6921B5B1B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Sep 2008 14:03:18 +1000 (EST)
Received: from k7.mavetju (ppp121-44-125-22.lns10.syd6.internode.on.net [121.44.125.22])
	by mail5auth.barnet.com.au (Postfix) with ESMTP id D2AE62218AF8
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Sep 2008 14:03:17 +1000 (EST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id 9308836E; Wed, 17 Sep 2008 14:03:20 +1000 (EST)
Message-Id: <20080917040320.9308836E@k7.mavetju>
Date: Wed, 17 Sep 2008 14:03:20 +1000 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] update fsck_ffs(8) man-page with regarding to exit status
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         127432
>Category:       docs
>Synopsis:       [patch] update fsck_ffs(8) man-page with regarding to exit status
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 17 04:10:02 UTC 2008
>Closed-Date:    Thu Jan 27 20:54:09 UTC 2011
>Last-Modified:  Thu Jan 27 21:00:31 UTC 2011
>Originator:     Edwin Groothuis
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Wed May 28 08:12:56 EST 2008 edwin@k7.mavetju:/usr/src/sys/i386/compile/k7 i386


>Description:

While looking for a way to find out if a file system is clean (before
mounting it), I noticed it wasn't documented in the man-page.


EXIT STATUS
     The fsck_ffs utility exits 0 on success, and >0 if an error occurs.

     If the option -F is used, fsck_ffs exits 7 if the file system is clean.



>How-To-Repeat:
>Fix:

Index: fsck_ffs.8
===================================================================
--- fsck_ffs.8	(revision 183065)
+++ fsck_ffs.8	(working copy)
@@ -321,6 +321,12 @@
 .El
 .Sh EXIT STATUS
 .Ex -std
+.Pp
+If the option
+.Fl F
+is used,
+.Nm
+exits 7 if the file system is clean.
 .Sh DIAGNOSTICS
 The diagnostics produced by
 .Nm
>Release-Note:
>Audit-Trail:

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/127432: commit references a PR
Date: Wed, 17 Sep 2008 06:56:44 +0000 (UTC)

 svn         2008-09-17 06:56:31 UTC
 
   FreeBSD src repository
 
   Modified files:
     sbin/fsck_ffs        fsck_ffs.8 
   Log:
   SVN rev 183110 on 2008-09-17 06:56:31Z by svn
   
   Document the -F 's return statement.
   If the application returns succesfully
   the return code is 7 (which means the
   filesystem is clean).
   
   PR:             127432
   Submitted by:   edwin
   MFC after:      3 days
   
   Revision  Changes    Path
   1.36      +6 -0      src/sbin/fsck_ffs/fsck_ffs.8
 _______________________________________________
 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->patched 
State-Changed-By: remko 
State-Changed-When: Wed Sep 17 07:07:29 UTC 2008 
State-Changed-Why:  
Patched in current 


Responsible-Changed-From-To: freebsd-doc->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Sep 17 07:07:29 UTC 2008 
Responsible-Changed-Why:  
Reassign to myself 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127432 
State-Changed-From-To: patched->closed 
State-Changed-By: remko 
State-Changed-When: Thu Jan 27 20:54:08 UTC 2011 
State-Changed-Why:  
Finally merged.. thanks for waiting! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/127432: commit references a PR
Date: Thu, 27 Jan 2011 20:53:10 +0000 (UTC)

 Author: remko
 Date: Thu Jan 27 20:53:03 2011
 New Revision: 217980
 URL: http://svn.freebsd.org/changeset/base/217980
 
 Log:
   MFC r183110
   
     Document the -F 's return statement.
     If the application returns succesfully
     the return code is 7 (which means the
     filesystem is clean).
   
     PR: 127432
     Submitted by: edwin
     MFC after: 3 days
   
   PR:		127432
 
 Modified:
   stable/7/sbin/fsck_ffs/fsck_ffs.8
 Directory Properties:
   stable/7/sbin/fsck_ffs/   (props changed)
 
 Modified: stable/7/sbin/fsck_ffs/fsck_ffs.8
 ==============================================================================
 --- stable/7/sbin/fsck_ffs/fsck_ffs.8	Thu Jan 27 20:50:03 2011	(r217979)
 +++ stable/7/sbin/fsck_ffs/fsck_ffs.8	Thu Jan 27 20:53:03 2011	(r217980)
 @@ -329,6 +329,12 @@ contains default list of file systems to
  .El
  .Sh EXIT STATUS
  .Ex -std
 +.Pp
 +If the option
 +.Fl F
 +is used,
 +.Nm
 +exits 7 if the file system is clean.
  .Sh DIAGNOSTICS
  The diagnostics produced by
  .Nm
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/127432: commit references a PR
Date: Thu, 27 Jan 2011 20:53:11 +0000 (UTC)

 Author: remko
 Date: Thu Jan 27 20:53:03 2011
 New Revision: 217980
 URL: http://svn.freebsd.org/changeset/base/217980
 
 Log:
   MFC r183110
   
     Document the -F 's return statement.
     If the application returns succesfully
     the return code is 7 (which means the
     filesystem is clean).
   
     PR: 127432
     Submitted by: edwin
     MFC after: 3 days
   
   PR:		127432
 
 Modified:
   stable/7/sbin/fsck_ffs/fsck_ffs.8
 Directory Properties:
   stable/7/sbin/fsck_ffs/   (props changed)
 
 Modified: stable/7/sbin/fsck_ffs/fsck_ffs.8
 ==============================================================================
 --- stable/7/sbin/fsck_ffs/fsck_ffs.8	Thu Jan 27 20:50:03 2011	(r217979)
 +++ stable/7/sbin/fsck_ffs/fsck_ffs.8	Thu Jan 27 20:53:03 2011	(r217980)
 @@ -329,6 +329,12 @@ contains default list of file systems to
  .El
  .Sh EXIT STATUS
  .Ex -std
 +.Pp
 +If the option
 +.Fl F
 +is used,
 +.Nm
 +exits 7 if the file system is clean.
  .Sh DIAGNOSTICS
  The diagnostics produced by
  .Nm
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
