diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-07-24 22:08:03 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-07-24 22:08:03 +0000 |
commit | 43eb24837af59620be921000a455aac08c80bb74 (patch) | |
tree | dfb7d2610b3db30b44a5dc3cb583c985d1912e36 /debian/mdadm-raid | |
parent | d91b018c6956c57049119aa1df43bb7548b1a193 (diff) |
* Removed the code writing auto-detected devices to /var, which was silly
since /var isn't necessarily mounted yet by the time mdadm-raid is called.
Thanks to Mau for pointing this out.
* Added questionable RAID5-vs-RAID10.txt document.
Diffstat (limited to 'debian/mdadm-raid')
-rw-r--r-- | debian/mdadm-raid | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/debian/mdadm-raid b/debian/mdadm-raid index 8515e694..649b9faa 100644 --- a/debian/mdadm-raid +++ b/debian/mdadm-raid @@ -10,8 +10,6 @@ MDADM=/sbin/mdadm CONFIG=/etc/mdadm/mdadm.conf ALTCONFIG=/etc/mdadm.conf DEBIANCONFIG=/etc/default/mdadm -RUNDIR=/var/run/mdadm -AUTOSTARTED_DEVICES=$RUNDIR/autostarted-devices test -x $MDADM || exit 0 @@ -78,8 +76,6 @@ case "${1:-}" in fi if [ -f $CONFIG ] || [ -f $ALTCONFIG ]; then - mkdir -p $RUNDIR - # ugly hack because shell sucks IFSOLD=${IFS:-} IFS=' @@ -115,12 +111,10 @@ case "${1:-}" in *'has been started with '[[:digit:]]*' drives.') log_dev 0 $1 "started [$6/$6]" - echo $1 >> $AUTOSTARTED_DEVICES ;; *'has been started with '[[:digit:]]*' drives (out of '[[:digit:]]*').') log_dev 0 $1 "degraded [$6/${10%).}]" - echo $1 >> $AUTOSTARTED_DEVICES ;; *'assembled from '[[:digit:]]*' drive's#' - not enough to start the array.') |