summaryrefslogtreecommitdiff
path: root/testing/mdadm/mdadm_install
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-21 12:49:53 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-21 12:49:53 -0300
commitc02976460621a16b172e3e33432d5790f3ed6117 (patch)
treec438b11c18e36170fd5ee7c767adda3f948e45bb /testing/mdadm/mdadm_install
parent79f56eaaa1e752a2f67072051b612acf5c648f69 (diff)
parentae08410274473c5ab78d300ea2365c4b1070cc61 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/bdf-unifont/PKGBUILD extra/convmv/PKGBUILD extra/cowsay/PKGBUILD extra/curl/PKGBUILD extra/dbus-qt3/PKGBUILD extra/emovix/PKGBUILD extra/foobillard/PKGBUILD extra/gnome-spell/PKGBUILD extra/libssh2/PKGBUILD extra/mkbootcd/PKGBUILD extra/mozilla-common/PKGBUILD extra/ndesk-dbus-glib/PKGBUILD extra/xfwm4-themes/PKGBUILD
Diffstat (limited to 'testing/mdadm/mdadm_install')
-rw-r--r--testing/mdadm/mdadm_install45
1 files changed, 0 insertions, 45 deletions
diff --git a/testing/mdadm/mdadm_install b/testing/mdadm/mdadm_install
deleted file mode 100644
index b53258676..000000000
--- a/testing/mdadm/mdadm_install
+++ /dev/null
@@ -1,45 +0,0 @@
-# vim: set ft=sh:
-
-build()
-{
- MODULES=" $(checked_modules "drivers/md/*" | grep -v "dm-") "
- BINARIES=""
- FILES=""
- SCRIPT="mdadm"
- # check if a custom mdadm.conf exists
- if grep -q ^ARRAY /etc/mdadm.conf; then
- echo "Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays."
- add_file "/etc/mdadm.conf"
- fi
- add_binary "/sbin/mdassemble"
-}
-
-help ()
-{
-cat<<HELPEOF
- This hook loads the necessary modules for any raid root device,
- and assembles the raid device when run.
-
- If arrays are defined in /etc/mdadm.conf, the file will be used instead
- of command line assembling.
-
- Command Line Setup:
- - for raid arrays with persistent superblocks:
- md=<md device no.>,dev0,dev1,...,devn
- md=<md device no.>,uuid
- - for partitionable raid arrays with persistent superblocks:
- md=d<md device no.>,dev0,dev1,...,devn
- md=d<md device no.>,uuid
-
- Parameters:
- - <md device no.> = the number of the md device:
- 0 means md0, 1 means md1, ...
- - <dev0-devn>: e.g. /dev/hda1,/dev/hdc1,/dev/sda1,/dev/sdb1
- or 0900878d:f95f6057:c39a36e9:55efa60a
- Examples:
- - md=d0,/dev/sda3,/dev/sda4 md=d1,/dev/hda1,/dev/hdb1
- This will setup 2 md partitionable arrays.
- - md=0,/dev/sda3,/dev/sda4 md=1,/dev/hda1,/dev/hdb1
- This will setup 2 md arrays with persistent superblocks.
-HELPEOF
-}