summaryrefslogtreecommitdiff
path: root/tools/tools.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2021-07-27 15:28:34 -0500
committerDavid Teigland <teigland@redhat.com>2021-08-05 13:20:26 -0500
commitd3d6a0e820ff930a5a7c137e7bbeb0225e251df7 (patch)
treee8d305572af8d62336cc26046ff0b76cb8bb76af /tools/tools.h
parentbf6dfc248a1de0250eebe8229cae40d55c247ddd (diff)
downloadlvm2-d3d6a0e820ff930a5a7c137e7bbeb0225e251df7.tar.gz
devices file: limit warnings about devices file entries not found
All commands were printing a warning if a devices file entry was not found. Limit this to commands that report/display lvm state.
Diffstat (limited to 'tools/tools.h')
-rw-r--r--tools/tools.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tools.h b/tools/tools.h
index d4d3b9866..708a78d1c 100644
--- a/tools/tools.h
+++ b/tools/tools.h
@@ -141,6 +141,8 @@ struct arg_value_group_list {
#define ALLOW_EXPORTED 0x00008000
/* Command checks and reports warning if devs used by LV are incorrect. */
#define CHECK_DEVS_USED 0x00010000
+/* Command prints devices file entries that were not found. */
+#define DEVICE_ID_NOT_FOUND 0x00020000
void usage(const char *name);