summaryrefslogtreecommitdiffstats
path: root/install/lvm2
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-04-28 00:50:03 +0200
committerAaron Griffin <aaron@archlinux.org>2006-04-28 00:50:03 +0200
commitf9792380f7b2f9bfaab9361378e8e72bb67e77a2 (patch)
treee6f1f4c4f845cc62f1a23e1bd6c8488a3f0682bf /install/lvm2
parente93d33835fc2078eafe5c4d923367e1e95f66822 (diff)
downloadmkinitcpio-f9792380f7b2f9bfaab9361378e8e72bb67e77a2.tar.gz
mkinitcpio-f9792380f7b2f9bfaab9361378e8e72bb67e77a2.tar.xz
* Initial attempt to get the device-mapper stuff in order
* Moved 'init' to /lib/initcpio/init to be more in-tune with the naming scheme git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@27 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/lvm2')
-rw-r--r--install/lvm219
1 files changed, 19 insertions, 0 deletions
diff --git a/install/lvm2 b/install/lvm2
new file mode 100644
index 0000000..c6cacc3
--- /dev/null
+++ b/install/lvm2
@@ -0,0 +1,19 @@
+# vim: set ft=sh:
+
+install ()
+{
+ MODULES=" dm-mod "
+ BINARIES=""
+ FILES=""
+ SCRIPT="lvm2"
+
+ add_dir "/dev/mapper"
+ add_file "/sbin/lvm.static" "/bin/lvm"
+}
+
+help ()
+{
+cat<<HELPEOF
+ This hook loads the necessary modules for an LVM2 root device.
+HELPEOF
+}