From c09a9932b828a94079c0d96d5902fc2a812d673a Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 12 May 2011 11:01:59 +0200 Subject: [PATCH] README: s/initrd/initramfs --- README | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README b/README index f55f5a3..6edc2c0 100644 --- a/README +++ b/README @@ -19,19 +19,19 @@ we'll grow some hooks for running arbitrary commands in the flow of the script, but it's worth trying to resist the urge as much as we can as hooks are guaranteed to be the path to slow-down. -Most of the initrd generation functionality in dracut is provided by a bunch +Most of the initramfs generation functionality in dracut is provided by a bunch of generator modules that are sourced by the main dracut script to install -specific functionality into the initrd. They live in the modules.d +specific functionality into the initramfs. They live in the modules.d subdirectory, and use functionality provided by dracut-functions to do their work. Some general rules for writing modules: * Use one of the inst family of functions to actually install files - on to the initrd. They handle mangling the pathnames and (for binaries, + on to the initramfs. They handle mangling the pathnames and (for binaries, scripts, and kernel modules) installing dependencies as appropriate so you do not have to. - * Scripts that end up on the initrd should be POSIX compliant. dracut - will try to use /bin/dash as /bin/sh for the initrd if it is available, + * Scripts that end up on the initramfs should be POSIX compliant. dracut + will try to use /bin/dash as /bin/sh for the initramfs if it is available, so you should install it on your system -- dash aims for strict POSIX compliance to the extent possible. * Hooks MUST be POSIX compliant -- they are sourced by the init script, -- 2.7.4