You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
373 B
14 lines
373 B
# hacky rules to try to activate lvm when we get new block devs... |
|
# |
|
# Copyright 2008, Red Hat, Inc. |
|
# Jeremy Katz <katzj@redhat.com> |
|
|
|
|
|
SUBSYSTEM!="block", GOTO="lvm_end" |
|
ACTION!="add|change", GOTO="lvm_end" |
|
|
|
KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode" |
|
ENV{ID_FS_TYPE}=="LVM2_member", RUN+="/sbin/lvm vgscan", RUN+="/sbin/lvm vgchange -ay" |
|
|
|
|
|
LABEL="lvm_end"
|
|
|