]> git.ipfire.org Git - thirdparty/dracut.git/blob - README
Update the README and add some docs for TODO and HACKING
[thirdparty/dracut.git] / README
1 This is the simple skeleton of a new initramfs infrastructure.
2 Information about our goals and aims can be found at
3 https://fedoraproject.org/wiki/Initrdrewrite
4
5 Unlike existing initramfs's, this is an attempt at having as little as
6 possible hard-coded into the initramfs as possible. The initramfs has
7 (basically) one purpose in life -- getting the rootfs mounted so that
8 we can transition to the real rootfs. This is all driven off of
9 device availability. Therefore, instead of scripts hard-coded to do
10 various things, we depend on udev to create device nodes for us and
11 then when we have the rootfs's device node, we mount and carry on.
12 This helps to keep the time required in the initramfs as little as
13 possible so that things like a 5 second boot aren't made impossible as
14 a result of the very existence of an initramfs. It's likely that
15 we'll grow some hooks for running arbitrary commands in the flow of
16 the script, but it's worth trying to resist the urge as much as we can
17 as hooks are guaranteed to be the path to slow-down.
18
19 Also, there is an attempt to keep things as distribution-agnostic as
20 possible. Every distribution has their own tool here and it's not
21 something which is really interesting to have separate across them.
22 So contributions to help decrease the distro-dependencies are welcome.
23
24 The git tree can be found at
25 git://fedorapeople.org/~katzj/new-initrd.git for now. See the TODO
26 file for things which still need to be done and HACKING for some
27 instructions on how to get started
28
29
30 Licensed under the GPLv2
31
32 Copyright 2008, Red Hat, Inc. -- Jeremy Katz <katzj@redhat.com>