aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-01-31 22:15:20 +0000
committerPeter Jones <pjones@redhat.com>2006-01-31 22:15:20 +0000
commit95e7d98b705456d3b3f86a07925657c69af2bf76 (patch)
treeda474141eb9e049b9d417874dab61bbd1ef59c7d /rc.d/rc.sysinit
parentfa3de17506bd871f3baccfdfea9fecb6ce5acf2c (diff)
downloadinitscripts-95e7d98b705456d3b3f86a07925657c69af2bf76.tar
initscripts-95e7d98b705456d3b3f86a07925657c69af2bf76.tar.gz
initscripts-95e7d98b705456d3b3f86a07925657c69af2bf76.tar.bz2
initscripts-95e7d98b705456d3b3f86a07925657c69af2bf76.tar.xz
initscripts-95e7d98b705456d3b3f86a07925657c69af2bf76.zip
- ignore the "I couldn't find anything to do" line, which we should remove
from dmraid entirely.
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 274c5f2c..90f14384 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -249,7 +249,7 @@ if [ -c /dev/mapper/control ]; then
if [ -x /sbin/dmraid ]; then
modprobe dm-mirror >/dev/null 2>&1
- for x in $(dmraid -ay -t --ignorelocking | awk -F ':' '{ print $1 }') ; do
+ for x in $(dmraid -ay -t --ignorelocking 2>/dev/null | grep -v "No RAID disks" | awk -F ':' '{ print $1 }') ; do
dmname=$(resolve_dm_name $x)
if [ -z "$dmname" ]; then
/sbin/dmraid -ay --ignorelocking "$dmname"