Partition and filesystems checking module. |
osr_module_partition.ycp |
| YaST2 OS Repair. Automatic error detection & repair tool for Linux. | |
|
|
|
This module has an unstable interface. |
Imports
Includes
Local Functions
|
Check if at least one harddisk exist.
Checks the mbr's of all harddisks.
search for valid swap partitions
search for "swap-able" partitions
Load all kernel fs modules
Umount all partitions from "/mnt" or from deeper directories (e.g. "/mnt/usr", "/mnt/usr/local", ...) before mounting anything to "/mnt".
search for fsck possible partitions
fsck for all possible partitions
search for valid Linux partitions
search for mountable partitions
Checks the detected partitions for valid filesystems, mounts them and searches for filesystem tables (/etc/fstab) on the partitions.
- Return value:
-
The result_map.
mount the root partition to /mnt
Mount the root partition and all reachable, local and valid partitions from the detected filesystem table "/etc/fstab".
Requires: list valid_root_partitions, string root_partition Provides: list just_mounted, string root_mountpoint
- Return value:
-
The result_map.
Check the root entry in the fstab.
Check all entris (without root) in the fstab.
Reset temporary settings.
Direct partitioning with the custom part tool.
Direct recover a lost partition table.
Direct repair a damaged file system.
Save disk partition info to floppy
Boot into installed system (hack for fixing bnc#441188) Ehm, this function is copied from handle_boot() of http://svn.opensuse.org/svn/yast/branches/SuSE-Linux-10_3-Branch/installation/src/clients/inst_mode.ycp so some parts of it may not be necessary
Initialization of the module map that contains all important information for this module.
- Return value:
-
The map that contains all information about the module osr_module_partition.