summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorSeblu <seblu@seblu.net>2011-03-04 17:22:10 +0100
committerSeblu <seblu@seblu.net>2011-03-16 16:59:55 +0100
commitca372312062e7843ca69e2edd54b58ab609a69ee (patch)
tree09da53fc8ad9c592bf0cdade81c4702c653ec617 /rc.sysinit
parent823c19d1df22d587bce56a363e371d0e9d269c8d (diff)
Add BTRFS support in initscripts
Use btrfs instead of btrfsctl. See: https://btrfs.wiki.kernel.org/index.php/FAQ#How_do_I_do....3F Close FS#19792 Signed-off-by: Seblu <seblu@seblu.net>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.sysinit b/rc.sysinit
index f2ccdae..bdf0538 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -122,6 +122,11 @@ if [[ $USEDMRAID =~ yes|YES && -x /sbin/dmraid ]]; then
status "Activating FakeRAID arrays" /sbin/dmraid -i -ay
fi
+# BTRFS devices detection
+if [[ $USEBTRFS =~ yes|YES && -x /sbin/btrfs ]]; then
+ status "Activating BTRFS volumes" /sbin/btrfs device scan
+fi
+
activate_vgs
# Set up non-root encrypted partition mappings