summaryrefslogtreecommitdiffstats
path: root/hooks
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 /hooks
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 'hooks')
-rw-r--r--hooks/btrfs7
1 files changed, 7 insertions, 0 deletions
diff --git a/hooks/btrfs b/hooks/btrfs
new file mode 100644
index 0000000..c4836c5
--- /dev/null
+++ b/hooks/btrfs
@@ -0,0 +1,7 @@
+# vim: set ft=sh:
+
+run_hook ()
+{
+ /sbin/modprobe btrfs
+ /sbin/btrfs device scan
+}