summaryrefslogtreecommitdiffstats
path: root/hooks/btrfs
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-07-05 21:47:57 +0200
committerThomas Bächler <thomas@archlinux.org>2010-07-05 21:47:57 +0200
commit392a05ef42b7fa99a21332c07f20ca2449524e3a (patch)
tree4b73f0e80828d944cd3db8895da2529c7a778b69 /hooks/btrfs
parent6d2ef0afddb8ab62ac5019e203fa85bb4a9f5165 (diff)
parent94945a63162944f4bcf61f0012853f95191f0f91 (diff)
downloadmkinitcpio-392a05ef42b7fa99a21332c07f20ca2449524e3a.tar.gz
mkinitcpio-392a05ef42b7fa99a21332c07f20ca2449524e3a.tar.xz
Merge branch 'btrfs' of http://github.com/heftig/mkinitcpio into working
Diffstat (limited to 'hooks/btrfs')
-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
+}