summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2014-04-17 10:01:07 -0500
committerDavid Teigland <teigland@redhat.com>2014-04-22 13:39:49 -0500
commitaa201f76372eed19a6edf57501fd239f048f943d (patch)
tree27dfd84009813fc7bad94a37ef2763352981a0b4
parent2e12941c55184320169b239d09b4fa91fc97bb28 (diff)
downloadlvm2-aa201f76372eed19a6edf57501fd239f048f943d.tar.gz
lvmdiskscan: ENABLE_ALL_DEVS flag
Technically this flag is only used by process_each_pv, which lvmdiskscan does not use at the moment. But add the flag to the lvmdiskscan command definition anyway as "documentation", and in case the implementation is changed to use process_each_pv.
-rw-r--r--tools/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/commands.h b/tools/commands.h
index d84224bda..0f44ca049 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -411,7 +411,7 @@ xx(lvmchange,
xx(lvmdiskscan,
"List devices that may be used as physical volumes",
- PERMITTED_READ_ONLY,
+ PERMITTED_READ_ONLY | ENABLE_ALL_DEVS,
"lvmdiskscan\n"
"\t[-d|--debug]\n"
"\t[-h|--help]\n"