xfs
[Top] [All Lists]

[Bug 200] New: xfs_check should set the exit code to non-zero if the fil

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 200] New: xfs_check should set the exit code to non-zero if the filesystem does not check out
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 2 Dec 2002 14:10:03 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx
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@xxxxxxxxxxx
        ReportedBy: michael.sinz@xxxxxxxx


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.


<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 200] New: xfs_check should set the exit code to non-zero if the filesystem does not check out, bugzilla-daemon <=