]> git.datanom.net - omvzfs.git/commitdiff
Fix broken fstab entries.
authorNiclas Berglind <nb@kjam.se>
Thu, 11 Sep 2014 06:48:15 +0000 (08:48 +0200)
committerMichael Rasmussen <mir@datanom.net>
Thu, 11 Sep 2014 16:21:23 +0000 (18:21 +0200)
Signed-off-by: Niclas Berglind <nb@kjam.se>
src/Utils.php

index 527d0f34890fea6258e446c289dd44e682629148..978901e18d44d118827db44896976e46daf7e8a0 100644 (file)
@@ -45,6 +45,7 @@ class OMVModuleZFSUtil {
                foreach($out as $name) {
                        $pooluuid = OMVModuleZFSUtil::getUUIDbyName($name);
                        if (isset($pooluuid)) {
+                               $pooluuid = "UUID=" . $pooluuid;
                                $xpath = "//system/fstab/mntent[fsname=" . $pooluuid . "]";
                                $object = $xmlConfig->get($xpath);
                                if(is_null($object)) {
This page took 0.029478 seconds and 5 git commands to generate.