[Fai-commit] r6233 - trunk/lib
Thomas Lange
lange at alioth.debian.org
Mon Dec 13 11:37:29 UTC 2010
Author: lange
Date: 2010-12-13 11:37:27 +0000 (Mon, 13 Dec 2010)
New Revision: 6233
Modified:
trunk/lib/task_sysinfo
Log:
start software raid when doing sysinfo
Modified: trunk/lib/task_sysinfo
===================================================================
--- trunk/lib/task_sysinfo 2010-12-13 11:20:23 UTC (rev 6232)
+++ trunk/lib/task_sysinfo 2010-12-13 11:37:27 UTC (rev 6233)
@@ -36,6 +36,11 @@
grep . /proc/ide/ide?/hd?/geometry /dev/null | sed -e 's#/proc/ide/ide./##' 2>/dev/null
[ -f /proc/scsi/scsi ] && cat /proc/scsi/scsi
+
+# start software raid
+/usr/share/mdadm/mkconf > /etc/mdadm/mdadm.conf
+/etc/init.d/mdadm-raid start
+
cat /proc/partitions
[ -x "$(which blkid)" ] && blkid
More information about the Fai-commit
mailing list