summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hook-functions6
1 files changed, 6 insertions, 0 deletions
diff --git a/hook-functions b/hook-functions
index c7308b8..744fc91 100644
--- a/hook-functions
+++ b/hook-functions
@@ -305,6 +305,12 @@ dep_add_modules()
elif [ "${root#/dev/mmcblk}" != "${root}" ]; then
block=${root#/dev/}
block=${block%%p[0-9]*}
+
+ # DAC960 - good old mylex raid - root dev format /dev/rd/cXdXpX
+ elif [ "${root#/dev/rd/c}" != "${root}" ]; then
+ block="rd!c${root#/dev/rd/c}"
+ block=${block%%p[0-9]*}
+
# classical root device
else
block=${root#/dev/}