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-17 10:01:07 -0500
commit67961699131bd807059d0329d91018d5d7b14355 (patch)
tree5d3178692ed4ac9dd04a3e630f1a248c0812a59d
parent3e9dd6eb32df153d5fdb2a764aafcb68a595adc1 (diff)
downloadlvm2-67961699131bd807059d0329d91018d5d7b14355.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 a855c6c31..0cd64960f 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -409,7 +409,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"