[Ocfs2-tools-devel] [PATCH 10/0] Ocfs2-tools: Using fsck.ocfs2 prompt codes in fswreck v1.

tristan.ye tristan.ye at oracle.com
Fri Jun 5 01:01:35 PDT 2009


Hi all,

The current fswreck corrupt codes do more than one corruption and have
no relation to the fsck.ocfs2 codes. fswreck needs a new option that can
take one or more fsck.ocfs2 codes and do exactly those corruptions.

Such improvements based on the fact that we should leave the corrupt
implementation and logic unchanged, we therefore still use the same
handling funcs except for some minor changes and arguments
adjustment(such as corrupt_file, mess_up_xxx etc).

New fsck corrupt codes supported in fswreck will be more exact and
specific to become compatible with fsck.ocfs2 as a result. now we
support meaningful commma-separated-values corrupt codes string as
follows:

fswreck -c CORRUPT_TYPE1,CORRUPT_TYPE2,...,CORRUPT_TYPEN /dev/sdax

Refer to http://oss.oracle.com/osswiki/OCFS2/ToolsTasksList for more
detai.


Tristan.





More information about the Ocfs2-tools-devel mailing list