From b4fcacbbaf82670479f32b2922ca0d2993feca69 Mon Sep 17 00:00:00 2001 From: Warren Togami Date: Thu, 19 Feb 2009 00:16:19 -0500 Subject: Docs update --- HACKING | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/HACKING b/HACKING index e9efe09..73815c1 100644 --- a/HACKING +++ b/HACKING @@ -15,7 +15,26 @@ like to customize the list of modules copied in, edit /etc/dracut.conf and set modules="foo bar baz" - Requirements: * udev -* nash (for switchroot until we get in util-linux) + +Manifest of Dracut Source +========================= +dracut +This script generates the initramfs image. + +init +This script runs during boot of the generated initramfs image. + +modules/ +This directory contains scriptlets that are run during initramfs generation +in alphanumeric filename order. + +hooks/ +This directory contains scriptlets to be installed in the initramfs image. + +Development Tips +================ +* ./dracut -l allows you to run dracut in local mode, meaning it gets files to + include from the current source directory. This is handy to use dracut + without installing it, or test it directly from the source tree. -- 1.6.0.6