summaryrefslogtreecommitdiff
path: root/lib/device/dev-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/device/dev-cache.h')
-rw-r--r--lib/device/dev-cache.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/device/dev-cache.h b/lib/device/dev-cache.h
index 46c86c27a..ae5a2853b 100644
--- a/lib/device/dev-cache.h
+++ b/lib/device/dev-cache.h
@@ -34,7 +34,6 @@ struct dev_filter {
const char *name;
};
-int dev_cache_index_devs(void);
struct dm_list *dev_cache_get_dev_list_for_vgid(const char *vgid);
struct dm_list *dev_cache_get_dev_list_for_lvid(const char *lvid);
@@ -74,4 +73,9 @@ void dev_cache_failed_path(struct device *dev, const char *path);
bool dev_cache_has_md_with_end_superblock(struct dev_types *dt);
+int get_sysfs_value(const char *path, char *buf, size_t buf_size, int error_if_no_value);
+
+void setup_devices(struct cmd_context *cmd);
+void setup_device(struct cmd_context *cmd, const char *devname);
+
#endif