]> git.datanom.net - omvzfs.git/blobdiff - src/Zpool.php
Fix to support /dev/disk/by-path when assembling an existing pool.
[omvzfs.git] / src / Zpool.php
index 0ef151512ce2e6e73708cc9a232fc9f058889758..6c06e3d97a3429f33b6d468ed06b114b895f94dd 100644 (file)
@@ -753,7 +753,7 @@ class OMVModuleZFSZpool extends OMVModuleAbstract {
                                                                        $dev = null;
                                                                }
                                                                $type = $match[1];
-                                                       } else if (preg_match("/^\s*([\w\d-]+)\s+/", $line, $match)) {
+                                                       } else if (preg_match("/^\s*([\w\d-a-z0-9\:\.\-]+)\s+/", $line, $match)) {
                                                                if ($dev)
                                                                        $dev .= " $match[1]";
                                                                else
This page took 0.028687 seconds and 5 git commands to generate.