| Summary: | [patch] update fsck_ffs(8) man-page with regarding to exit status | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | edwin | ||||
| Component: | Books & Articles | Assignee: | Remko Lodder <remko> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
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 Patched in current Responsible Changed From-To: freebsd-doc->remko Reassign to myself 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" 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" State Changed From-To: patched->closed Finally merged.. thanks for waiting! |
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.