From: cajus Date: Tue, 23 Mar 2010 13:56:35 +0000 (+0000) Subject: Added disabled type to filesystems X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1488ffa136c10d2a4f506043576bf3ccf02fe452;p=gosa.git Added disabled type to filesystems git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17029 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiPartition.inc b/gosa-plugins/fai/admin/fai/class_faiPartition.inc index 9d83e2bb5..ad553a234 100644 --- a/gosa-plugins/fai/admin/fai/class_faiPartition.inc +++ b/gosa-plugins/fai/admin/fai/class_faiPartition.inc @@ -200,7 +200,8 @@ class faiPartition extends plugin "ext4" => _("ext4"), "reiserfs" => _("reiser fs"), "xfs" => _("xfs"), - "btrfs" => _("btrfs")); + "btrfs" => _("btrfs"), + "-" => "-"); $smarty->assign("partitionTypes", $types); $smarty->assign("partitionSizeTypes", $partitionSizeTypes); @@ -408,7 +409,7 @@ class faiPartition extends plugin } // check mount point - if($this->FAIfsType != "swap"){ + if($this->FAIfsType != "swap" && $this->FAIfsType != "-"){ if(!preg_match("#^/#",$this->FAImountPoint)){ $msgs[] = msgPool::invalid(_("Mount point")); }