Bug 127432

Summary: [patch] update fsck_ffs(8) man-page with regarding to exit status
Product: Documentation Reporter: edwin
Component: Books & ArticlesAssignee: Remko Lodder <remko>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description edwin 2008-09-17 05:10:02 UTC
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.
Comment 1 dfilter service freebsd_committer freebsd_triage 2008-09-17 07:56:44 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"
Comment 2 Remko Lodder freebsd_committer freebsd_triage 2008-09-17 08:07:29 UTC
State Changed
From-To: open->patched

Patched in current 


Comment 3 Remko Lodder freebsd_committer freebsd_triage 2008-09-17 08:07:29 UTC
Responsible Changed
From-To: freebsd-doc->remko

Reassign to myself
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-01-27 20:53:10 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"
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-01-27 20:53:11 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"
Comment 6 Remko Lodder freebsd_committer freebsd_triage 2011-01-27 20:54:08 UTC
State Changed
From-To: patched->closed

Finally merged.. thanks for waiting!