From 94945a63162944f4bcf61f0012853f95191f0f91 Mon Sep 17 00:00:00 2001 From: Jan Steffens Date: Tue, 15 Jun 2010 19:32:33 +0200 Subject: Simple Btrfs hook All it does for now is cause a Btrfs scan so we can mount multi-device volumes. --- hooks/btrfs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hooks/btrfs (limited to 'hooks') 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 +} -- cgit v1.2.3-24-g4f1b