The following patch was created with "diff -u5 rc.S rc.S.patched".
Code:
--- rc.S 2013-10-28 01:06:39.000000000 -0400
+++ rc.S.patched 2014-10-07 00:22:10.428005892 -0400
@@ -46,10 +46,13 @@
/bin/sh /etc/rc.d/rc.udev start
fi
fi
fi
+# Following is apparently needed by btrfs mounts appearing in /etc/fstab:
+btrfs device scan --all-devices
+
# Mount Control Groups filesystem interface:
if grep -wq cgroup /proc/filesystems ; then
if [ -d /sys/fs/cgroup ]; then
# See linux-*/Documentation/cgroups/cgroups.txt (section 1.6)
# Check if we have some tools to autodetect the available cgroup controllers
I am not certain the scan is in the right location. I figured it should be after UDEV initialization in order to account for filesystems that might be on hotplugged external drives.