YaST OS Repair. Automatic error detection & repair tool for Linux.
List of Global Functions
BootDev -
Check - Check if all entries in the fstab are valid and if all found devices have an entry in the fstab.
LinuxPartitions - Find the list of all valid linux-partitions in the target-map.
MountAll - Mount all partitions specified in the fstab. If no fstab was readed try to find root partition and read fstab. Afterwards mount all partitions.
MountablePartitions - Returns a list of names of all mountable partitions out of the specified list.
OSRFstab - Constructor: initialize data structures with default values
ReadFstab - Read the fstab file.
Repair - Repair the fstab. Call sub dialogs.
RootDev -
SelectRoot - ask user to select the root partition
ValidRootPartitions - Returns a list of names of all mountable partitions that contain a file /etc/fstab out of the specified list.
partition_mounted - Check if given partition is already mounted workaround; this should be done via Storage API (bnc#372238)
List of Global Variables
fstabpath - The path
Check if all entries in the fstab are valid and if all found devices have an entry in the fstab.
Function parameters
list<string> tswapable_partition_list
list<string> tchecked_partitions
list<string> tencrypted_partitions
Return value
boolean
Function parameters
string dev_name
list<string> tswapable_partition_list
list<string> tchecked_partitions
Return value
boolean
Find the list of all valid linux-partitions in the target-map.
Function parameters
list checked_partitions
Return value
list<string> - The list of names of valid linux-partitions.
Mount all partitions specified in the fstab. If no fstab was readed try to find root partition and read fstab. Afterwards mount all partitions.
Function parameters
string root
Return value
list<map>
Returns a list of names of all mountable partitions out of the specified list.
Function parameters
list<string> linux_partition_list
string m_point
Return value
list<string> - List of partition names successfully mounted to m_point.
Read the fstab file.
Function parameters
string mount_p
boolean strict
Return value
boolean
ask user to select the root partition
Function parameters
list<map> valid_root_partition_list
Return value
string
Returns a list of names of all mountable partitions that contain a file /etc/fstab out of the specified list.
Function parameters
list<string> mount_possible_list
string mount_p
Return value
list<map> - The list of partition-names that were successfully mounted to /mnt and contain a filesystem table.
Function parameters
map cmp
Return value
map - create failed for mount points $[ 1 : "/hhh" ];