X-Git-Url: https://git.decadent.org.uk/gitweb/?p=i-t-talk.git;a=blobdiff_plain;f=index.html;h=ac4bf8dcdbd574c46ecfdfca432137b590d057c8;hp=11a89d14c9cab9c22c5f00fbbf85b6a8f0553fc0;hb=HEAD;hpb=b909ede4aceab0e41d063205f31ceb8c1d7f8c9a diff --git a/index.html b/index.html index 11a89d1..ac4bf8d 100644 --- a/index.html +++ b/index.html @@ -53,6 +53,205 @@

Ben Hutchings

+
+

What is the initramfs for?

+ +
+ +
+ +
+ +
+

How the kernel uses an initramfs

+ +
+ +
+

Overview

+ +
+ +
+

The init system

+ +
+ +
+

Problems (1)

+

+ Root filesystem is not enough. Depenency-based boot means + there's no clean split between root and /usr. So + initramfs should mount it (implemented in 0.117). However: +

+ +
+ +
+

Problems (2)

+

+ Device discovery by kernel is asynchronous. But that's + why we have udev, right? +

+

+ Unfortunately not everything needed for device setup is + or can be in udev hooks (e.g. cryptsetup requires interaction) +

+

+ Lots of hacks used (while ... do sleep... done, + udevadm settle in too many places), and they still + sometimes fail + (#616689 and merged + bugs) +

+

+ Ubuntu has a somewhat better approach but we still haven't merged + it back... +

+

+ ...in fact, Debian and Ubuntu branches have been diverging for + about 5 years +

+
+ +
+

More information

+ +
+

Questions?

@@ -92,6 +291,9 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> +
  • + Xzibit promotional photo © Retna, used for purpose of parody +