
functions
files
intro
|
|
Configuration of lilo
|
osscan.ycp
|
|
this file scans for installed linuxes.
|
|
|
|
Installed OS scanner.
Functions
|
|
|
|
global is_linux (map part_entry) -> boolean
|
|
returns true, if specified partition is of type 'linux'
- Parameters:
- Return value:
|
global figure_out_distro (map part_entry, string mountpoint) -> map
|
|
tries to figure out distro name and version
- Parameters:
|
part_entry |
modified entry from .disk.hdx.partitions |
|
mountpoint |
dir where the partition is mounted to |
- Return value:
|
global is_linux_root (map part_entry, string mountpoint) -> map
|
|
mount partition to 'mountpoint' and tries to figure out
whether its linux root partition.
- Parameters:
|
part_entry |
partition entry |
|
mountpoint |
dir to mount partition to |
- Return value:
|
|
nil if not recognized, otherwise map
$["dist": distro_name, "version": disrto_version, "boot_part": boot_partition] |
|
global scan_os () -> list
|
|
scans for installed linuxes.
- Return value:
|