Date: Wed, 17 Sep 2008 14:03:20 +1000 (EST) From: Edwin Groothuis <edwin@mavetju.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/127432: [patch] update fsck_ffs(8) man-page with regarding to exit status Message-ID: <20080917040320.9308836E@k7.mavetju> Resent-Message-ID: <200809170410.m8H4A2Xn000522@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080917040320.9308836E>