Public feed #724077

Stuff

public text v1 · immutable
Raw Edit
·published 2007-10-03 09:22 UTC
rendered paste body
Index: files/raid-start.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/raid-start.sh,v
retrieving revision 1.5
diff -u -3 -p -w -b -B -r1.5 raid-start.sh
--- files/raid-start.sh	10 Nov 2006 00:27:07 -0000	1.5
+++ files/raid-start.sh	3 Oct 2007 09:22:16 -0000
@@ -52,4 +52,11 @@ if [[ -x /sbin/mdadm && -f ${mdadm_conf}
 	fi
 fi
 
+partitioned_devs="$(find /dev -maxdepth 1 -name 'md_d*')"
+if [[ -n ${partitioned_devs} ]]; then
+	ebegin "Creating RAID device partitions"
+	/sbin/blockdev ${partitioned_devs}
+	eend 0
+fi
+
 # vim:ts=4