prevnext   » WIT: Wiimms ISO Tools » wwt: Wiimms WBFS Tool » wwt check

wwt check

Check WBFS partitions and print error listing. To repair WBFS partitions use the option »--repair modelist«.


1.   Syntax

wwt CHECK [wbfs_partition]..

2.   Options

Option Param Description
-T --titles file Read file for disc titles. -T/ disables automatic search for title files.
--utf-8 Enables UTF-8 support for filenames (default).
--no-utf-8 Disables UTF-8 support for filenames.
--lang lang Define the language for titles.
-a --auto Search for WBFS partitions using '/proc/partitions' or searching hard disks in '/dev/'.
-A --all Use all WBFS partitions found.
-p --part part Define a primary WBFS file or partition. Multiple usage possible.
--sections Print in machine readable sections and parameter lines.
-q --quiet Be quiet and print only error messages.
-v --verbose Be verbose. If set once then more details are printed. If set twice a info dump of all corrupted discs is included. If set three times a info dump of all discs is included if a error is found. If set four times a full memory map is included.
-l --long Option --long does the same as option --verbose. If set at least once it overwrites the --verbose level.
--repair mode This option defines how to repair WBFS errors. The parameter is a comma separated list of the following keywords, case is ignored: NONE, FBT, INODES, STANDARD, RM-INVALID, RM-OVERLAP, RM-FREE, RM-EMPTY, RM-ALL, ALL.

All keywords can be prefixed by '+' to enable that option, by a '-' to disable it or by a '=' to enable that option and disable all others. The default is 'NONE'.

-t --test Run in test mode, modify nothing.


3.   Description

 Command CHECKS checks WBFS partions for block errors in 5 categories:
   - Find discs with invalid blocks.
   - Find discs with no valid blocks.
   - Find discs which uses same blocks.
   - Find free blocks that marked as used.
   - Find used blocks that marked as free.

 If the option --repair is set then the detected error are fixed. Fixing the
 free blocks table is the last action. Be carfull because discs will be removed.

 The repair modes in detail:

    -   | NONE       : reset = ignore previous settings

    F   | FBT        : repair free blocks table
    I   | INODES     : setup all missing inode infos
    STD | STANDARD   : default setting: FBT,INODES

    RI  | RM-INVALID : remove discs with invalid blocks
    RO  | RM-OVERLAP : remove discs with overlaped blocks
    RF  | RM-FREE    : remove discs with free marked blocks
    RE  | RM-EMPTY   : remove discs with no valid blocks
    RA  | RM-ALL     : remove all discs with errors

    *   | ALL        : repair all

    All keyword can be prefixed by
      + : enable repair mode (default)
      - : disable repair mode
      = : enable repair mode and disable all others