aboutsummaryrefslogtreecommitdiffstats
path: root/installer/5/cs/content/securityLevel.html
diff options
context:
space:
mode:
Diffstat (limited to 'installer/5/cs/content/securityLevel.html')
-rw-r--r--installer/5/cs/content/securityLevel.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/5/cs/content/securityLevel.html b/installer/5/cs/content/securityLevel.html
index 17dea551..d0cfda3d 100644
--- a/installer/5/cs/content/securityLevel.html
+++ b/installer/5/cs/content/securityLevel.html
@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=7"/>
<title>Úroveň zabezpečení</title><meta name="generator" content="DocBook XSL-NS Stylesheets V1.75.2"/><link rel="home" href="index.html" title="Instalace pomocí DrakX"/><link rel="up" href="index.html" title="Instalace pomocí DrakX"/><link rel="prev" href="soundConfig.html" title="Nastavení zvuku"/><link rel="next" href="installUpdates.html" title="Aktualizace"/><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script type="text/javascript">
//The id for tree cookie
- var treeCookieId = "treeview-1967";
+ var treeCookieId = "treeview-2011";
var language = "en";
var w = new Object();
//Localization
@@ -32,4 +32,4 @@
</a></td><td><img src="../../common/images/highlight-blue.gif" alt="H" height="25px" onclick="toggleHighlight()" id="showHideHighlight" style="cursor:pointer" title="Toggle search result highlighting"/></td><td><a accesskey="p" href="soundConfig.html">Předcházející</a> 
|
<a accesskey="n" href="installUpdates.html">Další</a></td></tr></table></div><div id="headerlogo"><img src="mageia-2013-200p.png" alt="Company Logo"/></div><h1 id="pagetitle">Úroveň zabezpečení<br/> </h1></div><div id="content"><!----><div xml:lang="cs" class="section" title="Úroveň zabezpečení"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="securityLevel"><!----></a>Úroveň zabezpečení</h2></div></div></div><div class="mediaobject" align="center"><img src="images/dx2-securityLevel.png" align="middle"/></div><p><a id="securityLevel-pa1"><!----></a>You can adjust your security level here.</p><p><a id="securityLevel-pa2"><!----></a>Leave the default settings as they are, if you don't know what to choose.</p><p><a id="securityLevel-pa3"><!----></a>After install, it will always be possible to adjust your security settings
-in the <span class="guilabel">Security</span> part of the Mageia Control Center.</p></div><script xmlns="" type="text/javascript" src="main.js"><!----></script><hr xmlns=""/><div xmlns="" class="copyright">© Mageia</div><div xmlns="" class="license"><a href="index.html#CC_BY-SA">CC BY-SA 3.0</a></div><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="soundConfig.html">Předcházející</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="installUpdates.html">Další</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Domů</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div><div id="leftnavigation"><div id="tabs"><ul><li><a href="#treeDiv"><em>Contents</em></a></li><li><a href="#searchDiv"><em>Hledat</em></a></li></ul><div id="treeDiv"><img src="../../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"/><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file section"><a href="Select-and-use-ISOs.html">Select and use ISOs</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e18">Media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e20">Definition</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e25">Classical installation media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e27">Common features</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e34">DVD</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e45">DVD dual arch</a></span></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e56">Live media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e58">Common features</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e72">Live CD KDE</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e81">Live CD GNOME</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e90">Live DVD KDE</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e99">Live DVD GNOME</a></span></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e108">Boot-only CD media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e110">Common features</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e121">boot.iso</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e126">boot-nonfree.iso</a></span></li></ul></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e131">Downloading and Checking Media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e133">Downloading</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e144">Checking the downloaded media integrity</a></span></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e156">Burn or dump the ISO</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e159">Burning the ISO to a CD/DVD</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e164">Zapsat ISO na USB flash</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e170">Using Mageia</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e205">Using Windows</a></span></li></ul></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e213">Mageia Installation</a></span></li></ul></li><li><span class="file section"><a href="installer.html">DrakX, Mageia instalátor</a></span><ul><li><span class="file section"><a href="installer.html#installationSteps">Instalační kroky</a></span></li><li><span class="file section"><a href="installer.html#installationProblems">Problémy při instalaci a možné řešení</a></span><ul><li><span class="file section"><a href="installer.html#noX">Bez grafického rozhraní</a></span></li><li><span class="file section"><a href="installer.html#installFreezes">Instalace zamrzne</a></span></li><li><span class="file section"><a href="installer.html#kernelOptions">problém paměti RAM</a></span></li><li><span class="file section"><a href="installer.html#DynamicPartitions">Dynamic partitions</a></span></li></ul></li></ul></li><li><span class="file section"><a href="selectLanguage.html">Prosím zvolte si jazyk, který chcete používat</a></span></li><li><span class="file section"><a href="acceptLicense.html">Licence a Poznámky k vydání</a></span><ul><li><span class="file section"><a href="acceptLicense.html#license">Licenční ujednání</a></span></li><li><span class="file section"><a href="acceptLicense.html#releaseNotes">Poznámky k vydání</a></span></li></ul></li><li><span class="file section"><a href="setupSCSI.html">Nastavení SCSI</a></span></li><li><span class="file section"><a href="selectInstallClass.html">Instalace nebo Aktualizace</a></span></li><li><span class="file section"><a href="selectKeyboard.html">Klávesnice</a></span></li><li><span class="file section"><a href="doPartitionDisks.html">Rozdělení disku</a></span></li><li><span class="file section"><a href="ask_mntpoint_s.html">Zvolte si přípojné body</a></span></li><li><span class="file section"><a href="takeOverHdConfirm.html">Confirm hard disk to be formatted</a></span></li><li><span class="file section"><a href="diskdrake.html">Vlastní rozdělení disku pomocí DiskDrake</a></span></li><li><span class="file section"><a href="formatPartitions.html">Formátování</a></span></li><li><span class="file section"><a href="add_supplemental_media.html">Výběr zdroje (Nastavení doplňkových instalačních zdojů)</a></span></li><li><span class="file section"><a href="media_selection.html">Výběr zdrojů (Nonfree)</a></span></li><li><span class="file section"><a href="chooseDesktop.html">Výběr pracovního prostředí</a></span></li><li><span class="file section"><a href="choosePackageGroups.html">Výběr skupiny balíčků</a></span></li><li><span class="file section"><a href="minimal-install.html">Minimální instalace</a></span></li><li><span class="file section"><a href="choosePackagesTree.html">Výběr jednotlivých balíčků</a></span></li><li><span class="file section"><a href="addUser.html">Správa uživatele a supruživatele</a></span><ul><li><span class="file section"><a href="addUser.html#root-password">Nastavení hesla správce (uživetele root):</a></span></li><li><span class="file section"><a href="addUser.html#enterUser">Zadejte uživatele</a></span></li><li><span class="file section"><a href="addUser.html#addUserAdvanced">Rozšířená správa uživatelů</a></span></li></ul></li><li><span class="file section"><a href="configureX_chooser.html">Nastavení grafické karty a monitoru</a></span></li><li><span class="file section"><a href="configureX_card_list.html">Výběr X Serveru (Konfigurace vaší grafické karty)</a></span></li><li><span class="file section"><a href="configureX_monitor.html">Výběr monitoru</a></span></li><li><span class="file section"><a href="setupBootloader.html">Základní nastavení zaváděcího programu</a></span><ul><li><span class="file section"><a href="setupBootloader.html#usingMageiaBootloader">Using a Mageia bootloader</a></span></li><li><span class="file section"><a href="setupBootloader.html#usingExistingBootloader">Using an existing bootloader</a></span></li><li><span class="file section"><a href="setupBootloader.html#advancedOptionBootloader">Bootloader advanced option</a></span></li></ul></li><li><span class="file section"><a href="setupBootloaderAddEntry.html">Přidaní nebo změna položky v nabídce zavaděče</a></span></li><li><span class="file section"><a href="misc-params.html">Souhrn různých parametrů</a></span><ul><li><span class="file section"><a href="misc-params.html#misc-params-system">Systémové parametry</a></span></li><li><span class="file section"><a href="misc-params.html#misc-params-hardware">Hardwarové parametry</a></span></li><li><span class="file section"><a href="misc-params.html#misc-params-network">Parametry sítě a Internetu</a></span></li><li><span class="file section"><a href="misc-params.html#misc-params-security">Bezpečnost</a></span></li></ul></li><li><span class="file section"><a href="configureTimezoneUTC.html">Nastavení časového pásma</a></span></li><li><span class="file section"><a href="selectCountry.html">Vyberte zemi</a></span><ul><li><span class="file section"><a href="selectCountry.html#inputMethod">Vstupní metoda</a></span></li></ul></li><li><span class="file section"><a href="configureServices.html">Nastavení služeb</a></span></li><li><span class="file section"><a href="selectMouse.html">Výběr myši</a></span></li><li><span class="file section"><a href="soundConfig.html">Nastavení zvuku</a></span><ul><li><span class="file section"><a href="soundConfig.html#soundConfig-Advanced">Rozšíření</a></span></li></ul></li><li id="webhelp-currentid"><span class="file section"><a href="securityLevel.html">Úroveň zabezpečení</a></span></li><li><span class="file section"><a href="installUpdates.html">Aktualizace</a></span></li><li><span class="file section"><a href="exitInstall.html">Gratulujeme</a></span></li><li><span class="file section"><a href="uninstall-Mageia.html">Uninstalling Mageia</a></span><ul><li><span class="file section"><a href="uninstall-Mageia.html#d4e1064">Howto</a></span></li></ul></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(ditaSearch_Form);return false" name="ditaSearch_Form" class="searchForm"><fieldset class="searchFieldSet"><legend>Hledat</legend><center><input id="textToSearch" name="textToSearch" type="text" class="searchText"/> &nbsp; <input onclick="Verifie(ditaSearch_Form)" type="button" class="searchButton" value="Go" id="doSearch"/></center></fieldset></form></div><div id="searchResults"><center/></div></div></div></div></div></body></html>
+in the <span class="guilabel">Security</span> part of the Mageia Control Center.</p></div><script xmlns="" type="text/javascript" src="main.js"><!----></script><hr xmlns=""/><div xmlns="" class="copyright">© Mageia</div><div xmlns="" class="license"><a href="index.html#CC_BY-SA">CC BY-SA 3.0</a></div><div id="upload_date">Uploaded on 02/07/2015</div><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="soundConfig.html">Předcházející</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="installUpdates.html">Další</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Domů</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div><div id="leftnavigation"><div id="tabs"><ul><li><a href="#treeDiv"><em>Contents</em></a></li><li><a href="#searchDiv"><em>Hledat</em></a></li></ul><div id="treeDiv"><img src="../../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"/><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file section"><a href="Select-and-use-ISOs.html">Select and use ISOs</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e18">Media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e20">Definition</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e25">Classical installation media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e27">Common features</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e34">DVD</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e45">DVD dual arch</a></span></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e56">Live media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e58">Common features</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e72">Live CD KDE</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e81">Live CD GNOME</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e90">Live DVD KDE</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e99">Live DVD GNOME</a></span></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e108">Boot-only CD media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e110">Common features</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e121">boot.iso</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e126">boot-nonfree.iso</a></span></li></ul></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e131">Downloading and Checking Media</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e133">Downloading</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e144">Checking the downloaded media integrity</a></span></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e156">Burn or dump the ISO</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e159">Burning the ISO to a CD/DVD</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e164">Zapsat ISO na USB flash</a></span><ul><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e170">Using Mageia</a></span></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e205">Using Windows</a></span></li></ul></li></ul></li><li><span class="file section"><a href="Select-and-use-ISOs.html#d4e213">Mageia Installation</a></span></li></ul></li><li><span class="file section"><a href="installer.html">DrakX, Mageia instalátor</a></span><ul><li><span class="file section"><a href="installer.html#installationSteps">Instalační kroky</a></span></li><li><span class="file section"><a href="installer.html#installationProblems">Problémy při instalaci a možné řešení</a></span><ul><li><span class="file section"><a href="installer.html#noX">Bez grafického rozhraní</a></span></li><li><span class="file section"><a href="installer.html#installFreezes">Instalace zamrzne</a></span></li><li><span class="file section"><a href="installer.html#kernelOptions">problém paměti RAM</a></span></li><li><span class="file section"><a href="installer.html#DynamicPartitions">Dynamic partitions</a></span></li></ul></li></ul></li><li><span class="file section"><a href="selectLanguage.html">Prosím zvolte si jazyk, který chcete používat</a></span></li><li><span class="file section"><a href="acceptLicense.html">Licence a Poznámky k vydání</a></span><ul><li><span class="file section"><a href="acceptLicense.html#license">Licenční ujednání</a></span></li><li><span class="file section"><a href="acceptLicense.html#releaseNotes">Poznámky k vydání</a></span></li></ul></li><li><span class="file section"><a href="setupSCSI.html">Nastavení SCSI</a></span></li><li><span class="file section"><a href="selectInstallClass.html">Instalace nebo Aktualizace</a></span></li><li><span class="file section"><a href="selectKeyboard.html">Klávesnice</a></span></li><li><span class="file section"><a href="doPartitionDisks.html">Rozdělení disku</a></span></li><li><span class="file section"><a href="ask_mntpoint_s.html">Zvolte si přípojné body</a></span></li><li><span class="file section"><a href="takeOverHdConfirm.html">Confirm hard disk to be formatted</a></span></li><li><span class="file section"><a href="diskdrake.html">Vlastní rozdělení disku pomocí DiskDrake</a></span></li><li><span class="file section"><a href="formatPartitions.html">Formátování</a></span></li><li><span class="file section"><a href="add_supplemental_media.html">Výběr zdroje (Nastavení doplňkových instalačních zdojů)</a></span></li><li><span class="file section"><a href="media_selection.html">Výběr zdrojů (Nonfree)</a></span></li><li><span class="file section"><a href="chooseDesktop.html">Výběr pracovního prostředí</a></span></li><li><span class="file section"><a href="choosePackageGroups.html">Výběr skupiny balíčků</a></span></li><li><span class="file section"><a href="minimal-install.html">Minimální instalace</a></span></li><li><span class="file section"><a href="choosePackagesTree.html">Výběr jednotlivých balíčků</a></span></li><li><span class="file section"><a href="addUser.html">Správa uživatele a supruživatele</a></span><ul><li><span class="file section"><a href="addUser.html#root-password">Nastavení hesla správce (uživetele root):</a></span></li><li><span class="file section"><a href="addUser.html#enterUser">Zadejte uživatele</a></span></li><li><span class="file section"><a href="addUser.html#addUserAdvanced">Rozšířená správa uživatelů</a></span></li></ul></li><li><span class="file section"><a href="configureX_chooser.html">Nastavení grafické karty a monitoru</a></span></li><li><span class="file section"><a href="configureX_card_list.html">Výběr X Serveru (Konfigurace vaší grafické karty)</a></span></li><li><span class="file section"><a href="configureX_monitor.html">Výběr monitoru</a></span></li><li><span class="file section"><a href="setupBootloader.html">Základní nastavení zaváděcího programu</a></span><ul><li><span class="file section"><a href="setupBootloader.html#usingMageiaBootloader">Using a Mageia bootloader</a></span></li><li><span class="file section"><a href="setupBootloader.html#usingExistingBootloader">Using an existing bootloader</a></span></li><li><span class="file section"><a href="setupBootloader.html#advancedOptionBootloader">Bootloader advanced option</a></span></li></ul></li><li><span class="file section"><a href="setupBootloaderAddEntry.html">Přidaní nebo změna položky v nabídce zavaděče</a></span></li><li><span class="file section"><a href="misc-params.html">Souhrn různých parametrů</a></span><ul><li><span class="file section"><a href="misc-params.html#misc-params-system">Systémové parametry</a></span></li><li><span class="file section"><a href="misc-params.html#misc-params-hardware">Hardwarové parametry</a></span></li><li><span class="file section"><a href="misc-params.html#misc-params-network">Parametry sítě a Internetu</a></span></li><li><span class="file section"><a href="misc-params.html#misc-params-security">Bezpečnost</a></span></li></ul></li><li><span class="file section"><a href="configureTimezoneUTC.html">Nastavení časového pásma</a></span></li><li><span class="file section"><a href="selectCountry.html">Vyberte zemi</a></span><ul><li><span class="file section"><a href="selectCountry.html#inputMethod">Vstupní metoda</a></span></li></ul></li><li><span class="file section"><a href="configureServices.html">Nastavení služeb</a></span></li><li><span class="file section"><a href="selectMouse.html">Výběr myši</a></span></li><li><span class="file section"><a href="soundConfig.html">Nastavení zvuku</a></span><ul><li><span class="file section"><a href="soundConfig.html#soundConfig-Advanced">Rozšíření</a></span></li></ul></li><li id="webhelp-currentid"><span class="file section"><a href="securityLevel.html">Úroveň zabezpečení</a></span></li><li><span class="file section"><a href="installUpdates.html">Aktualizace</a></span></li><li><span class="file section"><a href="exitInstall.html">Gratulujeme</a></span></li><li><span class="file section"><a href="uninstall-Mageia.html">Uninstalling Mageia</a></span><ul><li><span class="file section"><a href="uninstall-Mageia.html#d4e1091">Howto</a></span></li></ul></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(ditaSearch_Form);return false" name="ditaSearch_Form" class="searchForm"><fieldset class="searchFieldSet"><legend>Hledat</legend><center><input id="textToSearch" name="textToSearch" type="text" class="searchText"/> &nbsp; <input onclick="Verifie(ditaSearch_Form)" type="button" class="searchButton" value="Go" id="doSearch"/></center></fieldset></form></div><div id="searchResults"><center/></div></div></div></div></div></body></html>
pe => defaultFS(), ratio => 3, min_hd_size => MB(10000) }, { mntpoint => "/tmp", size => MB(150), fs_type => defaultFS(), ratio => 2, maxsize => MB(4000) }, ], ); sub init_efi_suggestions { my ($fstab) = @_; state $done; return if $done; $done++; # only suggests /boot/EFI if there's not already one: return if !is_uefi() || grep { isESP($_) } @$fstab; foreach (values %suggestions) { @$_ = ({ mntpoint => "/boot/EFI", size => MB(100), pt_type => 0xef, ratio => 1, maxsize => MB(300) }, @$_); } } my @suggestions_mntpoints = ( "/var/ftp", "/var/www", "/boot", '/usr/local', '/opt', "/mnt/windows", ); #-###################################################################################### #- Functions #-###################################################################################### sub recompute_loopbacks { my ($all_hds) = @_; my @fstab = fs::get::fstab($all_hds); @{$all_hds->{loopbacks}} = map { isPartOfLoopback($_) ? @{$_->{loopback}} : () } @fstab; } sub raids { my ($hds) = @_; my @parts = fs::get::hds_fstab(@$hds); my @l = grep { isRawRAID($_) } @parts or return []; log::l("looking for raids in " . join(' ', map { $_->{device} } @l)); require raid; raid::detect_during_install(@l) if $::isInstall; raid::get_existing(@l); } sub dmcrypts { my ($all_hds) = @_; my @parts = fs::get::fstab($all_hds); my @l = grep { fs::type::isRawLUKS($_) } @parts or return; log::l("using dm-crypt from " . join(' ', map { $_->{device} } @l)); require fs::dmcrypt; fs::dmcrypt::read_crypttab($all_hds); fs::dmcrypt::get_existing(@l); } sub lvms { my ($all_hds) = @_; my @pvs = grep { isRawLVM($_) } fs::get::fstab($all_hds) or return; scan_pvs(@pvs); } sub scan_pvs { my (@pvs) = @_; log::l("looking for vgs in " . join(' ', map { $_->{device} } @pvs)); #- otherwise vgscan will not find them devices::make($_->{device}) foreach @pvs; require lvm; my @lvms; foreach (@pvs) { my $name = lvm::pv_to_vg($_) or next; my $lvm = find { $_->{VG_name} eq $name } @lvms; if (!$lvm) { $lvm = new lvm($name); lvm::update_size($lvm); lvm::get_lvs($lvm); push @lvms, $lvm; } $_->{lvm} = $name; push @{$lvm->{disks}}, $_; } @lvms; } sub handle_dmraid { my ($drives, $o_in) = @_; @$drives > 1 or return; devices::make($_->{device}) foreach @$drives; require fs::dmraid; eval { fs::dmraid::init() } or log::l("dmraid::init failed"), return; my @vgs = fs::dmraid::vgs(); log::l(sprintf('dmraid: ' . join(' ', map { "$_->{device} [" . join(' ', @{$_->{disks}}) . "]" } @vgs))); if ($o_in && @vgs && $::isInstall) { @vgs = grep { $o_in->ask_yesorno('', N("BIOS software RAID detected on disks %s. Activate it?", join(' ', @{$_->{disks}})), 1); } @vgs or do { fs::dmraid::call_dmraid('-an'); return; }; } if (!$::isInstall) { fs::dmraid::migrate_device_names($_) foreach @vgs; } log::l("using dmraid on " . join(' ', map { $_->{device} } @vgs)); my @used_hds = map { my $part = fs::get::device2part($_, $drives) or log::l("handle_dmraid: can't find $_ in known drives"); if_($part, $part); } map { @{$_->{disks}} } @vgs; @$drives = difference2($drives, \@used_hds); push @$drives, @vgs; } sub get_hds { my ($o_flags, $o_in) = @_;