summaryrefslogtreecommitdiffstats
path: root/distropkg/mdadm.rules
blob: bd116338c8acb77efc2142b36b2dedc9b38831a5 (plain)
1
2
3
4
5
6
# 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|change", ENV{ID_FS_TYPE}=="linux_raid*", \
	RUN+="/sbin/mdadm -I --auto=yes $root/%k"