summaryrefslogtreecommitdiffstats
path: root/include/libzfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libzfs.h')
-rw-r--r--include/libzfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libzfs.h b/include/libzfs.h
index 3826c2cc8..273286ceb 100644
--- a/include/libzfs.h
+++ b/include/libzfs.h
@@ -57,6 +57,11 @@ extern "C" {
#define DISK_ROOT "/dev"
#define UDISK_ROOT "/dev/disk"
+/*
+ * Default wait time for a device name to be created.
+ */
+#define DISK_LABEL_WAIT (30 * 1000) /* 30 seconds */
+
#define DEFAULT_IMPORT_PATH_SIZE 7
extern char *zpool_default_import_path[DEFAULT_IMPORT_PATH_SIZE];