SVN: geninitrd/trunk/mod-md.sh
arekm
arekm at pld-linux.org
Wed Aug 24 21:42:47 CEST 2011
Author: arekm
Date: Wed Aug 24 21:42:47 2011
New Revision: 12334
Modified:
geninitrd/trunk/mod-md.sh
Log:
Show /proc/mdstat contents in debuginitd mode.
Modified: geninitrd/trunk/mod-md.sh
==============================================================================
--- geninitrd/trunk/mod-md.sh (original)
+++ geninitrd/trunk/mod-md.sh Wed Aug 24 21:42:47 2011
@@ -185,6 +185,10 @@
echo "mdassemble" | add_linuxrc
+ if [ "$DEBUGINITRD" ]; then
+ echo "[ -e /proc/mdstat ] && echo "/proc/mdstat contents:" && cat /proc/mdstat" | add_linuxrc
+ fi
+
# needed to determine md-version
if [ "$do_md0" -eq 1 ]; then
mknod $DESTDIR/dev/md0 b 9 0
More information about the pld-cvs-commit
mailing list