summaryrefslogtreecommitdiffstats
path: root/hooks/btrfs
diff options
context:
space:
mode:
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
+}