--- rc.sysinit.orig 2012-07-19 08:29:38.803326165 +0200 +++ rc.sysinit 2012-07-19 08:29:56.906659395 +0200 @@ -77,10 +77,6 @@ [[ $USEDMRAID = [Yy][Ee][Ss] && -x $(type -P dmraid) ]] && status "Activating FakeRAID arrays" dmraid -i -ay -# BTRFS devices detection -[[ $USEBTRFS = [Yy][Ee][Ss] && -x $(type -P btrfs) ]] && - status "Activating BTRFS volumes" btrfs device scan - # Activate LVM2 groups if any activate_vgs @@ -93,6 +89,10 @@ (( crypto_unlocked )) && activate_vgs fi +# BTRFS devices detection +[[ $USEBTRFS = [Yy][Ee][Ss] && -x $(type -P btrfs) ]] && + status "Activating BTRFS volumes" btrfs device scan + # Check filesystems run_hook sysinit_prefsck if [[ -x $(type -P fsck) ]]; then