summaryrefslogtreecommitdiffstats
path: root/install/dm
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-04-27 19:08:47 +0200
committerAaron Griffin <aaron@archlinux.org>2006-04-27 19:08:47 +0200
commit2ed876b6b5c7b431caf5c452d6ee4a67241c4d01 (patch)
treed8e3c850df5bc1a7f262b810fbf273761eb15266 /install/dm
parentb3002a0c9ec4f3a299b5756695fb28957a83e005 (diff)
downloadmkinitcpio-2ed876b6b5c7b431caf5c452d6ee4a67241c4d01.tar.gz
mkinitcpio-2ed876b6b5c7b431caf5c452d6ee4a67241c4d01.tar.xz
Added 'autodetect' hook, intended to replace *-auto scripts
Beginnings of raid and dm hooks Used sysfs for ide parsing git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@25 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/dm')
-rw-r--r--install/dm17
1 files changed, 17 insertions, 0 deletions
diff --git a/install/dm b/install/dm
new file mode 100644
index 0000000..7011f5e
--- /dev/null
+++ b/install/dm
@@ -0,0 +1,17 @@
+# vim: set ft=sh:
+
+install ()
+{
+ MODULES=" $(all_modules "/md/" | grep -v "raid")"
+ BINARIES=""
+ FILES=""
+ SCRIPT="UNKNOWN"
+}
+
+help ()
+{
+cat<<HELPEOF
+ This hook loads the necessary modules for an device mapper device.
+ Detection will take place at runtime.
+HELPEOF
+}