summaryrefslogtreecommitdiffstats
path: root/modules.d/90btrfs/btrfs_timeout.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/90btrfs/btrfs_timeout.sh')
-rwxr-xr-xmodules.d/90btrfs/btrfs_timeout.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules.d/90btrfs/btrfs_timeout.sh b/modules.d/90btrfs/btrfs_timeout.sh
new file mode 100755
index 0000000..326231b
--- /dev/null
+++ b/modules.d/90btrfs/btrfs_timeout.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+type getarg > /dev/null 2>&1 || . /lib/dracut-lib.sh
+
+info "Scanning for all btrfs devices"
+/sbin/btrfs device scan > /dev/null 2>&1