Updated paths to scan when importing zpool(s)

Added by-partlabel and by-partuuid to the default device search
path.  Made made device names in by-label more preferable.

Signed-off-by: Thijs Cramer <thijs.cramer@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3892
This commit is contained in:
Thijs Cramer
2016-02-04 22:34:49 +01:00
committed by Brian Behlendorf
parent 7d11e37e55
commit 95003f7098
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ extern "C" {
*/
#define DISK_LABEL_WAIT (30 * 1000) /* 30 seconds */
#define DEFAULT_IMPORT_PATH_SIZE 7
#define DEFAULT_IMPORT_PATH_SIZE 9
extern char *zpool_default_import_path[DEFAULT_IMPORT_PATH_SIZE];
/*