docs/127432: [patch] update fsck_ffs(8) man-page with regarding to exit status
Edwin Groothuis
edwin at mavetju.org
Wed Sep 17 04:10:03 UTC 2008
>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: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 17 04:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-doc
mailing list