YaST2 Developers Documentation: repair

repair

OSRDirect.ycp
Dialog and Execute of direct repair function. Repair Tool Box

This module has an unstable interface.

Imports

  • HTML
  • OSRCommon
  • OSRFsck
  • OSRFstab
  • OSRSystem
  • Stage
  • Storage

Global Variables

Global Functions

Local Variables

local max_direct_push_buttons -> integer

Max entries for button layout. If more the max_d.. than use RichText layout.

local direct_methods -> map

Contains the data and the keys of all direct repair mehtods.

global mounted_root_partition -> string

Mounted root partition.

global Reset () -> void

Reset the module settings. Don`t reset direct_methods.

global AddEntries (list new_entries, string client) -> void

Add a new entry to the direct_methods map. Used in OSR module at the initial sequence.

Parameters:
new_entries A list that describe the new direct repair entries.
client
global OptionMenu () -> term

Return a automatically generated menu for all direct repair methods.

global EvalDirectMethod (string method) -> symbol

Eval the selected direct repair method.

Parameters:
method