90dm/dm-pre-udev.sh: load dm-mirror module
authorHarald Hoyer <harald@redhat.com>
Fri, 5 Aug 2011 11:30:57 +0000 (13:30 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 11 Aug 2011 12:27:24 +0000 (14:27 +0200)
modules.d/90dm/dm-pre-udev.sh

index b7979c836a02422a3f25310cf87605579fecc1ea..73e443e37ec0467b8d9c6eccd01c26ae3da03b88 100755 (executable)
@@ -2,3 +2,4 @@
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 strstr "$(cat /proc/misc)" device-mapper || modprobe dm_mod
+modprobe dm_mirror 2>/dev/null