[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 200] xfs_check should set the exit code to non-zero if the filesystem does not check out



http://oss.sgi.com/bugzilla/show_bug.cgi?id=200





------- Additional Comments From msinz@wgate.com  2002-12-02 14:17 -------
Created an attachment (id=54)
 --> (http://oss.sgi.com/bugzilla/attachment.cgi?id=54&action=view)
Example recovery tool

The attachment is an example recovery tool installer (and the recovery scripts)
that use (or, would use) the exit/return code from xfs_check.

Note that these scripts already deal with the mount/log replay issue and
checking for XFS filesystems.  If the filesystem is so far gone that the checks
fail then the manual recovery is needed but for many cases that I have run into
during the XFS development period, the automatic mechanism works as long as
xfs_check gets me the exit code correctly.  (I look for "any output" from
xfs_check to determin if there was a problem in the "production" version)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.