summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJan Steffens <jan.steffens@gmail.com>2010-06-15 19:32:33 +0200
committerJan Steffens <jan.steffens@gmail.com>2010-06-19 02:05:18 +0200
commit94945a63162944f4bcf61f0012853f95191f0f91 (patch)
tree641abacc06c649018e182984a767d3863ba5ca0b /install
parentae111aae812059091b864b38c241f5ce93b8e9c2 (diff)
downloadmkinitcpio-94945a63162944f4bcf61f0012853f95191f0f91.tar.gz
mkinitcpio-94945a63162944f4bcf61f0012853f95191f0f91.tar.xz
Simple Btrfs hook
All it does for now is cause a Btrfs scan so we can mount multi-device volumes.
Diffstat (limited to 'install')
-rw-r--r--install/btrfs16
1 files changed, 16 insertions, 0 deletions
diff --git a/install/btrfs b/install/btrfs
new file mode 100644
index 0000000..60dc2ac
--- /dev/null
+++ b/install/btrfs
@@ -0,0 +1,16 @@
+# vim:set ft=sh:
+
+install()
+{
+ MODULES="$(all_modules btrfs)"
+ BINARIES="/sbin/btrfs"
+ SCRIPT="btrfs"
+}
+
+help ()
+{
+cat <<HELPEOF
+ This hook is needed to support Btrfs volumes spread
+ over multiple devices.
+HELPEOF
+}