9 lines
323 B
Plaintext
9 lines
323 B
Plaintext
|
# This file causes block devices with Linux RAID (mdadm) signatures to
|
||
|
# automatically cause mdadm to be run.
|
||
|
# See udev(8) for syntax
|
||
|
|
||
|
SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="linux_raid_member", \
|
||
|
IMPORT{program}="/sbin/mdadm --examine --export $tempnode", \
|
||
|
RUN+="/sbin/mdadm --incremental $env{DEVNAME}"
|
||
|
|