diff options
-rwxr-xr-x | defaults/initrd.scripts | 5 | ||||
-rwxr-xr-x | defaults/linuxrc | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index fe9fdd16..3cc1de84 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -920,6 +920,11 @@ cdupdate() { fi } +setup_btrfsctl() { + # start BTRFS volume detection, if available + [ -x /sbin/btrfsctl ] && /sbin/btrfsctl -a +} + setup_md_device() { local device diff --git a/defaults/linuxrc b/defaults/linuxrc index 7d5f634b..3cc1ca29 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -299,6 +299,9 @@ startiscsi # let iscsid settle - otherwise mounting the iSCSI-disk will fail (very rarely, though) sleep 1 +# Setup btrfs, see bug 303529 +setup_btrfsctl + # Setup md device nodes if they dont exist setup_md_device |