summaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2012-03-06 02:30:49 +0000
committerAlasdair Kergon <agk@redhat.com>2012-03-06 02:30:49 +0000
commitb343d75a5ab76eabd99d056453f18e139ff997e9 (patch)
treed7e38b055f720df8390144b7d77d866f2137a181 /udev
parentaeaec150c0e521bd724dbcc4896d6da93babfd2a (diff)
downloadlvm2-b343d75a5ab76eabd99d056453f18e139ff997e9.tar.gz
lvm2-b343d75a5ab76eabd99d056453f18e139ff997e9.tar.xz
lvm2-b343d75a5ab76eabd99d056453f18e139ff997e9.zip
Switch pvscan --cache major:minor to --major --minor.
Diffstat (limited to 'udev')
-rw-r--r--udev/69-dm-lvm-metad.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/69-dm-lvm-metad.rules b/udev/69-dm-lvm-metad.rules
index e96c2c55..d6e41695 100644
--- a/udev/69-dm-lvm-metad.rules
+++ b/udev/69-dm-lvm-metad.rules
@@ -20,6 +20,6 @@ SUBSYSTEM!="block", GOTO="lvm_end"
KERNEL=="dm-[0-9]*", ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="lvm_end"
# Only process devices already marked as a PV - this requires blkid to be called before.
-ENV{ID_FS_TYPE}=="LVM2_member|LVM1_member", RUN+="$env{DM_SBIN_PATH}/pvscan --cache $major:$minor"
+ENV{ID_FS_TYPE}=="LVM2_member|LVM1_member", RUN+="$env{DM_SBIN_PATH}/pvscan --cache --major $major --minor $minor"
LABEL="lvm_end"