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

[Bug 200] New: 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

           Summary: xfs_check should set the exit code to non-zero if the
                    filesystem does not check out
           Product: Linux XFS
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: xfsprogs
        AssignedTo: xfs-master@oss.sgi.com
        ReportedBy: michael.sinz@sinz.org


Using the current (from CVS as of 11/30) xfs_check, a filesystem that has
"errors" does not cause xfs_check to exit with an exit code greater than 0.

I had assumed that this was the behavior as it would allow for automatic
recovery scripts to run.  If the exit code is not supposed to signal a need for
xfs_repair, is there a way to programmatically get that signal?  (Or an option
to xfs_check that says "run xfs_repair if needed")



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