# ChangeLog for sys-fs/mdadm
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.51 2006/10/26 19:53:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.52 2006/11/10 00:27:07 vapier Exp $
+
+ 10 Nov 2006; Mike Frysinger <vapier@gentoo.org> files/raid-start.sh,
+ files/raid-stop.sh:
+ Check both /etc/mdadm/mdadm.conf and /etc/mdadm.conf #150050 by Henning Schild.
*mdadm-2.5.5 (26 Oct 2006)
# /lib/rcscripts/addons/raid-start.sh: Setup raid volumes at boot
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/raid-start.sh,v 1.4 2005/06/10 02:09:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/raid-start.sh,v 1.5 2006/11/10 00:27:07 vapier Exp $
[[ -f /proc/mdstat ]] || exit 0
fi
# Start software raid with mdadm (new school)
-if [[ -x /sbin/mdadm && -f /etc/mdadm.conf ]] ; then
- devs=$(awk '/^[[:space:]]*ARRAY/ { print $2 }' /etc/mdadm.conf)
+mdadm_conf="/etc/mdadm/mdadm.conf"
+[[ -e /etc/mdadm.conf ]] && mdadm_conf="/etc/mdadm.conf"
+if [[ -x /sbin/mdadm && -f ${mdadm_conf} ]] ; then
+ devs=$(awk '/^[[:space:]]*ARRAY/ { print $2 }' ${mdadm_conf})
if [[ -n ${devs} ]] ; then
create_devs ${devs}
ebegin "Starting up RAID devices (mdadm)"
# /lib/rcscripts/addons/raid-stop.sh: Stop raid volumes at shutdown
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/raid-stop.sh,v 1.1 2005/06/10 01:35:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/raid-stop.sh,v 1.2 2006/11/10 00:27:07 vapier Exp $
[[ -f /proc/mdstat ]] || exit 0
fi
# Stop software raid with mdadm (new school)
-if [[ -x /sbin/mdadm && -f /etc/mdadm.conf ]] ; then
+mdadm_conf="/etc/mdadm/mdadm.conf"
+[[ -e /etc/mdadm.conf ]] && mdadm_conf="/etc/mdadm.conf"
+if [[ -x /sbin/mdadm && -f ${mdadm_conf} ]] ; then
ebegin "Shutting down RAID devices (mdadm)"
output=$(mdadm -Ss 2>&1)
ret=$?
# ChangeLog for sys-fs/raidtools
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/ChangeLog,v 1.25 2006/03/09 23:56:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/ChangeLog,v 1.26 2006/11/10 00:27:10 vapier Exp $
+
+ 10 Nov 2006; Mike Frysinger <vapier@gentoo.org> files/raid-start.sh,
+ files/raid-stop.sh:
+ Check both /etc/mdadm/mdadm.conf and /etc/mdadm.conf #150050 by Henning Schild.
09 Mar 2006; Mike Frysinger <vapier@gentoo.org>
+files/raidtools-1.00.3-build.patch, raidtools-1.00.3-r6.ebuild:
MD5 cb41f8093cd7381ee07adb2951cc53fa raidtools-1.00.3.tar.gz 167779
+RMD160 74619f9c87422fe8a8593ba369c3f3688141f46f raidtools-1.00.3.tar.gz 167779
+SHA256 1894f13b3e295a83f27e951d10442fc8fefe33284b0db637c83dd95bdc44b1f5 raidtools-1.00.3.tar.gz 167779
# /lib/rcscripts/addons/raid-start.sh: Setup raid volumes at boot
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/files/raid-start.sh,v 1.5 2005/06/10 02:09:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/files/raid-start.sh,v 1.6 2006/11/10 00:27:10 vapier Exp $
[[ -f /proc/mdstat ]] || exit 0
fi
# Start software raid with mdadm (new school)
-if [[ -x /sbin/mdadm && -f /etc/mdadm.conf ]] ; then
- devs=$(awk '/^[[:space:]]*ARRAY/ { print $2 }' /etc/mdadm.conf)
+mdadm_conf="/etc/mdadm/mdadm.conf"
+[[ -e /etc/mdadm.conf ]] && mdadm_conf="/etc/mdadm.conf"
+if [[ -x /sbin/mdadm && -f ${mdadm_conf} ]] ; then
+ devs=$(awk '/^[[:space:]]*ARRAY/ { print $2 }' ${mdadm_conf})
if [[ -n ${devs} ]] ; then
create_devs ${devs}
ebegin "Starting up RAID devices (mdadm)"
# /lib/rcscripts/addons/raid-stop.sh: Stop raid volumes at shutdown
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/files/raid-stop.sh,v 1.1 2005/06/10 01:34:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/files/raid-stop.sh,v 1.2 2006/11/10 00:27:10 vapier Exp $
[[ -f /proc/mdstat ]] || exit 0
fi
# Stop software raid with mdadm (new school)
-if [[ -x /sbin/mdadm && -f /etc/mdadm.conf ]] ; then
+mdadm_conf="/etc/mdadm/mdadm.conf"
+[[ -e /etc/mdadm.conf ]] && mdadm_conf="/etc/mdadm.conf"
+if [[ -x /sbin/mdadm && -f ${mdadm_conf} ]] ; then
ebegin "Shutting down RAID devices (mdadm)"
output=$(mdadm -Ss 2>&1)
ret=$?