diff options
author | Seblu <seblu@seblu.net> | 2011-03-04 17:22:10 +0100 |
---|---|---|
committer | Seblu <seblu@seblu.net> | 2011-03-16 16:59:55 +0100 |
commit | ca372312062e7843ca69e2edd54b58ab609a69ee (patch) | |
tree | 09da53fc8ad9c592bf0cdade81c4702c653ec617 /rc.sysinit | |
parent | 823c19d1df22d587bce56a363e371d0e9d269c8d (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-x | rc.sysinit | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |