diff options
Diffstat (limited to 'tools/commands.h')
-rw-r--r-- | tools/commands.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tools/commands.h b/tools/commands.h index b579420bd..014ddc951 100644 --- a/tools/commands.h +++ b/tools/commands.h @@ -352,7 +352,7 @@ xx(lvcreate, xx(lvdisplay, "Display information about a logical volume", - PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT, + PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | DLOCK_VG_SH, "lvdisplay\n" "\t[-a|--all]\n" "\t[-c|--colon]\n" @@ -568,7 +568,7 @@ xx(lvresize, xx(lvs, "Display information about logical volumes", - PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT, + PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | DLOCK_VG_SH, "lvs\n" "\t[-a|--all]\n" "\t[--aligned]\n" @@ -605,7 +605,7 @@ xx(lvs, xx(lvscan, "List all logical volumes in all volume groups", - PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT, + PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | DLOCK_VG_SH, "lvscan\n" "\t[-a|--all]\n" "\t[-b|--blockdevice]\n" @@ -662,7 +662,7 @@ xx(pvresize, xx(pvck, "Check the consistency of physical volume(s)", - 0, + DLOCK_VG_SH, "pvck " "\t[--commandprofile ProfileName]\n" "\t[-d|--debug]\n" @@ -728,7 +728,7 @@ xx(pvdata, xx(pvdisplay, "Display various attributes of physical volume(s)", - CACHE_VGMETADATA | PERMITTED_READ_ONLY | ENABLE_ALL_DEVS, + CACHE_VGMETADATA | PERMITTED_READ_ONLY | ENABLE_ALL_DEVS | DLOCK_VG_SH, "pvdisplay\n" "\t[-c|--colon]\n" "\t[--commandprofile ProfileName]\n" @@ -814,7 +814,7 @@ xx(pvremove, xx(pvs, "Display information about physical volumes", - CACHE_VGMETADATA | PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | ENABLE_ALL_DEVS, + CACHE_VGMETADATA | PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | ENABLE_ALL_DEVS | DLOCK_VG_SH, "pvs\n" "\t[-a|--all]\n" "\t[--aligned]\n" @@ -851,7 +851,7 @@ xx(pvs, xx(pvscan, "List all physical volumes", - PERMITTED_READ_ONLY, + PERMITTED_READ_ONLY | DLOCK_VG_SH, "pvscan\n" "\t[-b|--background]\n" "\t[--cache [-a|--activate ay] [ DevicePath | -j|--major major --minor minor]...]\n" @@ -883,7 +883,7 @@ xx(tags, xx(vgcfgbackup, "Backup volume group configuration(s)", - PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT, + PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | DLOCK_VG_SH, "vgcfgbackup\n" "\t[--commandprofile ProfileName]\n" "\t[-d|--debug]\n" @@ -965,7 +965,7 @@ xx(vgchange, xx(vgck, "Check the consistency of volume group(s)", - ALL_VGS_IS_DEFAULT, + ALL_VGS_IS_DEFAULT | DLOCK_VG_SH, "vgck " "\t[--commandprofile ProfileName]\n" "\t[-d|--debug]\n" @@ -1028,7 +1028,7 @@ xx(vgcreate, xx(vgdisplay, "Display volume group information", - PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT, + PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | DLOCK_VG_SH, "vgdisplay\n" "\t[-A|--activevolumegroups]\n" "\t[-c|--colon | -s|--short | -v|--verbose]\n" @@ -1072,7 +1072,7 @@ xx(vgdisplay, xx(vgexport, "Unregister volume group(s) from the system", - ALL_VGS_IS_DEFAULT, + ALL_VGS_IS_DEFAULT | DLOCK_VG_SH, "vgexport\n" "\t[-a|--all]\n" "\t[--commandprofile ProfileName]\n" @@ -1209,7 +1209,7 @@ xx(vgrename, xx(vgs, "Display information about volume groups", - PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT, + PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | DLOCK_VG_SH, "vgs\n" "\t[--aligned]\n" "\t[--binary]\n" @@ -1245,7 +1245,7 @@ xx(vgs, xx(vgscan, "Search for all volume groups", - PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT, + PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | DLOCK_VG_SH, "vgscan " "\t[--cache]\n" "\t[--commandprofile ProfileName]\n" |