diff options
Diffstat (limited to 'hooks/lvm2')
-rw-r--r-- | hooks/lvm2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,8 +3,8 @@ run_hook () { mkdevice () { /bin/mknod "/dev/mapper/control" c ${1} ${2}; } + /bin/modprobe -q dm-mod >/dev/null 2>&1 if [ -e "/sys/class/misc/device-mapper" ]; then - /bin/modprobe -q dm-mod >/dev/null 2>&1 read dev_t < /sys/class/misc/device-mapper/dev OLDIFS=$IFS; IFS=: mkdevice $dev_t |