summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a26a66d)
raw | patch | inline | side by side (parent: a26a66d)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Mar 2010 13:42:18 +0000 (13:42 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Mar 2010 13:42:18 +0000 (13:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17028 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiDiskEntry.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiDiskEntry.inc b/gosa-plugins/fai/admin/fai/class_faiDiskEntry.inc
index d0c041fd6ac6e4db8e6c57b4442c0d7f1b8e1482..f41a5eccaee9a0c39ef4cef7ec1c4e0955251e5a 100644 (file)
*/
function getAvailablePartitions()
{
-
$may = $used = array();
foreach($this->parent->disks as $disk){
}
}
- // Collect all available disks
- if($disk['FAIdiskType'] == "disk"){
+ // Collect all available partitions
+ if($disk['FAIdiskType'] == "disk" || $disk['FAIdiskType'] == "raid"){
$name = $part['cn'];
if(!isset($this->lvmDevices[$name])){
$may[] = $name;