i do neither use nor about lvm, however, something like this in e.g. /lib/udev/rules.d/99-btrfs.rules should come close to it:

---snip---
SUBSYSTEM!="block", GOTO="btrfs_end"
ENV{ID_FS_TYPE}!="LVM2_member|LVM1_member", GOTO="btrfs_lvm_end"
RUN+="/sbin/modprobe btrfs"
RUN+="/sbin/btrfs device scan $env{DEVNAME}"

LABEL="btfs_lvm_end"
---snap---

--
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          [email protected]
Internet:       http://people.progress-technologies.net/~daniel.baumann/


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to