146. OSRFsck

YaST OS Repair. Automatic error detection & repair tool for Linux.

146.1. Summary of Module Globals

List of Global Functions

  • Check - Test the filesystem of one partition.

  • IsNonLinuxFileSystem - checks for filesystem type (Repair module should not touch non-linux partitions - bug #25002)

  • LoadAllFsModules - Load all needed fileystem and lvm/raid modules.

  • OSRFsck - Constructor. Fill the list fsck_fsid with the date from module Partition.

  • PossiblePartitions - Return a list witch contains all partitions names that can be used for a fsck.

  • Repair - The main repair dialog.

List of Global Variables

146.2. Global Functions

146.2.1. Check

Test the filesystem of one partition.

Function parameters

  • map part

Return value

  • boolean

146.2.2. IsNonLinuxFileSystem

checks for filesystem type (Repair module should not touch non-linux partitions - bug #25002)

Function parameters

  • symbol fs

Return value

  • boolean

146.2.3. LoadAllFsModules

Load all needed fileystem and lvm/raid modules.

Return value

  • boolean

146.2.4. OSRFsck

Constructor. Fill the list fsck_fsid with the date from module Partition.

Return value

  • void

146.2.5. PossiblePartitions

Return a list witch contains all partitions names that can be used for a fsck.

Return value

  • list<map>

146.2.6. Repair

The main repair dialog.

Function parameters

  • string t_check_partition

  • symbol used_fs

Return value

  • symbol - `ok,`error,`cancel

146.3. Global Variables

146.3.1. fs_kernel_modules

The loaded modules.

146.3.2. fsck_fsid

A list of all possible filesystem id's for fsck...

146.3.3. fsck_type

A list of all possible types for a fsck ...

146.3.4. not_installed_modules

The not loaded filesystem an lvm/raid modules.

146.4. Module Requirements

146.4.1. Module Imports

  • FileSystems
  • FileUtils
  • Mode
  • OSRCommon
  • OSRExecute
  • OSRLogFile
  • OSRModuleLoading
  • OSRPopup
  • Partitions
  • Popup
  • Stage
  • Storage

146.4.2. Module Includes