[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 c.pascoe@itee.uq.edu.au  2002-12-03 13:10 -------
Created an attachment (id=55)
 --> (http://oss.sgi.com/bugzilla/attachment.cgi?id=55&action=view)
Alters error exit codes from xfs_check

xfs_check returns success when the superblock magic is invalid - this makes it
return the serious error exit code (3) for this case, and the invalid arguments
exit code (1) if the arguments to xfs_check were wrong.

A glance at the code suggests that other xfs_check failures appear to return
the correct error codes.

Chris



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