Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bootloader::core::elilo(3) [suse man page]

Bootloader::Core::ELILO(3)				User Contributed Perl Documentation				Bootloader::Core::ELILO(3)

NAME
Bootloader::Core::ELILO - ELILO library for bootloader configuration PREFACE
This package is the ELILO library of the bootloader configuration SYNOPSIS
use Bootloader::Core::ELILO; "$obj_ref = Bootloader::Core::ELILO->new ();" "$files_ref = Bootloader::Core::ELILO->ListFiles ();" "$status = Bootloader::Core::ELILO->ParseLines (\%files, $avoid_reading_device_map);" "$files_ref = Bootloader::Core::ELILO->CreateLines ();" "$status = Bootloader::Core::ELILO->UpdateBootloader ();" "$status = Bootloader::Core::ELILO->InitializeBootloader ();" DESCRIPTION
"$obj_ref = Bootloader::Core::ELILO->new ();" Creates an instance of the Bootloader::Core::ELILO class. First argumetn is old configuration and second is architecture string like x86_64 or ia64 "$files_ref = Bootloader::Core::ELILO->ListFiles ();" Returns the list of the configuration files of the bootloader Returns undef on fail "$status = Bootloader::Core::ELILO->FixSectionName ($name, $names_ref);" "$status = Bootloader::Core::ELILO->ParseLines (\%files, $avoid_reading_device_map);" Parses the contents of all files and stores the settings in the internal structures. As first argument, it takes a hash reference, where keys are file names and values are references to lists, each member is one line of the file. As second argument, it takes a boolean flag that, if set to a true value, causes it to skip updating the internal device_map information. The latter argument is not used for ELILO. Returns undef on fail, defined nonzero value on success. "$line = Bootloader::Core::ELILO->CreateSingleMenuFileLine ($key, $value, $separator);" Transforms a line (hash) to a string to save. As arguments it takes the the key, the value and a string to separate the key and the value. Returns a string. "$files_ref = Bootloader::Core::ELILO->CreateLines ();" creates contents of all files from the internal structures. Returns a hash reference in the same format as argument of ParseLines on success, or undef on fail. "$glob_info = $Bootloader::Core->Global2Info (@glob_lines, @section_names);" Gets the general information from the global section of the menu file. This information usually means the default section, graphical menu, timeout etc. As argument it takes a reference to the list of hashes representing lines of the section, returns a reference to a hash containing the important information. "$lines_ref = Bootloader::Core->Info2Global (\%section_info, @section_names);" Takes the info about the global options and uses it to construct the list of lines. The info about global option also contains the original lines. As parameter, takes the section info (reference to a hash) and a list of section names, returns the lines (a list of hashes). "$lines_ref = Bootloader::Core->Info2Section (\%section_info, @section_names);" Takes the info about the section and uses it to construct the list of lines. The info about the section also contains the original lines. As parameter, takes the section info (reference to a hash), returns the lines (a list of hashes). "$sectin_info_ref = Bootloader::Core->Section2Info (@section_lines);" Gets the information about the section. As argument, takes a reference to the list of lines building the section, returns a reference to a hash containing information about the section. "$status = Bootloader::Core::ELILO->UpdateBootloader ();" Updates the settings in the system. Backs original configuration files up and replaces them with the ones with the '.new' suffix. Also performs operations needed to make the change effect (run '/sbin/elilo'). Returns undef on fail, defined nonzero value on success. "$status = Bootloader::Core::ELILO->InitializeBootloader ();" Initializes the firmware to boot the bootloader. Returns undef on fail, defined nonzero value otherwise perl v5.12.1 2010-05-25 Bootloader::Core::ELILO(3)
Man Page