[dracut/f17] dracut-017-59.git20120321

Harald Hoyer harald at fedoraproject.org
Wed Mar 21 16:05:17 UTC 2012


commit 1ee1e39180cde2e2552ab9400a3dd7ccb2577701
Author: Harald Hoyer <harald at redhat.com>
Date:   Wed Mar 21 17:03:57 2012 +0100

    dracut-017-59.git20120321
    
    new upstream version, which fixes various anaconda loader issues

 ...ME-added-github-and-sourceforge-git-links.patch |   31 +
 0044-AUTHORS-update.patch                          |   51 +
 0045-remove-dracut-gencmdline.patch                |  831 +++
 0046-replace-xml-documentation-with-asciidoc.patch | 5462 ++++++++++++++++++++
 0047-precompile-doc.patch                          |   98 +
 ...D-wait-for-udev-settle-before-deconstruct.patch |   48 +
 0049-NEWS-update.patch                             |   32 +
 0050-remove-ctty.patch                             |   84 +
 ...emove-openvt-and-use-setsid-c-if-possible.patch |  101 +
 0052-TEST-01-BASIC-add-setsid.patch                |   39 +
 ...No-such-file-or-directory-in-emergency_sh.patch |   24 +
 ...et-x-gets-turned-back-on-in-wait_for_logi.patch |   37 +
 0055-Do-not-mount-bind-run-anymore.patch           |   66 +
 ...elinux-loadpolicy.sh-use-mount-rbind-for-.patch |   23 +
 0057-Avoid-use-of-export-n.patch                   |   36 +
 0058-provide-name-based-nbd-connects.patch         |   27 +
 dracut.spec                                        |   35 +-
 17 files changed, 7017 insertions(+), 8 deletions(-)
---
diff --git a/0043-README-added-github-and-sourceforge-git-links.patch b/0043-README-added-github-and-sourceforge-git-links.patch
new file mode 100644
index 0000000..c47321e
--- /dev/null
+++ b/0043-README-added-github-and-sourceforge-git-links.patch
@@ -0,0 +1,31 @@
+From 803be5aa50b4ad7c76b83a2df23a47ae4744aabf Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 11:48:48 +0100
+Subject: [PATCH] README: added github and sourceforge git links
+
+---
+ README |    8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/README b/README
+index 6edc2c0..f9198bf 100644
+--- a/README
++++ b/README
+@@ -62,9 +62,17 @@ Git:
+ 	http://git.kernel.org/pub/scm/boot/dracut/dracut.git
+ 	https://git.kernel.org/pub/scm/boot/dracut/dracut.git
+ 
++	git://github.com/haraldh/dracut.git
++
++	git://dracut.git.sourceforge.net/gitroot/dracut/dracut
++
+ Git Web:
+ 	http://git.kernel.org/?p=boot/dracut/dracut.git
+ 
++	https://haraldh@github.com/haraldh/dracut.git
++
++	http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut
++
+ Git Web RSS Feed:
+ 	http://git.kernel.org/?p=boot/dracut/dracut.git;a=rss
+ 
diff --git a/0044-AUTHORS-update.patch b/0044-AUTHORS-update.patch
new file mode 100644
index 0000000..ae8bd4e
--- /dev/null
+++ b/0044-AUTHORS-update.patch
@@ -0,0 +1,51 @@
+From 3a00cf9eccaadb44fd22d8f49c99b4d6dfe16009 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 11:50:07 +0100
+Subject: [PATCH] AUTHORS: update
+
+---
+ AUTHORS |   11 ++++++-----
+ 1 file changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/AUTHORS b/AUTHORS
+index 12dbe15..f7a1007 100644
+--- a/AUTHORS
++++ b/AUTHORS
+@@ -5,24 +5,24 @@ Warren Togami <wtogami at redhat.com>
+ Amadeusz Żołnowski <aidecoe at aidecoe.name>
+ Jeremy Katz <katzj at redhat.com>
+ David Dillow <dave at thedillows.org>
+-Michal Soltys <soltys at ziu.info>
+ Will Woods <wwoods at redhat.com>
++Michal Soltys <soltys at ziu.info>
++Dave Young <dyoung at redhat.com>
++Amerigo Wang <amwang at redhat.com>
+ Andrey Borzenkov <arvidjaar at gmail.com>
++Colin Guthrie <colin at mageia.org>
+ Andreas Thienemann <andreas at bawue.net>
+ Hans de Goede <hdegoede at redhat.com>
+ Peter Jones <pjones at redhat.com>
+-Amerigo Wang <amwang at redhat.com>
+-Colin Guthrie <colin at mageia.org>
+ John Reiser <jreiser at bitwagon.com>
+ Luca Berra <bluca at vodka.it>
+-Dave Young <dyoung at redhat.com>
+ Daniel Drake <dsd at laptop.org>
+ Marc Grimme <grimme at atix.de>
++Dan Horák <dhorak at redhat.com>
+ Roberto Sassu <roberto.sassu at polito.it>
+ Anton Blanchard <anton at samba.org>
+ Bill Nottingham <notting at redhat.com>
+ Brian C. Lane <bcl at redhat.com>
+-Dan Horák <dhorak at redhat.com>
+ David Cantrell <dcantrell at redhat.com>
+ Lance Albertson <lance at osuosl.org>
+ Marian Ganisin <mganisin at redhat.com>
+@@ -47,6 +47,7 @@ Frederic Crozat <fcrozat at mandriva.com>
+ Glen Gray <slaine at slaine.org>
+ Hermann Gausterer <git-dracut-2012 at mrq1.org>
+ James Laska <jlaska at redhat.com>
++Jan Stodola <jstodola at redhat.com>
+ Konrad Rzeszutek Wilk <konrad.wilk at oracle.com>
+ Leho Kraav <leho at kraav.com>
+ Lubomir Rintel <lkundrak at v3.sk>
diff --git a/0045-remove-dracut-gencmdline.patch b/0045-remove-dracut-gencmdline.patch
new file mode 100644
index 0000000..ae01905
--- /dev/null
+++ b/0045-remove-dracut-gencmdline.patch
@@ -0,0 +1,831 @@
+From dc824f19943d31bfba33f017be63e0c8ed74bb47 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 13:27:13 +0100
+Subject: [PATCH] remove dracut-gencmdline
+
+---
+ Makefile                |    4 +-
+ dracut-gencmdline.8.xml |   46 ---
+ dracut-gencmdline.sh    |  716 -----------------------------------------------
+ dracut.spec             |    2 -
+ 4 files changed, 1 insertion(+), 767 deletions(-)
+ delete mode 100644 dracut-gencmdline.8.xml
+ delete mode 100755 dracut-gencmdline.sh
+
+diff --git a/Makefile b/Makefile
+index 13c6c84..d79b2b0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -9,7 +9,7 @@ sysconfdir ?= ${prefix}/etc
+ bindir ?= ${prefix}/bin
+ mandir ?= ${prefix}/share/man
+ 
+-manpages = dracut.8 dracut.cmdline.7 dracut.conf.5 dracut-catimages.8  dracut-gencmdline.8
++manpages = dracut.8 dracut.cmdline.7 dracut.conf.5 dracut-catimages.8
+ 
+ .PHONY: install clean archive rpm testimage test all check AUTHORS doc
+ 
+@@ -32,7 +32,6 @@ install: doc
+ 	mkdir -p $(DESTDIR)$(pkglibdir)/modules.d
+ 	mkdir -p $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8
+ 	install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut
+-	install -m 0755 dracut-gencmdline.sh $(DESTDIR)$(bindir)/dracut-gencmdline
+ 	install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages
+ 	install -m 0755 mkinitrd-dracut.sh $(DESTDIR)$(bindir)/mkinitrd
+ 	install -m 0755 lsinitrd.sh $(DESTDIR)$(bindir)/lsinitrd
+@@ -45,7 +44,6 @@ install: doc
+ 	cp -arx modules.d $(DESTDIR)$(pkglibdir)
+ 	install -m 0644 dracut.8 $(DESTDIR)$(mandir)/man8/dracut.8
+ 	install -m 0644 dracut-catimages.8 $(DESTDIR)$(mandir)/man8/dracut-catimages.8
+-	install -m 0644 dracut-gencmdline.8 $(DESTDIR)$(mandir)/man8/dracut-gencmdline.8
+ 	install -m 0644 dracut.conf.5 $(DESTDIR)$(mandir)/man5/dracut.conf.5
+ 	install -m 0644 dracut.cmdline.7 $(DESTDIR)$(mandir)/man7/dracut.cmdline.7
+ 	ln -s dracut.cmdline.7 $(DESTDIR)$(mandir)/man7/dracut.kernel.7
+diff --git a/dracut-gencmdline.8.xml b/dracut-gencmdline.8.xml
+deleted file mode 100644
+index a893d0b..0000000
+--- a/dracut-gencmdline.8.xml
++++ /dev/null
+@@ -1,46 +0,0 @@
+-<?xml version="1.0" encoding="ISO-8859-1"?>
+-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []>
+-<!-- lifted from troff+man by doclifter -->
+-<refentry id='dracutgencmdline8'>
+-<refmeta>
+-<refentrytitle>DRACUT-GENCMDLINE</refentrytitle>
+-<manvolnum>8</manvolnum>
+-<refmiscinfo class='source'>June 2009</refmiscinfo>
+-<refmiscinfo class='manual'>Linux</refmiscinfo>
+-</refmeta>
+-<refnamediv id='name'>
+-<refname>dracut-gencmdline</refname>
+-<refpurpose>generates kernel command line parameters for the dracut generated initramfs</refpurpose>
+-</refnamediv>
+-<!-- body begins here -->
+-<refsynopsisdiv id='synopsis'>
+-<cmdsynopsis>
+-  <command>dracut-gencmdline</command>
+-    <sbr/>
+-</cmdsynopsis>
+-</refsynopsisdiv>
+-
+-
+-<refsect1 id='description'><title>DESCRIPTION</title>
+-<para><command>dracut-gencmdline</command>
+-generates kernel command line parameters for the dracut generated initramfs, which are very specific to the host system.</para>
+-
+-</refsect1>
+-
+-<refsect1 id='authors'><title>AUTHORS</title>
+-<literallayout remap='.nf'>
+-Harald Hoyer &lt;harald at redhat.com&gt;
+-</literallayout> <!-- .fi -->
+-</refsect1>
+-
+-<refsect1 id='availability'><title>AVAILABILITY</title>
+-<para>The dracut-gencmdline command is part of the dracut package and is available from
+-<ulink url='https://dracut.wiki.kernel.org'>https://dracut.wiki.kernel.org</ulink></para>
+-
+-</refsect1>
+-
+-<refsect1 id='see_also'><title>SEE ALSO</title>
+-<para><citerefentry><refentrytitle>dracut</refentrytitle><manvolnum>8</manvolnum></citerefentry></para>
+-</refsect1>
+-</refentry>
+-
+diff --git a/dracut-gencmdline.sh b/dracut-gencmdline.sh
+deleted file mode 100755
+index c909e27..0000000
+--- a/dracut-gencmdline.sh
++++ /dev/null
+@@ -1,716 +0,0 @@
+-#!/bin/bash --norc
+-# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+-# ex: ts=8 sw=4 sts=4 et filetype=sh
+-#
+-# Copyright 2005-2009 Red Hat, Inc.  All rights reserved.
+-#
+-# This program is free software; you can redistribute it and/or modify
+-# it under the terms of the GNU General Public License as published by
+-# the Free Software Foundation; either version 2 of the License, or
+-# (at your option) any later version.
+-#
+-# This program is distributed in the hope that it will be useful,
+-# but WITHOUT ANY WARRANTY; without even the implied warranty of
+-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-# GNU General Public License for more details.
+-#
+-# You should have received a copy of the GNU General Public License
+-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-#
+-# code taken from mkinitrd
+-#
+-#. /usr/libexec/initrd-functions
+-
+-IF_verbose=""
+-function set_verbose() {
+-    case $1 in
+-        1|true|yes|on)
+-            IF_verbose="-v"
+-            ;;
+-        0|false|no|off)
+-            IF_verbose=""
+-            ;;
+-    esac
+-}
+-
+-function is_verbose() {
+-    [ -n "$IF_verbose" ] && return 0
+-    return 1
+-}
+-
+-function get_verbose() {
+-    echo "$IF_verbose"
+-    is_verbose
+-}
+-
+-
+-function get_numeric_dev() {
+-    (
+-        fmt="%d:%d"
+-        if [ "$1" == "hex" ]; then
+-            fmt="%x:%x"
+-        fi
+-        ls -lH "$2" | awk '{ sub(/,/, "", $5); printf("'"$fmt"'", $5, $6); }'
+-    ) 2>/dev/null
+-}
+-
+-
+-function error() {
+-    echo "$@" >&2
+-}
+-
+-function vecho() {
+-    is_verbose && echo "$@"
+-}
+-
+-# module dep finding and installation functions
+-moduledep() {
+-    MPARGS=""
+-    if [ "$1" == "--ignore-install" ]; then
+-        MPARGS="$MPARGS --ignore-install"
+-        shift
+-    fi
+-    vecho -n "Looking for deps of module $1"
+-    deps=""
+-    deps=$(modprobe $MPARGS --set-version $kernel --quiet --show-depends $1 | awk '/^insmod / { print gensub(".*/","","g",$2) }' | while read foo ; do [ "${foo%%.ko}" != "$1" ] && echo -n "${foo%%.ko} " ; done)
+-    [ -n "$deps" ] && vecho ": $deps" || vecho
+-}
+-
+-export MALLOC_PERTURB_=204
+-
+-PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
+-export PATH
+-
+-# Set the umask. For iscsi, the initrd can contain plaintext
+-# password (chap secret), so only allow read by owner.
+-umask 077
+-
+-VERSION=6.0.87
+-
+-PROBE="yes"
+-MODULES=""
+-GRAPHICSMODS=""
+-PREMODS=""
+-DMRAIDS=""
+-ncryptodevs=0
+-ncryptoparts=0
+-ncryptolvs=0
+-ncryptoraids=0
+-root=""
+-scsi_wait_scan="no"
+-
+-NET_LIST=""
+-LD_SO_CONF=/etc/ld.so.conf
+-LD_SO_CONF_D=/etc/ld.so.conf.d/
+-
+-[ -e /etc/sysconfig/mkinitrd ] && . /etc/sysconfig/mkinitrd
+-
+-CONFMODS="$MODULES"
+-MODULES=""
+-ARCH=$(uname -m | sed -e 's/s390x/s390/')
+-
+-compress=1
+-allowmissing=""
+-target=""
+-kernel=""
+-force=""
+-img_vers=""
+-builtins=""
+-modulefile=/etc/modules.conf
+-[ "$ARCH" != "s390" ] && withusb=1
+-rc=0
+-nolvm=""
+-nodmraid=""
+-
+-IMAGESIZE=8000
+-PRESCSIMODS=""
+-fstab="/etc/fstab"
+-
+-vg_list=""
+-net_list="$NET_LIST"
+-
+-usage () {
+-    if [ "$1" == "-n" ]; then
+-        cmd=echo
+-    else
+-        cmd=error
+-    fi
+-
+-    $cmd "usage: `basename $0` [--version] [--help] [-v] [-f]"
+-
+-    if [ "$1" == "-n" ]; then
+-        exit 0
+-    else
+-        exit 1
+-    fi
+-}
+-
+-
+-qpushd() {
+-    pushd "$1" >/dev/null 2>&1
+-}
+-
+-qpopd() {
+-    popd >/dev/null 2>&1
+-}
+-
+-
+-freadlink() {
+-    readlink -f "$1"
+-}
+-
+-resolve_device_name() {
+-    if [ -z "${1##UUID=*}" ]; then
+-        real=$(freadlink /dev/disk/by-uuid/${1##UUID=})
+-        [ -b $real ] && { echo $real; return; }
+-    fi
+-    if [ -z "${1##LABEL=*}" ]; then
+-        real=$(freadlink /dev/disk/by-label/${1##LABEL=})
+-        [ -b $real ] && { echo $real; return; }
+-    fi
+-    echo "$1"
+-}
+-
+-finddevnoinsys() {
+-    majmin="$1"
+-    if [ -n "$majmin" ]; then
+-        dev=$(for x in /sys/block/* ; do find $x/ -name dev ; done | while read device ; do \
+-            echo "$majmin" | cmp -s $device && echo $device ; done)
+-        if [ -n "$dev" ]; then
+-            dev=${dev%%/dev}
+-            dev=${dev%%/}
+-            echo "$dev"
+-            return 0
+-        fi
+-    fi
+-    return 1
+-}
+-
+-finddevicedriverinsys () {
+-    if is_iscsi $PWD; then
+-        handleiscsi "$PWD"
+-        return
+-    fi
+-    while [ "$PWD" != "/sys/devices" ]; do
+-        deps=
+-        if [ -f modalias ]; then
+-            MODALIAS=$(cat modalias)
+-            if [ "${MODALIAS::7}" == "scsi:t-" ]; then
+-                scsi_wait_scan=yes
+-            fi
+-            moduledep $MODALIAS
+-            unset MODALIAS
+-        fi
+-
+-        cd ..
+-    done
+-}
+-
+-findstoragedriverinsys () {
+-    local sysfs=$(freadlink "$1")
+-
+-    # if its a partition look at the device holding the partition
+-    if [ -f "$sysfs/start" ]; then
+-        sysfs=$(freadlink ${sysfs%/*})
+-    fi
+-
+-    if [[ ! "$sysfs" =~ ^/sys/.*block/.*$ ]]; then
+-        #error "WARNING: $sysfs is a not a block sysfs path, skipping"
+-        return
+-    fi
+-
+-    case " $handleddevices " in
+-        *" $sysfs "*)
+-            return ;;
+-        *) handleddevices="$handleddevices $sysfs" ;;
+-    esac
+-
+-    if [[ "$sysfs" =~ ^/sys/.*block/md[0-9]+$ ]]; then
+-        local raid=${sysfs##*/}
+-        vecho "Found MDRAID component $raid"
+-        handleraid $raid
+-    fi
+-    if [[ "$sysfs" =~ ^/sys/.*block/dm-[0-9]+$ ]]; then
+-        vecho "Found DeviceMapper component ${sysfs##*/}"
+-        handledm $(cat $sysfs/dev |cut -d : -f 1) $(cat $sysfs/dev |cut -d : -f 2)
+-    fi
+-
+-    for slave in $(ls -d "$sysfs"/slaves/* 2>/dev/null) ; do
+-        findstoragedriverinsys "$slave"
+-    done
+-
+-    if [ -L "$sysfs/device" ]; then
+-        qpushd $(freadlink "$sysfs/device")
+-        finddevicedriverinsys
+-        qpopd
+-    fi
+-}
+-
+-findstoragedriver () {
+-    local device="$1"
+-
+-    if [ ! -b "$device" ]; then
+-        #error "WARNING: $device is a not a block device, skipping"
+-        return
+-    fi
+-
+-    local majmin=$(get_numeric_dev dec "$device")
+-    local sysfs=$(finddevnoinsys "$majmin")
+-
+-    if [ -z "$sysfs" ]; then
+-        #error "WARNING: $device major:minor $majmin not found, skipping"
+-        return
+-    fi
+-
+-    vecho "Looking for driver for $device in $sysfs"
+-    findstoragedriverinsys "$sysfs"
+-}
+-
+-iscsi_get_rec_val() {
+-
+-    # The open-iscsi 742 release changed to using flat files in
+-    # /var/lib/iscsi.
+-
+-    result=$(grep "^${2} = " "$1" |  sed -e s'/.* = //')
+-}
+-
+-iscsi_set_parameters() {
+-    path=$1
+-    vecho setting iscsi parameters
+-
+-    tmpfile=$(mktemp)
+-
+-    # Check once before getting explicit values, so we can output a decent
+-    # error message.
+-    /sbin/iscsiadm --show -m session -r $path > $tmpfile
+-    if [ ! -s $tmpfile ]; then
+-        echo Unable to find iscsi record for $path
+-        exit 1
+-    fi
+-
+-    nit_name=$(grep "^InitiatorName=" /etc/iscsi/initiatorname.iscsi | \
+-        sed -e "s/^InitiatorName=//")
+-
+-    iscsi_get_rec_val $tmpfile "node.name"
+-    tgt_name=${result}
+-    iscsi_get_rec_val $tmpfile "node.tpgt"
+-    tpgt=${result}
+-    # iscsistart wants node.conn[0].address / port
+-    iscsi_get_rec_val $tmpfile 'node.conn\[0\].address'
+-    tgt_ipaddr=${result}
+-    iscsi_get_rec_val $tmpfile 'node.conn\[0\].port'
+-    tgt_port=${result}
+-
+-    # Note: we get chap secrets (passwords) in plaintext, and also store
+-    # them in the initrd.
+-
+-    iscsi_get_rec_val $tmpfile "node.session.auth.username"
+-    chap=${result}
+-    if [ -n "${chap}" -a "${chap}" != "<empty>" ]; then
+-        chap="-u ${chap}"
+-        iscsi_get_rec_val $tmpfile "node.session.auth.password"
+-        chap_pw="-w ${result}"
+-    else
+-        chap=""
+-    fi
+-
+-    iscsi_get_rec_val $tmpfile "node.session.auth.username_in"
+-    chap_in=${result}
+-    if [ -n "${chap_in}" -a "${chap_in}" != "<empty>" ]; then
+-        chap_in="-U ${chap_in}"
+-        iscsi_get_rec_val $tmpfile "node.session.auth.password_in"
+-        chap_in_pw="-W ${result}"
+-    else
+-        chap_in=""
+-    fi
+-
+-    rm $tmpfile
+-}
+-
+-emit_iscsi () {
+-    if [ -n "${iscsi_devs}" ]; then
+-        for dev in ${iscsi_devs}; do
+-            iscsi_set_parameters $dev
+-            # recid is not really used, just use 0 for it
+-            echo "/bin/iscsistart -t ${tgt_name} -i ${nit_name} \
+-                -g ${tpgt} -a ${tgt_ipaddr} ${chap} ${chap_pw} \
+-                ${chap_in} ${chap_in_pw}"
+-        done
+-    fi
+-}
+-
+-is_iscsi() {
+-    path=$1
+-    if echo $path | grep -q "/platform/host[0-9]*/session[0-9]*/target[0-9]*:[0-9]*:[0-9]*/[0-9]*:[0-9]*:[0-9]*:[0-9]*"; then
+-        return 0
+-    else
+-        return 1
+-    fi
+-}
+-
+-handledm() {
+-    major=$1
+-    minor=$2
+-    while read dmstart dmend dmtype r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 ; do
+-        case "$dmtype" in
+-            crypt)
+-                # this device is encrypted; find the slave device and see
+-                # whether the encryption is LUKS; if not, bail.
+-                slavedev=$(finddevnoinsys $r3)
+-                # get the basename, then s,!,/, in case it's a cciss device
+-                slavedev=$(echo ${slavedev##*/} | tr '!' '/')
+-                cryptsetup isLuks "/dev/$slavedev" 2>/dev/null || continue
+-                find_base_dm_mods
+-                dmname=$(dmsetup info -j $major -m $minor -c --noheadings -o name)
+-                # do the device resolution dance to get /dev/mapper/foo
+-                # since 'lvm lvs' doesn't like dm-X device nodes
+-                if [[ "$slavedev" =~ ^dm- ]]; then
+-                    majmin=$(get_numeric_dev dec "/dev/$slavedev")
+-                    for dmdev in /dev/mapper/* ; do
+-                        dmnum=$(get_numeric_dev dev $dmdev)
+-                        if [ $dmnum = $majmin ]; then
+-                            slavedev=${dmdev#/dev/}
+-                            break
+-                        fi
+-                    done
+-                fi
+-
+-                # determine if $slavedev is an LV
+-                #  if so, add the device to latecryptodevs
+-                #  if not, add the device to cryptodevs
+-                local vg=$(lvshow /dev/$slavedev)
+-                if [ -n "$vg" ]; then
+-                    eval cryptolv${ncryptolvs}='"'/dev/$slavedev $dmname'"'
+-                    let ncryptolvs++
+-                elif grep -q "^$slavedev :" /proc/mdstat ; then
+-                    eval cryptoraid${ncryptoraids}='"'/dev/$slavedev $dmname'"'
+-                    let ncryptoraids++
+-                else
+-                    eval cryptoparts${ncryptoparts}='"'/dev/$slavedev $dmname'"'
+-                    let ncryptoparts++
+-                fi
+-
+-                let ncryptodevs++
+-                findstoragedriver "/dev/$slavedev"
+-                ;;
+-        esac
+-    done << EOF
+-        $(dmsetup table -j $major -m $minor 2>/dev/null)
+-EOF
+-        local name=$(dmsetup info --noheadings -c -j $major -m $minor -o name)
+-        local vg=$(lvshow "/dev/mapper/$name")
+-        local raids=$(/sbin/dmraid -s -craidname 2>/dev/null | grep -vi "no raid disks")
+-        if [ -n "$vg" ]; then
+-            vg=`echo $vg` # strip whitespace
+-            case " $vg_list " in
+-                *" $vg "*) ;;
+-                *)  vg_list="$vg_list $vg"
+-                    [ -z "$nolvm" ] && find_base_dm_mods
+-                    ;;
+-            esac
+-        fi
+-        for raid in $raids ; do
+-            if [ "$raid" == "$name" ]; then
+-                case " $DMRAIDS " in
+-                    *" $raid "*) ;;
+-                    *)  DMRAIDS="$DMRAIDS $raid"
+-                        [ -z "$nodmraid" ] && find_base_dm_mods
+-                        ;;
+-                esac
+-                break
+-            fi
+-        done
+-}
+-
+-handleiscsi() {
+-    vecho "Found iscsi component $1"
+-
+-    # We call iscsi_set_parameters once here to figure out what network to
+-    # use (it sets tgt_ipaddr), and once again to emit iscsi values,
+-    # not very efficient.
+-    iscsi_set_parameters $1
+-    iscsi_devs="$iscsi_devs $1"
+-    netdev=$(/sbin/ip route get to $tgt_ipaddr | \
+-        sed 's|.*dev \(.*\).*|\1|g' | awk '{ print $1; exit }')
+-    addnetdev $netdev
+-}
+-
+-handleraid() {
+-    local start=0
+-
+-    if [ -n "$noraid" -o ! -f /proc/mdstat ]; then
+-        return 0
+-    fi
+-
+-    levels=$(awk "/^$1[  ]*:/ { print\$4 }" /proc/mdstat)
+-
+-    for level in $levels ; do
+-        case $level in
+-            linear)
+-                start=1
+-                ;;
+-            multipath)
+-                start=1
+-                ;;
+-            raid[01] | raid10)
+-                start=1
+-                ;;
+-            raid[456])
+-                start=1
+-                ;;
+-            *)
+-                error "raid level $level (in /proc/mdstat) not recognized"
+-                ;;
+-        esac
+-    done
+-    if [ "$start" = 1 ]; then
+-        raiddevices="$raiddevices $1"
+-    fi
+-    return $start
+-}
+-
+-lvshow() {
+-    lvm lvs --ignorelockingfailure --noheadings -o vg_name \
+-        $1 2>/dev/null | egrep -v '^ *(WARNING:|Volume Groups with)'
+-}
+-
+-vgdisplay() {
+-    lvm vgdisplay --ignorelockingfailure -v $1 2>/dev/null |
+-    sed -n 's/PV Name//p'
+-}
+-
+-dmmods_found="n"
+-find_base_dm_mods()
+-{
+-    [ "$dmmods_found" == "n" ] || return
+-    dmmods_found="y"
+-}
+-
+-savedargs=$*
+-while [ $# -gt 0 ]; do
+-    case $1 in
+-        --fstab*)
+-            if [ "$1" != "${1##--fstab=}" ]; then
+-                fstab=${1##--fstab=}
+-            else
+-                fstab=$2
+-                shift
+-            fi
+-            ;;
+-
+-
+-        -v|--verbose)
+-            set_verbose true
+-            ;;
+-        --net-dev*)
+-            if [ "$1" != "${1##--net-dev=}" ]; then
+-                net_list="$net_list ${1##--net-dev=}"
+-            else
+-                net_list="$net_list $2"
+-                shift
+-            fi
+-            ;;
+-        --rootdev*)
+-            if [ "$1" != "${1##--rootdev=}" ]; then
+-                rootdev="${1##--rootdev=}"
+-            else
+-                rootdev="$2"
+-                shift
+-            fi
+-            ;;
+-        --thawdev*)
+-            if [ "$1" != "${1##--thawdev=}" ]; then
+-                thawdev="${1##--thawdev=}"
+-            else
+-                thawdev="$2"
+-                shift
+-            fi
+-            ;;
+-        --rootfs*)
+-            if [ "$1" != "${1##--rootfs=}" ]; then
+-                rootfs="${1##--rootfs=}"
+-            else
+-                rootfs="$2"
+-                shift
+-            fi
+-            ;;
+-        --rootopts*)
+-            if [ "$1" != "${1##--rootopts=}" ]; then
+-                rootopts="${1##--rootopts=}"
+-            else
+-                rootopts="$2"
+-                shift
+-            fi
+-            ;;
+-        --root*)
+-            if [ "$1" != "${1##--root=}" ]; then
+-                root="${1##--root=}"
+-            else
+-                root="$2"
+-                shift
+-            fi
+-            ;;
+-        --loopdev*)
+-            if [ "$1" != "${1##--loopdev=}" ]; then
+-                loopdev="${1##--loopdev=}"
+-            else
+-                loopdev="$2"
+-                shift
+-            fi
+-            ;;
+-        --loopfs*)
+-            if [ "$1" != "${1##--loopfs=}" ]; then
+-                loopfs="${1##--loopfs=}"
+-            else
+-                loopfs="$2"
+-                shift
+-            fi
+-            ;;
+-        --loopopts*)
+-            if [ "$1" != "${1##--loopopts=}" ]; then
+-                loopopts="${1##--loopopts=}"
+-            else
+-                loopopts="$2"
+-                shift
+-            fi
+-            ;;
+-        --looppath*)
+-            if [ "$1" != "${1##--looppath=}" ]; then
+-                looppath="${1##--looppath=}"
+-            else
+-                looppath="$2"
+-                shift
+-            fi
+-            ;;
+-        --help)
+-            usage -n
+-            ;;
+-        *)
+-            if [ -z "$target" ]; then
+-                target=$1
+-            elif [ -z "$kernel" ]; then
+-                kernel=$1
+-            else
+-                usage
+-            fi
+-            ;;
+-    esac
+-
+-    shift
+-done
+-
+-[ -z "$rootfs" ] && rootfs=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $3; }}' $fstab)
+-[ -z "$rootopts" ] && rootopts=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $4; }}' $fstab)
+-[ -z "$rootopts" ] && rootopts="defaults"
+-
+-
+-[ -z "$rootdev" ] && rootdev=$(awk '/^[ \t]*[^#]/ { if ($2 == "/") { print $1; }}' $fstab)
+-    # check if it's nfsroot
+-physdev=""
+-if [ "$rootfs" == "nfs" ]; then
+-    if [ "x$net_list" == "x" ]; then
+-        handlenfs $rootdev
+-    fi
+-else
+-        # check if it's root by label
+-    rdev=$rootdev
+-    rdev=$(resolve_device_name "$rdev")
+-    rootopts=$(echo $rootopts | sed -e 's/^r[ow],//' -e 's/,_netdev//' -e 's/_netdev//' -e 's/,_rnetdev//' -e 's/_rnetdev//' -e 's/,r[ow],$//' -e 's/,r[ow],/,/' -e 's/^r[ow]$/defaults/' -e 's/$/,ro/')
+-    findstoragedriver "$rdev"
+-fi
+-
+-    # find the first swap dev which would get used for swsusp
+-[ -z "$thawdev" ] && thawdev=$(awk '/^[ \t]*[^#]/ { if ($3 == "swap") { print $1; exit }}' $fstab)
+-swsuspdev="$thawdev"
+-if [ -n "$swsuspdev" ]; then
+-    swsuspdev=$(resolve_device_name "$swsuspdev")
+-    findstoragedriver "$swsuspdev"
+-fi
+-
+-
+-cemit()
+-{
+-    cat
+-}
+-
+-emit()
+-{
+-    NONL=""
+-    if [ "$1" == "-n" ]; then
+-        NONL="-n"
+-        shift
+-    fi
+-    echo $NONL "$@"
+-}
+-
+-emitdmraids()
+-{
+-    if [ -z "$nodmraid" -a -n "$DMRAIDS" ]; then
+-        for raid in $DMRAIDS; do
+-            echo -n "rd_DM_UUID=$raid "
+-        done
+-    fi
+-}
+-
+-
+-# HACK: module loading + device creation isn't necessarily synchronous...
+-# this will make sure that we have all of our devices before trying
+-# things like RAID or LVM
+-emitdmraids
+-
+-emitcrypto()
+-{
+-    local luksuuid=$(grep "^$2 " /etc/crypttab 2>/dev/null| awk '{ print $2 }')
+-    if [ -z "$luksuuid" ]; then
+-        luksuuid="$2"
+-    fi
+-    luksuuid=${luksuuid##UUID=}
+-    echo -n "rd_LUKS_UUID=$luksuuid "
+-}
+-
+-if [ -n "$raiddevices" ]; then
+-    for dev in $raiddevices; do
+-        uid=$(udevadm info --query=env --name /dev/${dev}|grep MD_UUID)
+-        uid=${uid##MD_UUID=}
+-        [ -n "$uid" ] && echo -n "rd_MD_UUID=$uid "
+-    done
+-else
+-    echo -n "rd_NO_MD "
+-fi
+-
+-if [ -z "$nolvm" -a -n "$vg_list" ]; then
+-    for vg in $vg_list; do
+-        echo -n "rd_LVM_VG=$vg "
+-    done
+-else
+-    echo -n "rd_NO_LVM "
+-fi
+-
+-cryptdevs="$(echo ${!cryptoraid@} ${!cryptopart@} ${!cryptolv@})"
+-
+-if [ -z "$cryptdevs" ]; then
+-    echo -n "rd_NO_LUKS "
+-else
+-    for cryptdev in ${!cryptoraid@} ${!cryptopart@} ${!cryptolv@} ; do
+-        emitcrypto `eval echo '$'$cryptdev`
+-    done
+-fi
+-
+-# output local keyboard/18n settings
+-[ -e /etc/sysconfig/keyboard ] && . /etc/sysconfig/keyboard
+-[ -e /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
+-
+-for i in KEYTABLE SYSFONT SYSFONTACM UNIMAP LANG; do
+-    val=$(eval echo \$$i)
+-    [[ $val ]] && echo -n "$i=$val "
+-done
+-
+-if [ -n "$KEYBOARDTYPE" -a "$KEYBOARDTYPE" != "pc" ]; then
+-    echo -n "KEYBOARDTYPE=$KEYBOARDTYPE "
+-fi
+-
+-if [ -n "$rootdev" ]; then
+-    echo -n "root=$rootdev "
+-fi
+-
+-echo
+diff --git a/dracut.spec b/dracut.spec
+index 0275af3..7a058ae 100644
+--- a/dracut.spec
++++ b/dracut.spec
+@@ -318,9 +318,7 @@ rm -rf $RPM_BUILD_ROOT
+ 
+ %files tools
+ %defattr(-,root,root,0755)
+-%{_mandir}/man8/dracut-gencmdline.8*
+ %{_mandir}/man8/dracut-catimages.8*
+-%{_bindir}/dracut-gencmdline
+ %{_bindir}/dracut-catimages
+ %dir /boot/dracut
+ %dir /var/lib/dracut
diff --git a/0046-replace-xml-documentation-with-asciidoc.patch b/0046-replace-xml-documentation-with-asciidoc.patch
new file mode 100644
index 0000000..27379f8
--- /dev/null
+++ b/0046-replace-xml-documentation-with-asciidoc.patch
@@ -0,0 +1,5462 @@
+From 888d53f270a1a163460d764c886c23f2f276c035 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 13:58:26 +0100
+Subject: [PATCH] replace xml documentation with asciidoc
+
+---
+ Makefile               |    7 +-
+ dracut-catimages.8.asc |   59 +++
+ dracut-catimages.8.xml |  116 -----
+ dracut.8.asc           |  378 ++++++++++++++
+ dracut.8.xml           |  684 -------------------------
+ dracut.asc             | 1026 +++++++++++++++++++++++++++++++++++++
+ dracut.cmdline.7.asc   |  603 ++++++++++++++++++++++
+ dracut.cmdline.7.xml   | 1324 ------------------------------------------------
+ dracut.conf.5.asc      |  135 +++++
+ dracut.conf.5.xml      |  297 -----------
+ dracut.xml             |  729 --------------------------
+ 11 files changed, 2207 insertions(+), 3151 deletions(-)
+ create mode 100644 dracut-catimages.8.asc
+ delete mode 100644 dracut-catimages.8.xml
+ create mode 100644 dracut.8.asc
+ delete mode 100644 dracut.8.xml
+ create mode 100644 dracut.asc
+ create mode 100644 dracut.cmdline.7.asc
+ delete mode 100644 dracut.cmdline.7.xml
+ create mode 100644 dracut.conf.5.asc
+ delete mode 100644 dracut.conf.5.xml
+ delete mode 100644 dracut.xml
+
+diff --git a/Makefile b/Makefile
+index d79b2b0..bd27d06 100644
+--- a/Makefile
++++ b/Makefile
+@@ -19,11 +19,16 @@ all: syncheck
+ %: %.xml
+ 	xsltproc -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+ 
+-dracut.html: dracut.xml $(manpages)
++%.xml: %.asc
++	asciidoc -d manpage -b docbook -o $@ $<
++
++dracut.html: dracut.asc $(manpages)
++	asciidoc -a numbered -d book -b docbook -o dracut.xml dracut.asc
+ 	xsltproc -o dracut.html --xinclude -nonet \
+ 		--stringparam draft.mode yes \
+ 		--stringparam html.stylesheet http://docs.redhat.com/docs/en-US/Common_Content/css/default.css \
+ 		http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl dracut.xml
++	rm dracut.xml
+ 
+ install: doc
+ 	mkdir -p $(DESTDIR)$(pkglibdir)
+diff --git a/dracut-catimages.8.asc b/dracut-catimages.8.asc
+new file mode 100644
+index 0000000..57f422c
+--- /dev/null
++++ b/dracut-catimages.8.asc
+@@ -0,0 +1,59 @@
++DRACUT-CATIMAGES(8)
++===================
++:doctype: manpage
++:man source:   dracut
++:man manual:   dracut
++
++NAME
++----
++dracut-catimages - creates initial ramdisk image by concatenating images
++
++SYNOPSIS
++--------
++**dracut-catimages** [_OPTION_...] _<initramfs base image>_ [_<image>_...]
++
++DESCRIPTION
++-----------
++dracut-catimages creates an initial ramdisk image by concatenating several
++images from the command line and /boot/dracut/*.img
++
++OPTIONS
++-------
++**-f, --force**::
++    overwrite existing initramfs file.
++
++**-i, --imagedir**::
++    Directory with additional images to add (default: /boot/dracut/)
++
++**-o, --overlaydir**::
++    Overlay directory, which contains additional files that will be used to
++    create an additional image
++
++**--nooverlay**:: Do not use the overlay directory
++
++**--noimagedir**:: Do not use the additional image directory
++
++**-h, --help**:: display help text and exit.
++
++**--debug**:: output debug information of the build process
++
++**-v, --verbose**:: verbose output during the build process
++
++FILES
++-----
++_/boot/dracut/*.img_::
++    images to work with
++
++AUTHORS
++-------
++Harald Hoyer
++
++AVAILABILITY
++------------
++The dracut-catimages command is part of the dracut package and is available from
++link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
++
++SEE ALSO
++--------
++*dracut*(8)
++
+diff --git a/dracut-catimages.8.xml b/dracut-catimages.8.xml
+deleted file mode 100644
+index ae8a3ab..0000000
+--- a/dracut-catimages.8.xml
++++ /dev/null
+@@ -1,116 +0,0 @@
+-<?xml version="1.0" encoding="ISO-8859-1"?>
+-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []>
+-<!-- lifted from troff+man by doclifter -->
+-<refentry id='dracutcatimages8'>
+-<refmeta>
+-<refentrytitle>DRACUT-CATIMAGES</refentrytitle>
+-<manvolnum>8</manvolnum>
+-<refmiscinfo class='source'>June 2009</refmiscinfo>
+-<refmiscinfo class='manual'>Linux</refmiscinfo>
+-</refmeta>
+-<refnamediv id='name'>
+-<refname>dracut-catimages</refname>
+-<refpurpose>creates initial ramdisk image by concatenating images</refpurpose>
+-</refnamediv>
+-<!-- body begins here -->
+-<refsynopsisdiv id='synopsis'>
+-<cmdsynopsis>
+-  <command>dracut-catimages</command>    <arg choice='opt' rep='repeat'><replaceable>OPTION</replaceable></arg>
+-    <arg choice='plain'><replaceable>&lt;initramfs</replaceable></arg>
+-    <arg choice='plain'><replaceable>base</replaceable></arg>
+-    <arg choice='plain'><replaceable>image&gt;</replaceable></arg>
+-    <arg choice='opt' rep='repeat'><replaceable>&lt;image&gt;</replaceable></arg>
+-    <sbr/>
+-</cmdsynopsis>
+-</refsynopsisdiv>
+-
+-
+-<refsect1 id='description'><title>DESCRIPTION</title>
+-<para><command>dracut-catimages</command>
+-creates an initial ramdisk image by concatenating several images from the command
+-line and /boot/dracut/*.img</para>
+-
+-</refsect1>
+-
+-<refsect1 id='options'><title>OPTIONS</title>
+-<variablelist remap='TP'>
+-  <varlistentry>
+-  <term><option>-f</option>, <option>--force</option></term>
+-  <listitem>
+-<para>overwrite existing initramfs file.</para>
+-  </listitem>
+-  </varlistentry>
+-  <varlistentry>
+-  <term><option>-i</option>, <option>--imagedir</option></term>
+-  <listitem>
+-<para>Directory with additional images to add (default: /boot/dracut/)</para>
+-  </listitem>
+-  </varlistentry>
+-  <varlistentry>
+-  <term><option>-o</option>, <option>--overlaydir</option></term>
+-  <listitem>
+-<para>Overlay directory, which contains additional files that will be used to create an additional image</para>
+-  </listitem>
+-  </varlistentry>
+-  <varlistentry>
+-  <term><option>--nooverlay</option></term>
+-  <listitem>
+-<para>Do not use the overlay directory</para>
+-  </listitem>
+-  </varlistentry>
+-  <varlistentry>
+-  <term><option>--noimagedir</option></term>
+-  <listitem>
+-<para>Do not use the additional image directory</para>
+-  </listitem>
+-  </varlistentry>
+-  <varlistentry>
+-  <term><option>-h</option>, <option>--help</option></term>
+-  <listitem>
+-<para>display help text and exit.</para>
+-  </listitem>
+-  </varlistentry>
+-  <varlistentry>
+-  <term><option>--debug</option></term>
+-  <listitem>
+-<para>output debug information of the build process</para>
+-  </listitem>
+-  </varlistentry>
+-  <varlistentry>
+-  <term><option>-v</option>, <option>--verbose</option></term>
+-  <listitem>
+-<para>verbose output during the build process</para>
+-
+-  </listitem>
+-  </varlistentry>
+-</variablelist>
+-</refsect1>
+-
+-<refsect1 id='files'><title>FILES</title>
+-<variablelist remap='TP'>
+-  <varlistentry>
+-  <term><filename>/boot/dracut/*.img</filename></term>
+-  <listitem>
+-<para></para> <!-- FIXME: blank list item -->
+-  </listitem>
+-  </varlistentry>
+-</variablelist>
+-</refsect1>
+-
+-<refsect1 id='authors'><title>AUTHORS</title>
+-<literallayout remap='.nf'>
+-Harald Hoyer &lt;harald at redhat.com&gt;
+-</literallayout> <!-- .fi -->
+-</refsect1>
+-
+-<refsect1 id='availability'><title>AVAILABILITY</title>
+-<para>The dracut-catimages command is part of the dracut package and is available from
+-<ulink url='https://dracut.wiki.kernel.org'>https://dracut.wiki.kernel.org</ulink></para>
+-
+-</refsect1>
+-
+-<refsect1 id='see_also'><title>SEE ALSO</title>
+-<para><citerefentry><refentrytitle>dracut</refentrytitle><manvolnum>8</manvolnum></citerefentry></para>
+-</refsect1>
+-</refentry>
+-
+diff --git a/dracut.8.asc b/dracut.8.asc
+new file mode 100644
+index 0000000..6ca7347
+--- /dev/null
++++ b/dracut.8.asc
+@@ -0,0 +1,378 @@
++DRACUT(8)
++=========
++:doctype: manpage
++:man source:   dracut
++:man manual:   dracut
++
++NAME
++----
++dracut - low-level tool for generating an initramfs image
++
++SYNOPSIS
++--------
++*dracut* ['OPTION...'] [<image> [_<kernel version>_]]
++
++DESCRIPTION
++-----------
++dracut creates an initial image used by the kernel for preloading the block
++device modules (such as IDE, SCSI or RAID) which are needed to access the root
++filesystem, mounting the root filesystem and booting into the real system.
++
++At boot time, the kernel unpacks that archive into RAM disk, mounts and uses it
++as initial root file system. All finding of the root device happens in this
++early userspace.
++
++For a complete list of kernel command line options see *dracut.cmdline*(7)
++
++OPTIONS
++-------
++**-f, --force**::
++    overwrite existing initramfs file.
++
++**-m, --modules** _<list of dracut modules>_::
++    specify a space-separated list of dracut modules to call when building the initramfs.
++    Modules are located in _/usr/lib/dracut/modules.d_. This parameter can be
++    specified multiple times.
+++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
++----
++# dracut --modules "module1 module2"  ...
++----
++===============================
++
++**-o, --omit** _<list of dracut modules>_::
++    omit a space-separated list of dracut modules. This parameter can be specified multiple times.
++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
++----
++# dracut --omit "module1 module2"  ...
++----
++===============================
++
++**-a, --add** _<list of dracut modules>_::
++    add a space-separated list of dracut modules to the default set of modules.
++    This parameter can be specified multiple times.
+++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
++----
++# dracut --add "module1 module2"  ...
++----
++===============================
++
++**--force-add** _<list of dracut modules>_::
++    force to add a space-separated list of dracut modules to the default set of
++    modules, when -H is specified. This parameter can be specified multiple
++    times.
+++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
++----
++# dracut --force-add "module1 module2"  ...
++----
++===============================
++
++**-d, --drivers** _<list of kernel modules>_::
++    specify a space-separated list of kernel modules to exclusively include
++    in the initramfs. The kernel modules have to be specified without the ".ko"
++    suffix. This parameter can be specified multiple times.
+++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
++----
++# dracut --drivers "kmodule1 kmodule2"  ...
++----
++===============================
++
++**--add-drivers** _<list of kernel modules>_::
++    specify a space-separated list of kernel modules to add to the initramfs.
++    The kernel modules have to be specified without the ".ko" suffix. This
++    parameter can be specified multiple times.
+++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
++----
++# dracut --add-drivers "kmodule1 kmodule2"  ...
++----
++===============================
++
++**--omit-drivers** _<list of kernel modules>_::
++    specify a space-separated list of kernel modules not to add to the
++    initramfs.
++    The kernel modules have to be specified without the ".ko" suffix. This
++    parameter can be specified multiple times.
+++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
++----
++# dracut --omit-drivers "kmodule1 kmodule2"  ...
++----
++===============================
++
++**--filesystems** _<list of filesystems>_::
++    specify a space-separated list of kernel filesystem modules to exclusively
++    include in the generic initramfs. This parameter can be specified multiple
++    times.
++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
++----
++# dracut --filesystems "filesystem1 filesystem2"  ...
++----
++===============================
++
++**-k, --kmoddir** _<kernel directory>_::
++    specify the directory, where to look for kernel modules
++
++**--fwdir** _<dir>[:<dir>...]++_::
++    specify additional directories, where to look for firmwares. This parameter
++    can be specified multiple times.
++
++**--kernel-only**::
++    only install kernel drivers and firmware files
++
++**--no-kernel**::
++    do not install kernel drivers and firmware files
++
++**--mdadmconf**::
++    include local _/etc/mdadm.conf_
++
++**--nomdadmconf**::
++    do not include local _/etc/mdadm.conf_
++
++**--lvmconf**::
++    include local _/etc/lvm/lvm.conf_
++
++**--nolvmconf**::
++    do not include local _/etc/lvm/lvm.conf_
++
++**--fscks** [LIST]::
++    add a space-separated list of fsck tools, in addition to _dracut.conf_'s
++    specification; the installation is opportunistic (non-existing tools are
++    ignored)
+++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
++----
++# dracut --fscks "fsck.foo barfsck"  ...
++----
++===============================
++
++**--nofscks**::
++    inhibit installation of any fsck tools
++
++**--strip**::
++    strip binaries in the initramfs (default)
++
++**--nostrip**::
++    do not strip binaries in the initramfs
++
++**--prefix** _<dir>_::
++    prefix initramfs files with the specified directory
++
++**--noprefix**::
++    do not prefix initramfs files (default)
++
++**--ctty**::
++    if possible, try to spawn an emergency shell on a terminal with job control
++
++**-h, --help**::
++    display help text and exit.
++
++**--debug**::
++    output debug information of the build process
++
++**-v, --verbose**::
++    increase verbosity level (default is info(4))
++
++**-q, --quiet**:: decrease verbosity level (default is info(4))
++
++**-c, --conf** _<dracut configuration file>_::
++    specify configuration file to use.
+++
++Default:
++   _/etc/dracut.conf_
++
++**--confdir** _<configuration directory>_::
++    specify configuration directory to use.
+++
++Default:
++   _/etc/dracut.conf.d_
++
++**--sshkey** _<sshkey file>_:: ssh key file used with ssh-client module.
++
++**-l, --local**::
++    activates the local mode. dracut will use modules from the current working
++    directory instead of the system-wide installed modules in
++    _/usr/lib/dracut/modules.d_.
++    This is useful when running dracut from a git checkout.
++
++**-H, --hostonly**::
++    Host-Only mode: Install only what is needed for booting
++    the local host instead of a generic host.
+++
++[WARNING]
++====
++If chrooted to another root other than the real root device, use "--fstab" and provide a valid _/etc/fstab_.
++====
++
++**--fstab**::
++    Use _/etc/fstab_ instead of _/proc/self/mountinfo_.
++
++**--add_fstab** _<filename>_ ::
++    Add entries of _<filename>_ to the initramfs /etc/fstab.
++
++**--mount** "_<device>_ _<mountpoint>_ _<filesystem type>_ _<filesystem options>_"::
++    Add entries of _<filename>_ to the initramfs /etc/fstab.
++
++**-i, --include** _<SOURCE>_ _<TARGET>_::
++    include the files in the SOURCE directory into the
++    TARGET directory in the final initramfs. If SOURCE is a file, it will be
++    installed to TARGET in the final initramfs. This parameter can be specified
++    multiple times.
++
++**-I, --install** _<file list>_::
++    install the space separated list of files into the initramfs.
+++
++[NOTE]
++===============================
++If [LIST] has multiple arguments, then you have to put these in quotes. For
++example:
+++
++----
++# dracut --install "/bin/foo /sbin/bar"  ...
++----
++===============================
++
++**--gzip**::
++    Compress the generated initramfs using gzip. This will be done by default,
++    unless another compression option or --no-compress is passed. Equivalent to
++    "--compress=gzip -9"
++
++**--bzip2**::
++    Compress the generated initramfs using bzip2.
+++
++[WARNING]
++====
++Make sure your kernel has bzip2 decompression support compiled in, otherwise you
++will not be able to boot. Equivalent to "--compress=bzip2"
++====
++
++**--lzma**::
++    Compress the generated initramfs using lzma.
+++
++[WARNING]
++====
++Make sure your kernel has lzma decompression support compiled in, otherwise you
++will not be able to boot. Equivalent to "--compress=lzma -9"
++====
++
++**--xz**::
++    Compress the generated initramfs using xz.
+++
++[WARNING]
++====
++Make sure your kernel has xz decompression support compiled in, otherwise you
++will not be able to boot. Equivalent to "--compress=xz --check=crc32
++--lzma2=dict=1MiB"
++====
++
++**--compress** _<compressor>_::
++    Compress the generated initramfs using the passed compression program. If
++    you pass it just the name of a compression program, it will call that
++    program with known-working arguments. If you pass a quoted string with
++    arguments, it will be called with exactly those arguments. Depending on what
++    you pass, this may result in an initramfs that the kernel cannot decompress.
++
++**--no-compress**::
++    Do not compress the generated initramfs. This will override any other
++    compression options.
++
++**--list-modules**::
++    List all available dracut modules.
++
++**-M, --show-modules**::
++    Print included module's name to standard output during build.
++
++**--keep**::
++    Keep the initramfs temporary directory for debugging purposes.
++
++FILES
++-----
++_/var/log/dracut.log_::
++    logfile of initramfs image creation
++
++_/tmp/dracut.log_::
++    logfile of initramfs image creation, if _/var/log/dracut.log_ is not
++    writable
++
++_/etc/dracut.conf_::
++    see dracut.conf5
++
++_/etc/dracut.conf.d/*.conf_::
++    see dracut.conf5
++
++Configuration in the initramfs
++~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++_/etc/conf.d/_::
++    Any files found in _/etc/conf.d/_ will be sourced in the initramfs to
++    set initial values. Command line options will override these values
++    set in the configuration files.
++
++_/etc/cmdline_::
++    Can contain additional command line options.
++
++AVAILABILITY
++------------
++The dracut command is part of the dracut package and is available from
++link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
++
++AUTHORS
++-------
++*Harald Hoyer*::
++    Project Leader and Developer
++
++*Victor Lowther*::
++    Developer
++
++*Philippe Seewer*::
++    Developer
++
++*Warren Togami*::
++    Developer
++
++*Amadeusz Żołnowski*::
++    Developer
++
++*Jeremy Katz*::
++    Developer
++
++*David Dillow*::
++    Developer
++
++*Will Woods*::
++    Developer
++
++SEE ALSO
++--------
++*dracut.cmdline*(7) *dracut.conf*(5)
+diff --git a/dracut.8.xml b/dracut.8.xml
+deleted file mode 100644
+index de1a0bf..0000000
+--- a/dracut.8.xml
++++ /dev/null
+@@ -1,684 +0,0 @@
+-<?xml version='1.0' encoding='UTF-8'?>
+-<!-- This document was created with Syntext Serna Free. --><!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []>
+-<!-- vim: set ts=8 sts=2 sw=2 et: -->
+-<refentry id="dracut8">
+-  <refentryinfo>
+-    <title>dracut</title>
+-    <productname>dracut</productname>
+-    <authorgroup>
+-      <author>
+-        <contrib>Project Leader, Developer</contrib>
+-        <firstname>Harald</firstname>
+-        <surname>Hoyer</surname>
+-        <email>harald at redhat.com</email>
+-      </author>
+-      <author>
+-        <contrib>Developer</contrib>
+-        <firstname>Victor</firstname>
+-        <surname>Lowther</surname>
+-        <email>victor.lowther at gmail.com</email>
+-      </author>
+-      <author>
+-        <contrib>Developer</contrib>
+-        <firstname>Philippe</firstname>
+-        <surname>Seewer</surname>
+-        <email>philippe.seewer at bfh.ch</email>
+-      </author>
+-      <author>
+-        <contrib>Developer</contrib>
+-        <firstname>Warren</firstname>
+-        <surname>Togami</surname>
+-      </author>
+-      <author>
+-        <contrib>Developer</contrib>
+-        <firstname>Amadeusz</firstname>
+-        <surname>Żołnowski</surname>
+-        <email>aidecoe at aidecoe.name</email>
+-      </author>
+-      <author>
+-        <contrib>Developer</contrib>
+-        <firstname>Jeremy</firstname>
+-        <surname>Katz</surname>
+-      </author>
+-      <author>
+-        <contrib>Developer</contrib>
+-        <firstname>David</firstname>
+-        <surname>Dillow</surname>
+-        <email>dave at thedillows.org</email>
+-      </author>
+-    </authorgroup>
+-  </refentryinfo>
+-  <refmeta>
+-    <refentrytitle>dracut</refentrytitle>
+-    <manvolnum>8</manvolnum>
+-    <refmiscinfo class="version"/>
+-  </refmeta>
+-  <refnamediv>
+-    <refname>dracut</refname>
+-    <refpurpose>create initial ramdisk images for preloading modules</refpurpose>
+-  </refnamediv>
+-  <refsynopsisdiv>
+-    <cmdsynopsis>
+-      <command>dracut</command>
+-      <arg choice="opt" rep="repeat">
+-        <replaceable>OPTION</replaceable>
+-      </arg>
+-      <arg choice="opt">
+-        <replaceable>&lt;image&gt;</replaceable>
+-        <arg choice="opt">
+-          <replaceable>&lt;kernel-version&gt;</replaceable>
+-        </arg>
+-      </arg>
+-      <sbr/>
+-    </cmdsynopsis>
+-  </refsynopsisdiv>
+-  <refsect1>
+-    <title>Description</title>
+-    <para><command>dracut</command>
+-creates an initial image used by the kernel for
+-preloading the block device modules (such as IDE, SCSI or RAID)
+-which are needed to access the root filesystem.</para>
+-    <para>
+-For a complete list of kernel command line options see
+-      <citerefentry>
+-        <refentrytitle>dracut.cmdline</refentrytitle>
+-        <manvolnum>7</manvolnum>
+-      </citerefentry>
+-</para>
+-    <refsect2>
+-      <title>Options</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <option>-f</option>
+-          </term>
+-          <term>
+-            <option>--force</option>
+-          </term>
+-          <listitem>
+-            <para>overwrite existing initramfs file.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-m</option>
+-          </term>
+-          <term>
+-            <option>--modules&nbsp;<replaceable>&lt;list of dracut modules&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>specify a space-separated list of dracut modules to call
+-when building the initramfs.
+-Modules are located in
+-<filename>/usr/lib/dracut/modules.d</filename>. This parameter can be specified multiple times.</para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --modules "module1 module2"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-o</option>
+-          </term>
+-          <term>
+-            <option>--omit&nbsp;<replaceable>&lt;list of dracut modules&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>omit a space-separated list of dracut modules. This parameter can be specified multiple times.</para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --omit "module1 module2"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-a</option>
+-          </term>
+-          <term>
+-            <option>--add&nbsp;<replaceable>&lt;list of dracut modules&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>add a space-separated list of dracut modules to the default set of modules. This parameter can be specified multiple times.</para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --add "module1 module2"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--force-add&nbsp;<replaceable>&lt;list of dracut modules&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>force to add a space-separated list of dracut modules to the default set of modules, when -H is specified. This parameter can be specified multiple times.</para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --force-add "module1 module2"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-
+-        <varlistentry>
+-          <term>
+-            <option>-d</option>
+-          </term>
+-          <term>
+-            <option>--drivers&nbsp;<replaceable>&lt;list of kernel modules&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>specify a space-separated list of kernel modules to exclusively include
+-in the initramfs.
+-The kernel modules have to be specified without the &quot;.ko&quot; suffix. This parameter can be specified multiple times.</para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --drivers "kmodule1 kmodule2"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--add-drivers&nbsp;<replaceable>&lt;list of kernel modules&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>specify a space-separated list of kernel modules to add to the initramfs.
+-The kernel modules have to be specified without the &quot;.ko&quot; suffix. This parameter can be specified multiple times.</para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --add-drivers "kmodule1 kmodule2"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--omit-drivers&nbsp;<replaceable>&lt;list of kernel modules&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>specify a space-separated list of kernel modules not to add to the initramfs.
+-The kernel modules have to be specified without the &quot;.ko&quot; suffix. This parameter can be specified multiple times.</para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --omit-drivers "kmodule1 kmodule2"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--filesystems&nbsp;<replaceable>&lt;list of filesystems&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>specify a space-separated list of kernel filesystem modules to exclusively
+-include in the generic initramfs. This parameter can be specified multiple times.</para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --filesystems "filesystem1 filesystem2"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-k</option>
+-          </term>
+-          <term>
+-            <option>--kmoddir&nbsp;<replaceable>&lt;kernel directory&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>specify the directory, where to look for kernel modules</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option> --fwdir&nbsp;<replaceable>&lt;dir&gt;[:&lt;dir&gt;...]</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>specify additional directories, where to look for firmwares. This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--kernel-only</option>
+-          </term>
+-          <listitem>
+-            <para>only install kernel drivers and firmware files</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--no-kernel</option>
+-          </term>
+-          <listitem>
+-            <para>do not install kernel drivers and firmware files</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--mdadmconf</option>
+-          </term>
+-          <listitem>
+-            <para>include local <filename>/etc/mdadm.conf</filename></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--nomdadmconf</option>
+-          </term>
+-          <listitem>
+-            <para>do not include local <filename>/etc/mdadm.conf</filename></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--lvmconf</option>
+-          </term>
+-          <listitem>
+-            <para>include local <filename>/etc/lvm/lvm.conf</filename></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--nolvmconf</option>
+-          </term>
+-          <listitem>
+-            <para>do not include local <filename>/etc/lvm/lvm.conf</filename></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--fscks [LIST]</option>
+-          </term>
+-          <listitem>
+-            <para>add a space-separated list of fsck tools, in addition to
+-              <filename>dracut.conf</filename>'s specification; the
+-              installation is opportunistic (non-existing tools are ignored)
+-            </para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --fscks "fsck.foo barfsck"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--nofscks</option>
+-          </term>
+-          <listitem>
+-            <para>inhibit installation of any fsck tools</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--strip</option>
+-          </term>
+-          <listitem>
+-            <para>strip binaries in the initramfs (default)</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--nostrip</option>
+-          </term>
+-          <listitem>
+-            <para>do not strip binaries in the initramfs</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--prefix&nbsp;<replaceable>&lt;dir&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>prefix initramfs files with the specified directory</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--noprefix</option>
+-          </term>
+-          <listitem>
+-            <para>do not prefix initramfs files (default)</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--ctty</option>
+-          </term>
+-          <listitem>
+-            <para>if possible, try to spawn an emergency shell on a terminal
+-              with job control</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-h</option>
+-          </term>
+-          <term>
+-            <option>--help</option>
+-          </term>
+-          <listitem>
+-            <para>display help text and exit.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--debug</option>
+-          </term>
+-          <listitem>
+-            <para>output debug information of the build process</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-v</option>
+-          </term>
+-          <term>
+-            <option>--verbose</option>
+-          </term>
+-          <listitem>
+-            <para>increase verbosity level (default is info(4))</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-q</option>
+-          </term>
+-          <term>
+-            <option>--quiet</option>
+-          </term>
+-          <listitem>
+-            <para>decrease verbosity level (default is info(4))</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-c</option>
+-          </term>
+-          <term>
+-            <option>--conf&nbsp;<replaceable>&lt;dracut configuration file&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>specify configuration file to use.
+-Default:
+-<filename>/etc/dracut.conf</filename></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--confdir&nbsp;<replaceable>&lt;configuration directory&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>specify configuration directory to use.
+-Default:
+-<filename>/etc/dracut.conf.d</filename></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--sshkey&nbsp;<replaceable>&lt;sshkey file&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>ssh key file used with ssh-client module.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-l</option>
+-          </term>
+-          <term>
+-            <option>--local</option>
+-          </term>
+-          <listitem>
+-            <para>activates the local mode. dracut will use modules from the current working
+-directory instead of the system-wide installed modules in
+-<filename>/usr/lib/dracut/modules.d</filename>.
+-This is useful when running dracut from a git checkout.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-H</option>
+-          </term>
+-          <term>
+-            <option>--hostonly</option>
+-          </term>
+-          <listitem>
+-            <para>Host-Only mode: Install only what is needed for booting
+-the local host instead of a generic host.
+-     <warning>
+-                <para>If chrooted to another root other than the real root device, use &quot;--fstab&quot; and provide a valid <filename>/etc/fstab</filename>.</para>
+-              </warning></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--fstab</option>
+-          </term>
+-          <listitem>
+-            <para>Use <filename>/etc/fstab</filename> instead of <filename>/proc/self/mountinfo</filename>.</para>
+-          </listitem>
+-        </varlistentry>
+-	<varlistentry>
+-	  <term>
+-	    <option>--add_fstab&nbsp;<replaceable>&lt;filename&gt;</replaceable>&nbsp;</option>
+-	  </term>
+-	  <listitem>
+-	    <para>Add entries of <replaceable>&lt;filename&gt;</replaceable> to the initramfs /etc/fstab.</para>
+-	  </listitem>
+-	  </varlistentry>
+-	<varlistentry>
+-	  <term>
+-	    <option>--mount&nbsp;&quot;<replaceable>&lt;device&gt;</replaceable> <replaceable>&lt;mountpoint&gt;</replaceable> <replaceable>&lt;filesystem type&gt;</replaceable> <replaceable>&lt;filesystem options&gt;</replaceable>&quot;</option>
+-	  </term>
+-	  <listitem>
+-	    <para>Add entries of <replaceable>&lt;filename&gt;</replaceable> to the initramfs /etc/fstab.</para>
+-	  </listitem>
+-	  </varlistentry>
+-	  <varlistentry>
+-          <term>
+-            <option>-i</option>
+-          </term>
+-          <term>
+-            <option>--include&nbsp;<replaceable>&lt;SOURCE&gt;</replaceable>&nbsp;<replaceable>&lt;TARGET&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>include the files in the SOURCE directory into the
+-TARGET directory in the final initramfs. If SOURCE is a file, it will be installed to TARGET in the final initramfs. This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-I</option>
+-          </term>
+-          <term>
+-            <option>--install&nbsp;<replaceable>&lt;file list&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>install the space separated list of files into the initramfs.</para>
+-	    <para>
+-	      If [LIST] has multiple arguments, then you have to put these in quotes.
+-	      For example:
+-	      <screen># dracut --install "/bin/foo /sbin/bar"  ...</screen>
+-	    </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--gzip</option>
+-          </term>
+-          <listitem>
+-            <para>Compress the generated initramfs using gzip.
+-     This will be done by default, unless another compression option or --no-compress is passed. Equivalent to "--compress=gzip -9"</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--bzip2</option>
+-          </term>
+-          <listitem>
+-            <para>Compress the generated initramfs using bzip2.
+-     <warning>
+-                <para>Make sure your kernel has bzip2 decompression support compiled in, otherwise you will not be able to boot. Equivalent to "--compress=bzip2"</para>
+-              </warning></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--lzma</option>
+-          </term>
+-          <listitem>
+-            <para>Compress the generated initramfs using lzma.
+-     <warning>
+-                <para>Make sure your kernel has lzma decompression support compiled in, otherwise you will not be able to boot. Equivalent to "--compress=lzma -9"</para>
+-              </warning></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--xz</option>
+-          </term>
+-          <listitem>
+-            <para>Compress the generated initramfs using xz.
+-     <warning>
+-                <para>Make sure your kernel has xz decompression support compiled in, otherwise you will not be able to boot. Equivalent to "--compress=xz --check=crc32 --lzma2=dict=1MiB"</para>
+-              </warning></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--compress&nbsp;<replaceable>&lt;compressor&gt;</replaceable></option>
+-          </term>
+-          <listitem>
+-            <para>Compress the generated initramfs using the passed compression program.  If you pass it just the name of a compression program, it will call that program with known-working arguments.  If you pass a quoted string with arguments, it will be called with exactly those arguments.  Depending on what you pass, this may result in an initramfs that the kernel cannot decompress.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--no-compress</option>
+-          </term>
+-          <listitem>
+-            <para>Do not compress the generated initramfs. This will override any other compression options.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--list-modules</option>
+-          </term>
+-          <listitem>
+-            <para>List all available dracut modules.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>-M</option>
+-          </term>
+-          <term>
+-            <option>--show-modules</option>
+-          </term>
+-          <listitem>
+-            <para>Print included module's name to standard output during build.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <option>--keep</option>
+-          </term>
+-          <listitem>
+-            <para>Keep the initramfs temporary directory for debugging purposes.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-  </refsect1>
+-  <refsect1>
+-    <title>Files</title>
+-    <variablelist>
+-      <varlistentry>
+-        <term>
+-          <filename>/var/log/dracut.log</filename>
+-        </term>
+-        <listitem>
+-          <para>logfile of initramfs image creation</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <filename>/tmp/dracut.log</filename>
+-        </term>
+-        <listitem>
+-          <para>logfile of initramfs image creation, if <filename>/var/log/dracut.log</filename> is not writable</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <filename>/etc/dracut.conf</filename>
+-        </term>
+-        <listitem>
+-          <para>see <citerefentry>
+-              <refentrytitle>dracut.conf</refentrytitle>
+-              <manvolnum>5</manvolnum>
+-            </citerefentry></para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <filename>/etc/dracut.conf.d/*.conf</filename>
+-        </term>
+-        <listitem>
+-          <para>see <citerefentry>
+-              <refentrytitle>dracut.conf</refentrytitle>
+-              <manvolnum>5</manvolnum>
+-            </citerefentry></para>
+-        </listitem>
+-      </varlistentry>
+-    </variablelist>
+-    <refsect2>
+-      <title>Configuration in the Initramfs</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <filename>/etc/conf.d/</filename>
+-          </term>
+-          <listitem>
+-            <para>Any files found in <filename>/etc/conf.d/</filename> will be sourced in the initramfs to
+-set initial values. Command line options will override these values
+-set in the configuration files.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <filename>/etc/cmdline</filename>
+-          </term>
+-          <listitem>
+-            <para>Can contain additional command line options.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-  </refsect1>
+-  <refsect1>
+-    <title>Availability</title>
+-    <para>The dracut command is part of the dracut package and is available from
+-<ulink url='https://dracut.wiki.kernel.org'>https://dracut.wiki.kernel.org</ulink></para>
+-  </refsect1>
+-  <refsect1>
+-    <title>See Also</title>
+-    <para>
+-      <citerefentry>
+-        <refentrytitle>dracut.cmdline</refentrytitle>
+-        <manvolnum>7</manvolnum>
+-      </citerefentry>
+-      <citerefentry>
+-        <refentrytitle>dracut.conf</refentrytitle>
+-        <manvolnum>5</manvolnum>
+-      </citerefentry>
+-    </para>
+-  </refsect1>
+-</refentry>
+diff --git a/dracut.asc b/dracut.asc
+new file mode 100644
+index 0000000..a4bf726
+--- /dev/null
++++ b/dracut.asc
+@@ -0,0 +1,1026 @@
++dracut
++======
++Harald Hoyer <harald at redhat.com>
++v2.0, March 2011
++
++:language: bash
++
++= Introduction
++This section is a modified version of
++http://en.wikipedia.org/wiki/Initrd which is licensed under the
++Creative Commons Attribution/Share-Alike License.
++
++== Definition
++An _initial ramdisk_ is a temporary file system used in the boot process of the
++Linux kernel. _initrd_ and _initramfs_ refer to slightly different schemes for
++loading this file system into memory. Both are commonly used to make
++preparations before the real root file system can be mounted.
++
++== Rationale
++Many Linux distributions ship a single, generic kernel image that is intended to
++boot as wide a variety of hardware as possible. The device drivers for this
++generic kernel image are included as loadable modules, as it is not possible to
++statically compile them all into the one kernel without making it too large to
++boot from computers with limited memory or from lower-capacity media like floppy
++disks.
++
++This then raises the problem of detecting and loading the modules necessary to
++mount the root file system at boot time (or, for that matter, deducing where or
++what the root file system is).
++
++To further complicate matters, the root file system may be on a software RAID
++volume, LVM, NFS (on diskless workstations), or on an encrypted partition. All
++of these require special preparations to mount.
++
++Another complication is kernel support for hibernation, which suspends the
++computer to disk by dumping an image of the entire system to a swap partition or
++a regular file, then powering off. On next boot, this image has to be made
++accessible before it can be loaded back into memory.
++
++To avoid having to hardcode handling for so many special cases into the kernel,
++an initial boot stage with a temporary root file system
++—now dubbed early user space— is used.  This root file system would contain
++user-space helpers that would do the hardware detection, module loading and
++device discovery necessary to get the real root file system mounted.
++
++== Implementation
++An image of this initial root file system (along with the kernel image) must be
++stored somewhere accessible by the Linux bootloader or the boot firmware of the
++computer. This can be:
++
++* The root file system itself
++* A boot image on an optical disc
++* A small ext2/ext3 or FAT-formatted partition on a local disk
++  (a _boot partition_)
++* A TFTP server (on systems that can boot from Ethernet)
++
++The bootloader will load the kernel and initial root file system image into
++memory and then start the kernel, passing in the memory address of the image.
++
++Depending on which algorithms were compiled statically into it, the kernel can
++currently unpack initrd/initramfs images compressed with gzip, bzip2 and LZMA.
++
++== Mount preparations
++dracut can generate a customized initrams image which contains only whatever is
++necessary to boot some particular computer, such as ATA, SCSI and filesystem
++kernel modules (host-only mode).
++
++dracut can also generate a more generic initramfs image (default mode).
++
++dracut's initramfs starts only with the device name of the root file system (or
++its UUID) and must discover everything else at boot time. A complex cascade of
++tasks must be performed to get the root file system mounted:
++
++* Any hardware drivers that the boot process depends on must be loaded. All
++kernel modules for common storage devices are packed onto the initramfs and then
++udev pulls in modules matching the computer's detected hardware.
++
++* On systems which display a boot rd.splash screen, the video hardware must be
++initialized and a user-space helper started to paint animations onto the display
++in lockstep with the boot process.
++
++* If the root file system is on NFS, dracut does  then:
++** Bring up the primary network interface.
++** Invoke a DHCP client, with which it can obtain a DHCP lease.
++** Extract the name of the NFS share and the address of the NFS server from the
++lease.
++** Mount the NFS share.
++
++* If the root file system appears to be on a software RAID device, there is no
++way of knowing which devices the RAID volume spans; the standard MD utilities
++must be invoked to scan all available block devices with a raid signature and
++bring the required ones online.
++
++* If the root file system appears to be on a logical volume, the LVM utilities
++must be invoked to scan for and activate the volume group containing it.
++
++* If the root file system is on an encrypted block device:
++** Invoke a helper script to prompt the user to type in a passphrase and/or
++insert a hardware token (such as a smart card or a USB security dongle).
++
++* Create a decryption target with the device mapper.
++
++dracut uses udev, an event-driven hotplug agent, which invokes helper programs
++as hardware devices, disk partitions and storage volumes matching certain rules
++come online. This allows discovery to run in parallel, and to progressively
++cascade into arbitrary nestings of LVM, RAID or encryption to get at the root
++file system.
++
++When the root file system finally becomes visible:
++
++* Any maintenance tasks which cannot run on a mounted root file system
++are done.
++* The root file system is mounted read-only.
++* Any processes which must continue running (such as the rd.splash screen helper
++and its command FIFO) are hoisted into the newly-mounted root file system.
++
++The final root file system cannot simply be mounted over /, since that would
++make the scripts and tools on the initial root file system inaccessible for any
++final cleanup tasks. On an initramfs, the initial root file system cannot be
++rotated away. Instead, it is simply emptied and the final root file system
++mounted over the top.
++
++= User Manual
++
++== Creating an initramfs Image
++To create a initramfs image, the most simple command is:
++----
++# dracut
++----
++
++This will generate a general purpose initramfs image, with all possible
++functionality resulting of the combination of the installed dracut modules and
++system tools. The image is /boot/initramfs-_++<kernel version>++_.img and
++contains the kernel modules of the currently active kernel with version
++_++<kernel version>++_.
++
++If the initramfs image already exists, dracut will display an error message, and
++to overwrite the existing image, you have to use the --force option.
++----
++# dracut --force
++----
++
++If you want to specify another filename for the resulting image you would issue
++a command like:
++----
++# dracut foobar.img
++----
++
++To generate an image for a specific kernel version, the command would be:
++----
++# dracut foobar.img 2.6.40-1.rc5.f20
++----
++
++A shortcut to generate the image at the default location for a specific kernel
++version is:
++----
++# dracut '' 2.6.40-1.rc5.f20
++----
++
++If you want to create lighter, smaller initramfs images, you may want to specify
++the --host-only or -H option. Using this option, the resulting image will
++contain only those dracut modules, kernel modules and filesystems, which are
++needed to boot this specific machine. This has the drawback, that you can't put
++the disk on another controller or machine, and that you can't switch to another
++root filesystem, without recreating the initramfs image. The usage of the
++--host-only option is only for experts and you will have to keep the broken
++pieces. At least keep a copy of a general purpose image (and corresponding
++kernel) as a fallback to rescue your system.
++
++=== Inspecting the Contents
++To see the contents of the image created by dracut, you can use the lsinitrd tool.
++----
++# lsinitrd /boot/initramfs-$(uname -r).img | less
++----
++
++To display the contents of a file in the initramfs also use the lsinitrd tool:
++----
++# lsinitrd /boot/initramfs-$(uname -r).img  /etc/ld.so.conf
++include ld.so.conf.d/*.conf
++----
++
++=== Adding dracut Modules
++Some dracut modules are turned off by default and have to be activated manually.
++You can do this by adding the dracut modules to the configuration file
++_/etc/dracut.conf_ or _/etc/dracut.conf.d/myconf.conf_. See <<dracutconf5>>.
++You can also add dracut modules on the command line
++by using the -a or --add option:
++----
++# dracut --add bootchart initramfs-bootchart.img
++----
++
++To see a list of available dracut modules, use the --list-modules option:
++----
++# dracut --list-modules
++----
++
++or, if you have a dracut version earlier than +008+, issue the command:
++----
++# for mod in /usr/lib/dracut/modules.d/*; do echo ${mod##*/??}; done
++----
++
++=== Omitting dracut Modules
++Sometimes you don't want a dracut module to be included for reasons of speed,
++size or functionality. To do this, either specify the omit_dracutmodules
++variable in the _dracut.conf_ or _/etc/dracut.conf.d/myconf.conf_ configuration
++file (see <<dracutconf5>>), or use the -o or --omit option
++on the command line:
++----
++# dracut -o "multipath lvm" no-multipath-lvm.img
++----
++
++=== Adding Kernel Modules
++If you need a special kernel module in the initramfs, which is not
++automatically picked up by dracut, you have the use the --add-drivers option
++on the command line or  the drivers vaiable in  the _/etc/dracut.conf_
++or _/etc/dracut.conf.d/myconf.conf_ configuration file (see <<dracutconf5>>):
++----
++# dracut --add-drivers mymod initramfs-with-mymod.img
++----
++
++== Boot parameters
++The generated initramfs.img file normally does not contain any system
++configuration files (except for some special exceptions), so the configuration
++has to be done on the kernel command line. With this flexibility, you can easily
++boot from a changed root partition, without the need to recompile the initramfs
++image. So, you could completly change your root partition (move it inside a md
++raid with encryption and LVM on top), as long as you specify the correct
++filesystem LABEL or UUID on the kernel command line for your root device, dracut
++will find it and boot from it.
++
++The kernel command line usually can be configured in _/boot/grub/grub.conf_, if
++grub is your bootloader and it also can be edited in the real boot process in
++the grub menu.
++
++The kernel command line can also be provided by the dhcp server with the
++root-path option. See <<NetworkBoot>>.
++
++For a full reference of all kernel command line parameters, see <<dracut8>>.
++
++=== Specifying the root Device
++This is the only option dracut really needs to boot from your root partition.
++Because your root partition can live in various environments, there are a lot of
++formats for the root= option. The most basic one is root=_++<path to device
++node>++_:
++----
++root=/dev/sda2
++----
++
++Because device node names can change, dependent on the drive ordering, you are
++encouraged to use the filesystem identifier (UUID) or filesystem label (LABEL)
++to specify your root partition:
++----
++root=UUID=19e9dda3-5a38-484d-a9b0-fa6b067d0331
++----
++
++or
++
++----
++root=LABEL=myrootpartitionlabel
++----
++
++To see all UUIDs or LABELs on your system, do:
++----
++# ls -l /dev/disk/by-uuid
++----
++
++or
++
++----
++# ls -l /dev/disk/by-label
++----
++
++If your root partition is on the network see <<NetworkBoot>>.
++
++=== Keyboard Settings
++If you have to input passwords for encrypted disk volumes, you might want to set
++the keyboard layout and specify a display font.
++
++A typical german kernel command would contain:
++----
++vconsole.font=latarcyrheb-sun16 vconsole.keymap=de-latin1-nodeadkeys locale.LANG=de_DE.UTF-8
++----
++
++Setting these options can override the setting stored on your system, if you use
++a modern init system, like systemd.
++
++For dracut versions prior to version +008+ the line would look like:
++----
++LANG=de_DE.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=de-latin1-nodeadkeys
++----
++
++=== Blacklisting Kernel Modules
++Sometimes it is required to prevent the automatic kernel module loading of a
++specific kernel module. To do this, just add rd.blacklist=_++<kernel module
++name>++_, with _++<kernel module name>++_ not containing the _.ko_
++suffix, to the kernel command line. For example:
++----
++rd.driver.blacklist=mptsas rd.driver.blacklist=nouveau
++----
++
++The option can be specified multiple times on the kernel command line.
++
++=== Speeding up the Boot Process
++If you want to speed up the boot process, you can specify as much information
++for dracut on the kernel command as possible. For example, you can tell dracut,
++that you root partition is not on a LVM volume or not on a raid partition, or
++that it lives inside a specific crypto LUKS encrypted volume. By default, dracut
++searches everywhere. A typical dracut kernel command line for a plain primary or
++logical partition would contain:
++----
++rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0
++----
++
++On systems with dracut version prior to +008+ the line would look like:
++----
++rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM
++----
++
++This turns off every automatic assembly of LVM, MD raids, DM raids and crypto LUKS.
++
++Of course, you could also omit the dracut modules in the initramfs creation
++process, but then you would lose the posibility to turn it on on demand.
++
++
++[[Injecting]]
++=== Injecting custom Files
++To add your own files to the initramfs image, you have several possibilities.
++
++The --include option let you specify a source path and a target path. For example
++----
++# dracut --include cmdline-preset /etc/cmdline initramfs-cmdline-pre.img
++----
++will create an initramfs image, where the file cmdline-preset will be copied
++inside the initramfs to _/etc/cmdline_. --include can only be specified once.
++
++
++----
++# mkdir rd.live.overlay
++# mkdir rd.live.overlay/etc
++# mkdir rd.live.overlay/etc/conf.d
++# echo "ip=auto" >> rd.live.overlay/etc/cmdline
++# echo export TESTVAR=testtest >> rd.live.overlay/etc/conf.d/testvar.conf
++# echo export TESTVAR=testtest >> rd.live.overlay/etc/conf.d/testvar.conf
++# tree rd.live.overlay/
++rd.live.overlay/
++└── etc
++    ├── cmdline
++    └── conf.d
++        └── testvar.conf
++# dracut --include rd.live.overlay / initramfs-rd.live.overlay.img
++----
++
++This will put the contents of the rd.live.overlay directory into the root of the
++initramfs image.
++
++The --install option let you specify several files, which will get installed in
++the initramfs image at the same location, as they are present on initramfs
++creation time.
++
++
++----
++# dracut --install 'strace fsck.ext3 ssh' initramfs-dbg.img
++----
++
++This will create an initramfs with the strace, fsck.ext3 and ssh executables,
++together with the libraries needed to start those. The --install option can be
++specified multiple times.
++
++
++[[NetworkBoot]]
++== Network Boot
++
++If your root partition is on a network drive, you have to have the network
++dracut modules installed to create a network aware initramfs image.
++
++On a Red Hat Enterprise Linux or Fedora system, this means, you have to install
++the _dracut-network_ rpm package:
++
++
++----
++# yum install dracut-network
++----
++
++The resulting initramfs image can be served by a boot manager residing on your
++local hard drive or it can be served by a PXE/TFTP server.
++
++How to setup your PXE/TFTP server can be found in the
++http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/[Red
++Hat Enterprise Linux Storage Administration Guide].
++
++If you specify rd.ip=auto on the kernel command line, then dracut asks a dhcp
++server about the ip adress for the machine. The dhcp server can also serve an
++additional root-path, which will set the root device for dracut. With this
++mechanism, you have static configuration on your client machine and a
++centralized boot configuration on your TFTP/DHCP server. If you can't pass a
++kernel command line, then you can inject _/etc/cmdline_, with a method described
++in <<Injecting>>.
++
++
++
++
++=== Reducing the Image Size
++
++To reduce the size of the initramfs, you should create it with by ommitting all
++dracut modules, which you know, you don't need to boot the machine.
++
++You can also specify the exact dracut and kernel modules to produce a very tiny
++initramfs image.
++
++For example for a NFS image, you would do:
++
++
++----
++# dracut -m "nfs network  base" initramfs-nfs-only.img
++----
++
++Then you would boot from this image with your target machine and reduce the size
++once more by creating it on the target machine with the --host-only option:
++
++
++----
++# dracut -m "nfs network base" --host-only initramfs-nfs-host-only.img
++----
++
++This will reduce the size of the initramfs image significantly.
++
++
++
++=== NFS Root Device
++
++FIXME
++
++=== iSCSI Root Device
++
++FIXME 
++
++=== FCoE Root Device
++
++FIXME
++
++== Troubleshooting
++
++If the boot process does not succeed, you have several options to debug the
++situation. Some of the basic operations are covered here. For more information
++you should also visit:
++http://fedoraproject.org/wiki/How_to_debug_Dracut_problems
++
++
++[[identifying-your-problem-area]]
++=== Identifying your problem area
++. Remove ''rhgb'' and ''quiet'' from the kernel command line
++. Add ''rd.shell'' to the kernel command line. This will present a shell should
++dracut be unable to locate your root device
++. Add ''rd.shell rd.debug log_buf_len=1M'' to the kernel command line so that
++dracut shell commands are printed as they are executed
++. With dracut >= 002-11, you can inspect the rd.debug output with:
+++
++----
++# less /run/initramfs/init.log
++# dmesg | less
++----
++
++[[information-to-include-in-your-report]]
++=== Information to include in your report
++
++[[all-bug-reports]]
++==== All bug reports
++In all cases, the following should be mentioned and attached to your bug report:
++
++* The exact kernel command-line used. Typically from the bootloader
++configuration file (e.g. _/etc/grub.conf_) or from _/proc/cmdline_.
++* A copy of your disk partition information from _/etc/fstab_, which might be
++obtained booting an old working initramfs or a rescue medium.
++* A device listing from device-mapper. This can be obtained by running the
++command 
+++
++----
++# dmsetup ls --tree
++----
+++
++* A list of block device attributes including vol_id compatible mode. This can
++be obtained by running the commands: 
+++
++----
++# blkid -p
++# blkid -p -o udev
++----
++* Turn on dracut debugging (see _the 'debugging dracut' section_), and attach
++all relevant information from the boot log. This can be obtained by running the
++command 
+++
++----
++# dmesg|grep dracut
++----
+++
++* If you use a dracut configuration file, please include _/etc/dracut.conf_ and
++all files in _/etc/dracut.conf.d/*.conf_
++
++[[logical-volume-management-related-problems]]
++==== Logical Volume Management related problems
++As well as the information from <<all-bug-reports>> include the following
++information:
++
++* Include physical volume information by running the command: 
+++
++----
++# lvm pvdisplay
++----
+++
++* Include volume group information by running the command: 
+++
++----
++# lvm vgdisplay
++----
+++
++* Include logical volume information by running the command: 
+++
++----
++# lvm lvdisplay
++----
++
++[[software-raid-related-problems]]
++==== Software RAID related problems
++As well as the information from <<all-bug-reports>>, include the following
++information:
++
++* If using software RAID disk partitions, please include the output of 
+++
++----
++# cat /proc/mdstat
++----
++
++[[network-root-device-related-problems]]
++==== Network root device related problems
++This section details information to include when experiencing problems on a
++system whose root device is located on a network attached volume (e.g. iSCSI,
++NFS or NBD). As well as the information from <<all-bug-reports>>, include the
++following information:
++
++
++* Please include the output of
+++
++----
++# /sbin/ifup <interfacename>
++# ip addr show
++----
++
++[[debugging-dracut]]
++=== Debugging dracut
++
++
++[[configure-a-serial-console]]
++==== Configure a serial console
++
++Successfully debugging dracut will require some form of console
++logging during the system boot.  This section documents configuring a
++serial console connection to record boot messages.
++
++. First, enable serial console output for both the kernel and the bootloader.
++. Open the file _/etc/grub.conf_ for editing. Below the line ''timeout=5'', add
++the following:
+++
++----
++serial --unit=0 --speed=9600
++terminal --timeout=5 serial console
++----
+++
++. Also in _/etc/grub.conf_, add the following boot arguemnts to the ''kernel''
++line:
+++
++----
++console=tty0 console=ttyS0,9600
++----
+++
++. When finished, the _/etc/grub.conf_ file should look similar to the example
++below.
+++
++----
++default=0
++timeout=5
++serial --unit=0 --speed=9600
++terminal --timeout=5 serial console
++title Fedora (2.6.29.5-191.fc11.x86_64)
++  root (hd0,0)
++  kernel /vmlinuz-2.6.29.5-191.fc11.x86_64 ro root=/dev/mapper/vg_uc1-lv_root console=tty0 console=ttyS0,9600
++  initrd /dracut-2.6.29.5-191.fc11.x86_64.img
++----
+++
++. More detailed information on how to configure the kernel for console output
++can be found at
++http://www.faqs.org/docs/Linux-HOWTO/Remote-Serial-Console-HOWTO.html#CONFIGURE-KERNEL.
++. Redirecting non-interactive output
+++
++--
++NOTE: You can redirect all non-interactive output to _/dev/kmsg_ and the kernel
++will put it out on the console when it reaches the kernel buffer by doing
++
++----
++# exec >/dev/kmsg 2>&1 </dev/console
++----
++--
++
++[[using-the-dracut-shell]]
++==== Using the dracut shell
++
++Dracut offers a shell for interactive debugging in the event dracut fails to
++locate your root filesystem. To enable the shell:
++
++. Add the boot parameter ''rd.shell'' to your bootloader configuration file
++(e.g. _/etc/grub.conf_)
++. Remove the boot arguments ''rhgb'' and ''quiet''
+++
++A sample _/etc/grub.conf_ bootloader configuration file is listed below.
+++
++----
++default=0
++timeout=5
++serial --unit=0 --speed=9600
++terminal --timeout=5 serial console
++title Fedora (2.6.29.5-191.fc11.x86_64)
++  root (hd0,0)
++  kernel /vmlinuz-2.6.29.5-191.fc11.x86_64 ro root=/dev/mapper/vg_uc1-lv_root console=tty0 rd.shell
++  initrd /dracut-2.6.29.5-191.fc11.x86_64.img
++----
+++
++. If system boot fails, you will be dropped into a shell as seen in the example below.
+++
++----
++No root device found
++Dropping to debug shell.
++
++# 
++----
+++
++. Use this shell prompt to gather the information requested above (see <<all-bug-reports>>).
++
++[[accessing-the-root-volume-from-the-dracut-shell]]
++==== Accessing the root volume from the dracut shell
++From the dracut debug shell, you can manually perform the task of locating and
++preparing your root volume for boot. The required steps will depend on how your
++root volume is configured. Common scenarios include:
++
++* A block device (e.g. _/dev/sda7_)
++* A LVM logical volume (e.g. _/dev/VolGroup00/LogVol00_)
++* An encrypted device (e.g. _/dev/mapper/luks-4d5972ea-901c-4584-bd75-1da802417d83_)
++* A network attached device (e.g. netroot=iscsi:@192.168.0.4::3260::iqn.2009-02.org.fedoraproject:for.all)
++
++The exact method for locating and preparing will vary. However, to continue with
++a successful boot, the objective is to locate your root volume and create a
++symlink _/dev/root_ which points to the file system. For example, the following
++example demonstrates accessing and booting a root volume that is an encrypted
++LVM Logical volume. 
++
++. Inspect your partitions using parted
+++
++----
++# parted /dev/sda -s p
++Model: ATA HTS541060G9AT00 (scsi)
++Disk /dev/sda: 60.0GB
++Sector size (logical/physical): 512B/512B
++Partition Table: msdos
++Number  Start   End     Size    Type      File system  Flags
++1      32.3kB  10.8GB  107MB   primary   ext4         boot
++2      10.8GB  55.6GB  44.7GB  logical                lvm
++----
+++
++. You recall that your root volume was a LVM logical volume. Scan and activate
++any logical volumes. 
+++
++----
++# lvm vgscan
++# lvm vgchange -ay
++----
+++
++. You should see any logical volumes now using the command blkid:
+++
++----
++# blkid
++/dev/sda1: UUID="3de247f3-5de4-4a44-afc5-1fe179750cf7" TYPE="ext4"
++/dev/sda2: UUID="Ek4dQw-cOtq-5MJu-OGRF-xz5k-O2l8-wdDj0I" TYPE="LVM2_member"
++/dev/mapper/linux-root: UUID="def0269e-424b-4752-acf3-1077bf96ad2c" TYPE="crypto_LUKS"
++/dev/mapper/linux-home: UUID="c69127c1-f153-4ea2-b58e-4cbfa9257c5e" TYPE="ext3"
++/dev/mapper/linux-swap: UUID="47b4d329-975c-4c08-b218-f9c9bf3635f1" TYPE="swap"
++----
+++
++. From the output above, you recall that your root volume exists on an encrypted
++block device. Following the guidance disk encryption guidance from the
++Installation Guide, you unlock your encrypted root volume.
+++
++----
++# UUID=$(cryptsetup luksUUID /dev/mapper/linux-root)
++# cryptsetup luksOpen /dev/mapper/linux-root luks-$UUID
++Enter passphrase for /dev/mapper/linux-root:
++Key slot 0 unlocked. 
++----
+++
++. Next, make a symbolic link to the unlocked root volume
+++
++----
++# ln -s /dev/mapper/luks-$UUID /dev/root
++----
+++
++. With the root volume available, you may continue booting the system by exiting
++the dracut shell
+++
++----
++# exit
++----
++
++[[additional-dracut-boot-parameters]]
++==== Additional dracut boot parameters
++For more debugging options, see <<dracutkerneldebug>> in <<dracutcmdline7>>.
++
++= Developer Manual
++
++== dracut Components
++
++dracut uses a modular system to build and extend the initramfs image. All
++modules are located in _/usr/lib/dracut/modules.d_ or in _<git-src>/modules.d_.
++The most basic dracut module is _99base_. In _99base_ the initial shell script
++init is defined, which gets run by the kernel after initramfs loading. Although
++you can replace init with your own version of _99base_, this is not encouraged.
++Instead you should use, if possible, the hooks of dracut. All hooks, and the
++point of time in which they are executed, are described in <<stages>>.
++
++The main script, which creates the initramfs is dracut itsself. It parses all
++arguments and sets up the directory, in which everything is installed. It then
++executes all check, install, installkernel scripts found in the modules, which
++are to be processed. After everything is installed, the install directory is
++archived and compressed to the final initramfs image. All helper functions used
++by check, install and installkernel are found in in the file _dracut-functions_.
++These shell functions are available to all module installer (install,
++installkernel) scripts, without the need to source _dracut-functions_.
++
++A module can check the preconditions for install and installkernel with the
++check script. Also dependencies can be expressed with check. If a module passed
++check, install and installkernel will be called to install all of the necessary
++files for the module. To split between kernel and non-kernel parts of the
++installation, all kernel module related parts have to be in installkernel. All
++other files found in a module directory are module specific and mostly are hook
++scripts and udev rules.
++
++
++[[stages]]
++== Boot Process Stages
++
++The init script in _99base_ is the main script, which prepares the root file
++system for usage, runs udev, mounts the real root device, kills the remaining
++processes, and switches to the real root device for further booting. dracut
++modules can insert custom script at various points, to control the boot process.
++These hooks are plain directories containing shell scripts ending with ".sh",
++which are sourced by init.
++Common used functions are in _dracut-lib.sh_, which can be sourced by any script.      
++
++
++
++=== Basic Setup
++
++The first thing init does, is to mount _/proc_ and _/sys_ and manually create
++the basic device nodes and symbolic links in _/dev_ needed to execute basic
++commands. Then logging is setup according to kernel command line arguments.
++_/dev/pts_ and _/dev/shm_ are mounted and the first hook is sourced.
++
++
++
++=== Hook: cmdline
++
++The _cmdline_ hook is a place to insert scripts to parse the kernel command line
++and prepare the later actions, like setting up udev rules and configuration
++files.
++
++In this hook the most important environment variable is defined: root. The
++second one is rootok, which indicates, that a module claimed to be able to parse
++the root defined. So for example, **root=**__iscsi:....__ will be claimed by the
++iscsi dracut module, which then sets rootok.
++
++=== Hook: pre-udev
++
++This hook is executed right after the cmdline hook and a check if root and
++rootok were set. Here modules can take action with the final root, and before
++udev has been run.
++
++
++
++=== Start Udev
++
++Now udev is started and the logging for udev is setup.
++
++
++
++=== Hook: pre-trigger
++
++In this hook, you can set udev environment variables with **udevadm control
++--property=KEY=_value_** or control the further execution of udev with
++udevadm.
++
++
++
++=== Trigger Udev
++
++udev is triggered by calling udevadm trigger, which sends add events for all
++devices and subsystems. 
++
++
++
++=== Main Loop
++
++Now the main loop of 99base/init begins. Here we loop until udev has settled and
++all scripts in _initqueue/finished_ returned true. In this loop there are three
++hooks, where scripts can be inserted by calling /sbin/initqueue. 
++
++
++
++==== Initqueue
++
++This hook gets executed every time a script is inserted here, regardless of the
++udev state.
++
++
++
++==== Initqueue settled
++
++This hooks gets executed every time udev has settled.
++
++
++
++==== Initqueue timeout
++
++This hooks gets executed, when the main loop counter becomes half of the
++rd.retry counter.
++
++
++
++==== Initqueue finished
++
++This hook is called after udev has settled and if all scripts herein return 0
++the main loop will be ended.
++
++
++
++=== Hook: pre-mount
++
++Before the root device is mounted all scripts in the hook pre-mount are
++executed. In some cases (e.g. NFS) the real root device is already mounted,
++though.
++
++
++
++=== Hook: mount
++
++This hook is mainly to mount the real root device.
++
++
++
++=== Hook: pre-pivot
++
++This hook is the last hook and is called before init finally switches root to
++the real root device. This is a good place to clean up and kill processes not
++needed anymore.
++
++
++
++=== Cleanup and switch_root
++
++Init kills all udev processes, cleans up the environment, sets up the arguments
++for the real init process and finally calls switch_root. switch_root removes the
++whole filesystem hierarchy of the initramfs, chroot()s to the real root device
++and calls /sbin/init with the specified arguments.
++
++To ensure all files in the initramfs hierarchy can be removed, all processes
++still running from the initramfs should not have any open file descriptors left.
++
++
++
++== Network Infrastructure
++
++ 
++FIXME
++
++
++== Writing a Module
++
++A simple example module is _96insmodpost_, which modprobes a kernel module after
++udev has settled and the basic device drivers have been loaded.
++
++All module installation information is in the file module-setup.sh.
++
++First we create a check() function, which just exits with 0 indicating that this
++module should be included by default.
++
++check():
++
++
++----
++return 0
++----
++
++The we create the install() function, which installs a cmdline hook with
++priority number 20 called _parse-insmodpost.sh_. It also installs the
++_insmodpost.sh_ script in _/sbin_.
++
++install():
++
++
++----
++inst_hook cmdline 20 "$moddir/parse-insmodpost.sh"
++inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
++----
++
++The _pase-instmodpost.sh_ parses the kernel command line for a argument
++rd.driver.post, blacklists the module from being autoloaded and installs the
++hook _insmodpost.sh_ in the _initqueue/settled_.
++
++_parse-insmodpost.sh_:
++
++
++----
++for p in $(getargs rd.driver.post=); do
++    echo "blacklist $p" >> /etc/modprobe.d/initramfsblacklist.conf
++    _do_insmodpost=1
++done
++
++[ -n "$_do_insmodpost" ] && /sbin/initqueue --settled --unique --onetime /sbin/insmodpost.sh
++unset _do_insmodpost
++
++----
++
++_insmodpost.sh_, which is called in the _initqueue/settled_ hook will just
++modprobe the kernel modules specified in all rd.driver.post kernel command line
++parameters. It runs after udev has settled and is only called once (--onetime).
++
++_insmodpost.sh_:
++
++
++----
++. /lib/dracut-lib.sh
++
++for p in $(getargs rd.driver.post=); do
++    modprobe $p
++done
++
++----
++
++
++
++=== check()
++
++_check()_ is called by dracut to evaluate the inclusion of a dracut module in
++the initramfs.
++
++$hostonly:: If the $hostonly variable is set, then the module check() function
++should be in "hostonly" mode, which means, that the check() should only return
++0, if the module is really needed to boot this specific host.
++
++check() should return with:
++
++0:: Include the dracut module in the initramfs.
++
++1:: Do not include the dracut module. The requirements are not fullfilled
++(missing tools, etc.)
++
++255:: Only include the dracut module, if another module requires it or if
++explicitly specified in the config file or on the argument list.
++
++
++
++=== depends()
++
++The function depends() should echo all other dracut module names the module
++depends on.
++
++
++
++=== install()
++
++dracut_install
++
++inst
++
++inst_hook
++
++inst_rules
++
++
++
++
++
++=== installkernel()
++
++instmods
++
++
++
++=== Creation Functions
++
++ 
++FIXME
++
++
++=== Initramfs Functions
++
++ 
++FIXME
++
++
++=== Network Modules
++
++FIXME
++
++[[dracut8]]
++include::dracut.8.asc[]
++
++[[dracutconf5]]
++include::dracut.conf.5.asc[]
++
++[[dracutcmdline7]]
++include::dracut.cmdline.7.asc[]
++
++[appendix]
++License
++-------
++This work is licensed under the Creative Commons Attribution/Share-Alike
++License. To view a copy of this license, visit
++http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative
++Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
++
+diff --git a/dracut.cmdline.7.asc b/dracut.cmdline.7.asc
+new file mode 100644
+index 0000000..8924b89
+--- /dev/null
++++ b/dracut.cmdline.7.asc
+@@ -0,0 +1,603 @@
++DRACUT.CMDLINE(7)
++=================
++:doctype: manpage
++:man source:   dracut
++:man manual:   dracut
++
++NAME
++----
++dracut.cmdline - dracut kernel command line options
++
++DESCRIPTION
++-----------
++The root device used by the kernel is specified in the boot configuration
++file on the kernel command line, as always.
++
++The traditional _root=/dev/sda1_ style device specification is allowed, but not
++encouraged. The root device should better be identified by LABEL or UUID. If a
++label is used, as in _root=LABEL=<label_of_root>_ the initramfs will search all
++available devices for a filesystem with the appropriate label, and mount that
++device as the root filesystem. _root=UUID=<uuidnumber>_ will mount the partition
++with that UUID as the root filesystem.
++
++In the following all kernel command line parameters, which are processed by
++dracut, are described.
++
++"rd.*" parameters mentioned without "=" are boolean parameters. They can be
++turned on/off by setting them to {0|1}. If the assignment with "=" is missing
++"=1" is implied. For example _rd.info_ can be turned off with _rd.info=0_ or
++turned on with _rd.info=1_ or _rd.info_. The last value in the kernel command
++line is the value, which is honored.
++
++Standard
++~~~~~~~~
++**init=**_<path to real init>_::
++    specify the path to the init programm to be started after the initramfs has
++    finished
++
++**root=**_<path to blockdevice>_::
++    specify the block device to use as the root filesystem.
+++
++E.g.:
+++
++----
++root=/dev/sda1
++root=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0-part1
++root=/dev/disk/by-label/Root
++root=LABEL=Root
++root=/dev/disk/by-uuid/3f5ad593-4546-4a94-a374-bcfb68aa11f7
++root=UUID=3f5ad593-4546-4a94-a374-bcfb68aa11f7
++----
++
++**rootfstype=**_<filesystem type>_:: "auto" if not specified, e.g.:
+++
++----
++rootfstype=ext3
++----
++
++**rootflags=**_<mount options>_::
++    specify additional mount options for the root filesystem. If not set,
++    _/etc/fstab_ of the real root will be parsed for special mount options and
++    mounted accordingly.
++
++**rd.fstab=0**::
++    do not honor special mount options for the root filesystem found in
++    _/etc/fstab_ of the real root.
++
++Misc
++~~~~
++**rd.driver.blacklist=**_<drivername>[,<drivername>,...]_::
++    do not load kernel module <drivername>. This parameter can be specified
++    multiple times.
++
++**rd.driver.pre=**_<drivername>[,<drivername>,...]_::
++    force loading kernel module <drivername>. This parameter can be specified
++    multiple times.
++
++**rd.driver.post=**_<drivername>[,<drivername>,...]_::
++    force loading kernel module <drivername> after all automatic loading modules
++    have been loaded. This parameter can be specified multiple times.
++
++**rd.ctty=**_<terminal>_::
++    if the dracut image was generated with --ctty option, try to spawn an
++    emergency shell on the specified terminal; if rd.ctty is specified without a
++    value or not provided at all, the default is /dev/tty1. The '/dev' prefix
++    can be omitted.
++
++[[dracutkerneldebug]]
++Debug
++~~~~~
++**rd.info**::
++    print informational output though "quiet" is set
++
++**rd.shell**::
++    allow dropping to a shell, if root mounting fails
++
++**rd.debug**::
++    set -x for the dracut shell and logs to dmesg, console and
++    _/run/initramfs/init.log_
++
++**rd.break**::
++    drop to a shell at the end
++
++**rd.break=**_{cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot}_::
++    drop to a shell on defined breakpoint
++
++**rd.udev.info**::
++    set udev to loglevel info
++
++**rd.udev.debug**::
++    set udev to loglevel debug
++
++I18N
++~~~~
++**vconsole.keymap=**_<keymap base file name>_::
++    keyboard translation table loaded by loadkeys; taken from keymaps directory;
++    will be written as KEYMAP to _/etc/vconsole.conf_ in the initramfs, e.g.:
+++
++----
++vconsole.keymap=de-latin1-nodeadkeys
++----
++
++**vconsole.keymap.ext=**_<list of keymap base file names>_::
++    list of extra keymaps to bo loaded (sep. by space); will be written as
++    EXT_KEYMAP to _/etc/vconsole.conf_ in the initramfs
++
++**vconsole.unicode**[=_{0|1}_]::
++    boolean, indicating UTF-8 mode; will be written as UNICODE to
++    _/etc/vconsole.conf_ in the initramfs
++
++**vconsole.font=**_<font base file name>_::
++    console font; taken from consolefonts directory; will be written as FONT to
++    _/etc/vconsole.conf_ in the initramfs; e.g.:
+++
++----
++vconsole.font=LatArCyrHeb-16
++----
++
++**vconsole.font.map=**_<console map base file name>_::
++    see description of '-m' parameter in setfont manual; taken from consoletrans
++    directory; will be written as FONT_MAP to _/etc/vconsole.conf_ in the
++    initramfs
++
++**vconsole.font.unimap=**_<unicode table base file name>_::
++    see description of '-u' parameter in setfont manual; taken from unimaps
++    directory; will be written as FONT_UNIMAP to _/etc/vconsole.conf_ in the
++    initramfs
++
++**locale.LANG=**_<locale>_::
++    taken from the environment; if no UNICODE is defined we set its value in
++    basis of LANG value (whether it ends with ".utf8" (or similar) or not); will
++    be written as LANG to _/etc/locale.conf_ in the initramfs; e.g.:
+++
++----
++locale.LANG=pl_PL.utf8
++----
++
++**locale.LC_ALL=**_<locale>_::
++    taken from the environment; will be written as LC_ALL to _/etc/locale.conf_
++    in the initramfs
++
++LVM
++~~~
++**rd.lvm=0**::
++    disable LVM detection
++
++**rd.lvm.vg=**_<volume group name>_::
++    only activate the volume groups with the given name. rd.lvm.vg can be
++    specified multiple times on the kernel command line.
++
++**rd.lvm.lv=**_<logical volume name>_::
++    only activate the logical volumes with the given name. rd.lvm.lv can be
++    specified multiple times on the kernel command line.
++
++**rd.lvm.conf=0**::
++    remove any _/etc/lvm/lvm.conf_, which may exist in the initramfs
++
++crypto LUKS
++~~~~~~~~~~~
++**rd.luks=0**::
++    disable crypto LUKS detection
++
++**rd.luks.uuid=**_<luks uuid>_::
++    only activate the LUKS partitions with the given UUID. Any "luks-" of the
++    LUKS UUID is removed before comparing to _<luks uuid>_.
++    The comparisons also matches, if _<luks uuid>_ is only the beginning of the
++    LUKS UUID, so you don't have to specify the full UUID.
++    This parameter can be specified multiple times.
++
++**rd.luks.crypttab=0**::
++    do not check, if LUKS partition is in _/etc/crypttab_
++
++crypto LUKS - key on removable device support
++~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++**rd.luks.key=**_<keypath>:<keydev>:<luksdev>_::
++    _keypath_ is a path to key file to look for. It's REQUIRED. When _keypath_ ends with '.gpg' it's considered to be key encrypted symmetrically with GPG. You will be prompted for password on boot. GPG support comes with 'crypt-gpg' module which needs to be added explicitly.
+++
++_keydev_ is a device on which key file resides. It might be kernel name of devices (should start with "/dev/"), UUID (prefixed with "UUID=") or label (prefix with "LABEL="). You don't have to specify full UUID. Just its beginning will suffice, even if its ambiguous. All matching devices will be probed. This parameter is recommended, but not required. If not present, all block devices will be probed, which may significantly increase boot time.
+++
++If _luksdev_ is given, the specified key will only be applied for that LUKS device. Possible values are the same as for _keydev_. Unless you have several LUKS devices, you don't have to specify this parameter. The simplest usage is:
+++
++----
++rd.luks.key=/foo/bar.key
++----
+++
++As you see, you can skip colons in such a case.
++
++MD RAID
++~~~~~~~
++**rd.md=0**::
++    disable MD RAID detection
++
++**rd.md.imsm=0**::
++    disable MD RAID for imsm/isw raids, use DM RAID instead
++
++**rd.md.ddf=0**::
++    disable MD RAID for SNIA ddf raids, use DM RAID instead
++
++**rd.md.conf=0**::
++    ignore mdadm.conf included in initramfs
++
++**rd.md.waitclean=1**::
++    wait for any resync, recovery, or reshape activity to finish before continuing
++
++**rd.md.uuid=**_<md raid uuid>_::
++    only activate the raid sets with the given UUID. This parameter can be
++    specified multiple times.
++
++DM RAID
++~~~~~~~
++**rd.dm=0**::
++    disable DM RAID detection
++
++**rd.dm.uuid=**_<dm raid uuid>_::
++   only activate the raid sets with the given UUID. This parameter can be
++   specified multiple times.
++
++FIPS
++~~~~
++**rd.fips**::
++    enable FIPS
++
++**boot=**_<boot device>_::
++    specify the device, where /boot is located. e.g.
+++
++----
++boot=/dev/sda1
++boot=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0-part1
++boot=UUID=<uuid>
++boot=LABEL=<label>
++----
++
++**rd.fips.skipkernel**::
++    skip checksum check of the kernel image. Useful, if the kernel image is not
++    in a separate boot partition.
++
++Network
++~~~~~~~
++**ip=**_{dhcp|on|any|dhcp6|auto6|ibft}_::
++    dhcp|on|any::: get ip from dhcp server from all interfaces. If root=dhcp, loop
++    sequentially through all interfaces (eth0, eth1, ...) and use the first with
++    a valid DHCP root-path.
++
++    auto6::: IPv6 autoconfiguration
++
++    dhcp6::: IPv6 DHCP
++
++    ibft::: iBFT autoconfiguration
++
++**ip=**_<interface>_:_{dhcp|on|any|dhcp6|auto6}_::
++    This parameter can be specified multiple times.
+++
++dhcp|on|any|dhcp6::: get ip from dhcp server on a specific interface
++auto6::: do IPv6 autoconfiguration
++
++**ip=**_<client-IP>_:_<server-IP>_:_<gateway-IP>_:_<netmask>_:_<client_hostname>_:_<interface>_:_{none|off}_::
++    explicit network configuration. If you want do define a IPv6 address, put it
++    in brackets (e.g. [2001:DB8::1]). This parameter can be specified multiple
++    times.
++
++**ifname=**_<interface>_:_<MAC>_::
++    Assign network device name <interface> (ie eth0) to the NIC with MAC <MAC>.
++    Note: If you use this option you _must_ specify an ifname= argument for all
++    interfaces used in ip= or fcoe= arguments. This parameter can be specified
++    multiple times.
++
++**bootdev=**_<interface>_::
++    specify network interface to use routing and netroot information from.
++    Required if multiple ip= lines are used.
++
++**nameserver=**__<IP>__ [**nameserver=**__<IP>__ ...]::
++    specify nameserver(s) to use
++
++**biosdevname=0**::
++    boolean, turn off biosdevname network interface renaming
++
++**rd.neednet=1**::
++    boolean, bring up network even without netroot set
++
++NFS
++~~~
++**root=**[_<server-ip>_:]_<root-dir>_[:_<nfs-options>_]::
++    mount nfs share from <server-ip>:/<root-dir>, if no server-ip is given, use
++    dhcp next_server. if server-ip is an IPv6 address it has to be put in
++    brackets, e.g. [2001:DB8::1]. NFS options can be appended with the prefix
++    ":" or "," and are seperated by ",".
++
++**root=**nfs:[_<server-ip>_:]_<root-dir>_[:_<nfs-options>_], **root=**nfs4:[_<server-ip>_:]_<root-dir>_[:_<nfs-options>_], **root=**_{dhcp|dhcp6}_::
++    root=dhcp alone directs initrd to look at the DHCP root-path where NFS
++    options can be specified.
+++
++----
++    root-path=<server-ip>:<root-dir>[,<nfs-options>]
++    root-path=nfs:<server-ip>:<root-dir>[,<nfs-options>]
++    root-path=nfs4:<server-ip>:<root-dir>[,<nfs-options>]
++----
++
++**root=**_/dev/nfs_ nfsroot=[_<server-ip>_:]_<root-dir>_[:_<nfs-options>_]::
++    _Deprecated!_ kernel Documentation_/filesystems/nfsroot.txt_ defines this
++    method. This is supported by dracut, but not recommended.
++
++**rd.nfs.domain=**_<NFSv4 domain name>_::
++    Set the NFSv4 domain name. Will overwrite the settings in _/etc/idmap.conf_.
++
++iSCSI
++~~~~~
++**root=**iscsi:[_<username>_:_<password>_[:_<reverse>_:_<password>_]@][_<servername>_]:[_<protocol>_]:[_<port>_]:[_<LUN>_]:_<targetname>_::
++    protocol defaults to "6", LUN defaults to "0". If the "servername" field is
++    provided by BOOTP or DHCP, then that field is used in conjunction with other
++    associated fields to contact the boot server in the Boot stage. However, if
++    the "servername" field is not provided, then the "targetname" field is then
++    used in the Discovery Service stage in conjunction with other associated
++    fields. See
++    link:$$http://tools.ietf.org/html/rfc4173#section-5$$[rfc4173].
++    e.g.:
+++
++----
++root=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0
++----
+++
++If servername is an IPv6 address, it has to be put in brackets. e.g.:
+++
++----
++root=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0
++----
++
++**root=**_???_ **netroot=**iscsi:[_<username>_:_<password>_[:_<reverse>_:_<password>_]@][_<servername>_]:[_<protocol>_]:[_<port>_]:[_<LUN>_]:_<targetname>_ ...::
++    multiple netroot options allow setting up multiple iscsi disks. e.g.:
+++
++----
++root=UUID=12424547
++netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0
++netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target1
++----
+++
++If servername is an IPv6 address, it has to be put in brackets. e.g.:
+++
++----
++netroot=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0
++----
++
++**root=**_???_ **rd.iscsi.initiator=**_<initiator>_ **rd.iscsi.target.name=**_<target name>_  **rd.iscsi.target.ip=**_<target ip>_ **rd.iscsi.target.port=**_<target port>_ **rd.iscsi.target.group=**_<target group>_ **rd.iscsi.username=**_<username>_ **rd.iscsi.password=**_<password>_ **rd.iscsi.in.username=**_<in username>_ **rd.iscsi.in.password=**_<in password>_::
++    manually specify all iscsistart parameter (see **+iscsistart --help+**)
++
++**root=**_???_ **netroot=**iscsi **rd.iscsi.firmware=1**::
++ will read the iscsi parameter from the BIOS firmware
++
++FCoE
++~~~~
++**fcoe=**_<edd|interface|MAC>_:_{dcb|nodcb}_::
++    Try to connect to a FCoE SAN through the NIC specified by _<interface>_ or
++    _<MAC>_ or EDD settings. For the second argument, currently only nodcb is
++    supported. This parameter can be specified multiple times. Note: letters in
++    the MAC-address must be lowercase!
++
++NBD
++~~~
++**root=**??? **netroot=**nbd:_<server>_:_<port>_[:_<fstype>_[:_<mountopts>_[:_<nbdopts>_]]]::
++    mount nbd share from <server>
++
++**root=dhcp** with **dhcp** **root-path=**nbd:_<server>_:_<port>_[:_<fstype>_[:_<mountopts>_[:_<nbdopts>_]]]::
++    root=dhcp alone directs initrd to look at the DHCP root-path where NBD
++    options can be specified. This syntax is only usable in cases where you are
++    directly mounting the volume as the rootfs.
++
++DASD
++~~~~
++**rd.dasd_mod.dasd=**....::
++    same syntax as the kernel module parameter (s390 only)
++
++**rd.dasd=**_<dasd_adaptor device bus ID>_[,readonly=_X_][,use_diag=_X_][,erplog=_X_]::
++    activate DASD device with the given adaptor device bus ID and setting the
++    sysfs attributes to the specified values. This parameter can be specified
++    multiple times.
++
++ZFCP
++~~~~
++**rd.zfcp=**_<zfcp adaptor device bus ID>_,_<WWPN>_,_<FCPLUN>_::
++    rd.zfcp can be specified multiple times on the kernel command line. e.g.: 
+++
++----
++rd.zfcp=0.0.4000,0x5005076300C213e9,0x5022000000000000
++----
++
++**rd.zfcp.conf=0**::
++    ignore zfcp.conf included in the initramfs
++
++ZNET
++~~~~
++**rd.znet=**_<nettype>_,_<subchannels>_,_<options>_::
++    rd.znet can be specified multiple times on the kernel command line. e.g.: 
+++
++----
++rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1,portname=foo
++rd.znet=ctc,0.0.0600,0.0.0601,0.0.0602,protocol=bar
++----
++
++Plymouth Boot Splash
++~~~~~~~~~~~~~~~~~~~~
++**plymouth.enable=0**::
++    disable the plymouth bootsplash completly.
++
++**rd.plymouth=0**::
++    disable the plymouth bootsplash only for the initramfs.
++
++Kernel keys
++~~~~~~~~~~~
++**masterkey=**_<kernel master key path name>_::
++    Set the path name of the kernel master key. e.g.: 
+++
++----
++masterkey=/etc/keys/kmk-trusted.blob
++----
++
++**masterkeytype=**_<kernel master key type>_::
++    Set the type of the kernel master key. e.g.: 
+++
++----
++masterkeytype=trusted
++----
++
++**evmkey=**_<EVM key path name>_::
++    Set the path name of the EVM key. e.g.: 
+++
++----
++evmkey=/etc/keys/evm-trusted.blob
++----
++
++**ecryptfskey=**_<eCryptfs key path name>_::
++    Set the path name of the eCryptfs key. e.g.: 
+++
++----
++ecryptfskey=/etc/keys/ecryptfs-trusted.blob
++----
++
++Deprecated, renamed Options
++~~~~~~~~~~~~~~~~~~~~~~~~~~~
++Here is a list of options, which were used in dracut prior to version 008, and their new replacement.
++
++rdbreak:: rd.break
++
++rd_CCW:: rd.ccw
++
++rd_DASD_MOD:: rd.dasd_mod.dasd
++
++rd_DASD:: rd.dasd
++
++rdinitdebug rdnetdebug:: rd.debug
++
++rd_NO_DM:: rd.dm=0
++
++rd_DM_UUID:: rd.dm.uuid
++
++rdblacklist:: rd.driver.blacklist
++
++rdinsmodpost:: rd.driver.post
++
++rdloaddriver:: rd.driver.pre
++
++rd_NO_FSTAB:: rd.fstab=0
++
++rdinfo:: rd.info
++
++check:: rd.live.check
++
++rdlivedebug:: rd.live.debug
++
++live_dir:: rd.live.dir
++
++liveimg:: rd.live.image
++
++overlay:: rd.live.overlay
++
++readonly_overlay:: rd.live.overlay.readonly
++
++reset_overlay:: rd.live.overlay.reset
++
++live_ram:: rd.live.ram
++
++rd_NO_CRYPTTAB:: rd.luks.crypttab=0
++
++rd_LUKS_KEYDEV_UUID:: rd.luks.keydev.uuid
++
++rd_LUKS_KEYPATH:: rd.luks.keypath
++
++rd_NO_LUKS:: rd.luks=0
++
++rd_LUKS_UUID:: rd.luks.uuid
++
++rd_NO_LVMCONF:: rd.lvm.conf
++
++rd_LVM_LV:: rd.lvm.lv
++
++rd_NO_LVM:: rd.lvm=0
++
++rd_LVM_SNAPSHOT:: rd.lvm.snapshot
++
++rd_LVM_SNAPSIZE:: rd.lvm.snapsize
++
++rd_LVM_VG:: rd.lvm.vg
++
++rd_NO_MDADMCONF:: rd.md.conf=0
++
++rd_NO_MDIMSM:: rd.md.imsm=0
++
++rd_NO_MD:: rd.md=0
++
++rd_MD_UUID:: rd.md.uuid
++
++rd_NFS_DOMAIN:: rd.nfs.domain
++
++iscsi_initiator:: rd.iscsi.initiator
++
++iscsi_target_name:: rd.iscsi.target.name
++
++iscsi_target_ip:: rd.iscsi.target.ip
++
++iscsi_target_port:: rd.iscsi.target.port
++
++iscsi_target_group:: rd.iscsi.target.group
++
++iscsi_username:: rd.iscsi.username
++
++iscsi_password:: rd.iscsi.password
++
++iscsi_in_username:: rd.iscsi.in.username
++
++iscsi_in_password:: rd.iscsi.in.password
++
++iscsi_firmware:: rd.iscsi.firmware=0
++
++rd_NO_PLYMOUTH:: rd.plymouth=0
++
++rd_retry:: rd.retry
++
++rdshell:: rd.shell
++
++rd_NO_SPLASH:: rd.splash
++
++rdudevdebug:: rd.udev.debug
++
++rdudevinfo:: rd.udev.info
++
++rd_NO_ZFCPCONF:: rd.zfcp.conf=0
++
++rd_ZFCP:: rd.zfcp
++
++rd_ZNET:: rd.znet
++
++KEYMAP:: vconsole.keymap
++
++KEYTABLE:: vconsole.keymap
++
++SYSFONT:: vconsole.font
++
++CONTRANS:: vconsole.font.map
++
++UNIMAP:: vconsole.font.unimap
++
++UNICODE:: vconsole.unicode
++
++EXT_KEYMAP:: vconsole.keymap.ext
++
++Configuration in the Initramfs
++~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++_/etc/conf.d/_::
++    Any files found in _/etc/conf.d/_ will be sourced in the initramfs to
++    set initial values. Command line options will override these values
++    set in the configuration files.
++
++_/etc/cmdline_::
++    Can contain additional command line options.
++
++_/etc/cmdline.d/*.conf_::
++    Can contain additional command line options.
++
++AUTHOR
++------
++*Harald Hoyer*::
++    Project Leader and Developer
++
++SEE ALSO
++--------
++*dracut*(8) *dracut.conf*(5)
+diff --git a/dracut.cmdline.7.xml b/dracut.cmdline.7.xml
+deleted file mode 100644
+index 2dc9096..0000000
+--- a/dracut.cmdline.7.xml
++++ /dev/null
+@@ -1,1324 +0,0 @@
+-<?xml version='1.0' encoding='UTF-8'?>
+-<!-- This document was created with Syntext Serna Free. --><!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" []>
+-<!-- vim: set ts=8 sts=2 sw=2 et: -->
+-<refentry id="dracutkernel7">
+-  <refentryinfo>
+-    <title>dracut.cmdline</title>
+-    <productname>dracut</productname>
+-    <authorgroup>
+-      <author>
+-        <contrib>Developer</contrib>
+-        <firstname>Harald</firstname>
+-        <surname>Hoyer</surname>
+-        <email>harald at redhat.com</email>
+-      </author>
+-    </authorgroup>
+-  </refentryinfo>
+-  <refmeta>
+-    <refentrytitle>dracut.cmdline</refentrytitle>
+-    <manvolnum>7</manvolnum>
+-    <refmiscinfo class="version"/>
+-  </refmeta>
+-  <refnamediv>
+-    <refname>dracut.cmdline</refname>
+-    <refpurpose>dracut kernel command line options</refpurpose>
+-  </refnamediv>
+-  <refsect1>
+-    <title>Description</title>
+-    <para>The root filesystem used by the kernel is specified in the boot configuration
+-file, as always. The traditional <emphasis remap="B">root=/dev/hda1</emphasis> style device
+-specification is allowed. If a label is used, as in <emphasis remap="B">root=LABEL=rootPart</emphasis>
+-the initramfs will search all available devices for an ext2 or ext3 filesystem
+-with the appropriate label, and mount that device as the root filesystem.
+-<emphasis remap="B">root=UUID=uuidnumber</emphasis> will mount the partition with that UUID as the
+-root filesystem.</para>
+-    <refsect2>
+-      <title>Standard</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <envar>init=<replaceable>&lt;path to real init&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para> </para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>root=<replaceable>&lt;path to blockdevice&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>specify blockdevice to use as root filesystem.
+-     e.g.: <programlisting>root=/dev/sda1
+-root=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0-part1     </programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rootfstype=<replaceable>&lt;filesystem type&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>&quot;auto&quot; if not specified, e.g.: <programlisting>rootfstype=ext3</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rootflags=<replaceable>&lt;mount options&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>specify additional mount options for the root filesystem. If not set, <filename>/etc/fstab</filename>
+-of the real root will be parsed for special mount options and mounted
+-accordingly.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>rd.fstab</envar>=0</term>
+-          <listitem>
+-            <para>do not honor special mount options for the root filesystem found in
+-<filename>/etc/fstab</filename> of the real root.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>Misc</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.driver.blacklist=<replaceable>&lt;drivername&gt;<optional>,&lt;drivername&gt;,...</optional></replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>do not load kernel module &lt;drivername&gt;.
+-This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.driver.pre=<replaceable>&lt;drivername&gt;<optional>,&lt;drivername&gt;,...</optional></replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>force loading kernel module &lt;drivername&gt;.
+-This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.driver.post=<replaceable>&lt;drivername&gt;<optional>,&lt;drivername&gt;,...</optional></replaceable></envar>
+-          </term>
+-          <listitem>
+-	    <para>force loading kernel module &lt;drivername&gt; after all automatic loading modules have been loaded. This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.ctty=<replaceable>&lt;terminal&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>
+-              if the dracut image was generated with --ctty option, try to
+-              spawn an emergency shell on the specified terminal; if
+-              <envar>rd.ctty</envar> is specified without a value or not
+-              provided at all, the default is /dev/tty1. The '/dev' prefix
+-              can be omitted.
+-            </para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2 id="dracut-kernel-debug">
+-      <title>Debug</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.info</envar>
+-          </term>
+-          <listitem>
+-            <para>print informational output though &quot;quiet&quot; is set</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.shell</envar>
+-          </term>
+-          <listitem>
+-            <para>allow dropping to a shell, if root mounting fails</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.debug</envar>
+-          </term>
+-          <listitem>
+-            <para>set -x for the dracut shell and logs to dmesg, console and <filename>/run/initramfs/init.log</filename></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.break</envar>
+-          </term>
+-          <listitem>
+-            <para>drop to a shell at the end</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.break=</envar><replaceable>{cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot}</replaceable>
+-          </term>
+-          <listitem>
+-            <para>drop to a shell on defined breakpoint</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.udev.info</envar>
+-          </term>
+-          <listitem>
+-            <para>set udev to loglevel info</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.udev.debug</envar>
+-          </term>
+-          <listitem>
+-            <para>set udev to loglevel debug</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>I18N</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <envar>vconsole.keymap=</envar>
+-            <replaceable>&lt;keymap base file name&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>keyboard translation table loaded by loadkeys; taken from keymaps directory; will be written as <envar>KEYMAP</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs, e.g.: <programlisting>vconsole.keymap=de-latin1-nodeadkeys</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>vconsole.keymap.ext=</envar><replaceable>&lt;list of keymap base file names&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>list of extra keymaps to bo loaded (sep. by space); will be written as <envar>EXT_KEYMAP</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>vconsole.unicode=</envar><replaceable>&lt;1|0&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>boolean, indicating UTF-8 mode; will be written as <envar>UNICODE</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>vconsole.font=</envar><replaceable>&lt;font base file name&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>console font; taken from consolefonts directory;  will be written as <envar>FONT</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs; e.g.: <programlisting>vconsole.font=LatArCyrHeb-16</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>vconsole.font.map=</envar><replaceable>&lt;console map base file name&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>see description of &apos;-m&apos; parameter in setfont manual; taken from consoletrans directory; will be written as <envar>FONT_MAP</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>vconsole.font.unimap=</envar><replaceable>&lt;unicode table base file name&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>see description of &apos;-u&apos; parameter in setfont manual; taken from unimaps directory; will be written as <envar>FONT_UNIMAP</envar> to <filename>/etc/vconsole.conf</filename> in the initramfs</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>locale.LANG=</envar><replaceable>&lt;locale&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>taken from the environment; if no UNICODE is defined we set its value in basis of LANG value (whether it ends with &quot;.utf8&quot; (or similar) or not); will be written as <envar>LANG</envar> to <filename>/etc/locale.conf</filename> in the initramfs; e.g.: <programlisting>locale.LANG=pl_PL.utf8</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>locale.LC_ALL=</envar><replaceable>&lt;locale&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>taken from the environment; will be written as <envar>LC_ALL</envar> to <filename>/etc/locale.conf</filename> in the initramfs</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>LVM</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>rd.lvm</envar>=0</term>
+-          <listitem>
+-            <para>disable LVM detection</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.lvm.vg=<replaceable>&lt;volume group name&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>only activate the volume groups with the given name
+-<envar>rd.lvm.vg</envar> can be specified multiple times on the kernel command line.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.lvm.lv=<replaceable>&lt;logical volume name&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>only activate the logical volumes with the given name
+-<envar>rd.lvm.lv</envar> can be specified multiple times on the kernel command line.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.lvm.conf</envar>=0
+-          </term>
+-          <listitem>
+-            <para>remove any <filename>/etc/lvm/lvm.conf</filename>, which may exist in the initramfs</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>crypto LUKS</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>rd.luks</envar>=0</term>
+-          <listitem>
+-            <para>disable crypto LUKS detection</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.luks.uuid=<replaceable>&lt;luks uuid&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>only activate the LUKS partitions with the given UUID
+-Any &quot;luks-&quot; of the LUKS UUID is removed before comparing to <replaceable>&lt;luks uuid&gt;</replaceable>.
+-The comparisons also matches, if <replaceable>&lt;luks uuid&gt;</replaceable> is only the beginning of the
+-LUKS UUID, so you don&apos;t have to specify the full UUID.
+-This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.luks.crypttab</envar>=0
+-          </term>
+-          <listitem>
+-            <para>do not check, if LUKS partition is in <filename>/etc/crypttab</filename></para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>crypto LUKS - key on removable device support</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.luks.key=</envar><replaceable>&lt;keypath&gt;:&lt;keydev&gt;:&lt;luksdev&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para><replaceable>keypath</replaceable> is a path to key file to look for. It&apos;s REQUIRED. When <replaceable>keypath</replaceable> ends with '.gpg' it's considered to be key encrypted symmetrically with GPG. You will be prompted for password on boot. GPG support comes with 'crypt-gpg' module which needs to be added explicitly.</para>
+-            <para><replaceable>keydev</replaceable> is a device on which key file resides. It might be kernel name of devices (should start with &quot;/dev/&quot;), UUID (prefixed with &quot;UUID=&quot;) or label (prefix with &quot;LABEL=&quot;).  You don&apos;t have to specify full UUID. Just its beginning will suffice, even if its ambiguous. All matching devices will be probed. This parameter is recommended, but not required. If not present, all block devices will be probed, which may significantly increase boot time.</para>
+-            <para>If <replaceable>luksdev</replaceable> is given, the specified key will only be applied for that LUKS device. Possible values are the same as for <replaceable>keydev</replaceable>. Unless you have several LUKS devices, you don&apos;t have to specify this parameter.</para>
+-            <para>The simplest usage is:</para>
+-            <programlisting>rd.luks.key=/foo/bar.key</programlisting>
+-            <para>As you see, you can skip colons in such case.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>MD</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>rd.md</envar>=0</term>
+-          <listitem>
+-            <para>disable MD RAID detection</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>rd.md.imsm</envar>=0</term>
+-          <listitem>
+-            <para>disable MD RAID for imsm/isw raids, use DM RAID instead</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>rd.md.ddf</envar>=0</term>
+-          <listitem>
+-            <para>disable MD RAID for SNIA ddf raids, use DM RAID instead</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.md.conf</envar>=0
+-          </term>
+-          <listitem>
+-            <para>ignore mdadm.conf included in initramfs</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.md.waitclean</envar>=1
+-          </term>
+-          <listitem>
+-            <para>wait for any resync, recovery, or reshape activity to finish before continuing</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.md.uuid=<replaceable>&lt;md raid uuid&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>only activate the raid sets with the given UUID.
+-This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>DM RAID</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>rd.dm</envar>=0</term>
+-          <listitem>
+-            <para>disable DM RAID detection</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.dm.uuid=<replaceable>&lt;dm raid uuid&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>only activate the raid sets with the given UUID.
+-This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>FIPS</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>rd.fips</envar></term>
+-          <listitem>
+-            <para>enable FIPS</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>boot=<replaceable>&lt;boot device&gt;</replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>specify the device, where /boot is located.<programlisting>
+-e.g.
+-  boot=/dev/sda1
+-  boot=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0-part1
+-  boot=UUID=&lt;uuid&gt;
+-  boot=LABEL=&lt;label&gt;</programlisting>
+-</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>rd.fips.skipkernel</envar></term>
+-          <listitem>
+-            <para>skip checksum check of the kernel image. Useful, if the kernel image is not in a separate boot partition.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>Network</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <envar>ip=</envar><replaceable>{dhcp|on|any|dhcp6|auto6|ibft}</replaceable>
+-          </term>
+-          <listitem>
+-            <para><constant>dhcp|on|any</constant>: get ip from dhcp server from all interfaces. If root=dhcp,
+-loop sequentially through all interfaces (eth0, eth1, ...) and use the first
+-with a valid DHCP root-path.</para>
+-            <para><constant>auto6</constant>: IPv6 autoconfiguration</para>
+-            <para><constant>dhcp6</constant>: IPv6 DHCP</para>
+-            <para><constant>ibft</constant>: iBFT autoconfiguration</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>ip=</envar><replaceable>&lt;interface&gt;</replaceable>:<replaceable>{dhcp|on|any|dhcp6|auto6}</replaceable></term>
+-          <listitem>
+-            <para><constant>dhcp|on|any|dhcp6</constant>: get ip from dhcp server on a specific interface</para>
+-	    <para><constant>auto6</constant>: do IPv6 autoconfiguration</para>
+-	    <para>This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>ip=</envar><replaceable>&lt;client-IP&gt;</replaceable>:
+-              <replaceable>&lt;server-IP&gt;</replaceable>
+-            :<replaceable>&lt;gateway-IP&gt;</replaceable>:<replaceable>&lt;netmask&gt;</replaceable>:<replaceable>&lt;client_hostname&gt;</replaceable>:<replaceable>&lt;interface&gt;</replaceable>:<replaceable>{none|off}</replaceable></term>
+-          <listitem>
+-            <para>explicit network configuration. If you want do define a IPv6 address, put it in brackets (e.g. [2001:DB8::1]).
+-This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>ifname=</envar><replaceable>&lt;interface&gt;</replaceable>:<replaceable>&lt;MAC&gt;</replaceable></term>
+-          <listitem>
+-            <para>Assign network device name &lt;interface&gt; (ie eth0) to the NIC with MAC &lt;MAC&gt;.
+-<remark>Note: If you use this option you <emphasis remap="B">must</emphasis> specify an ifname= argument for all interfaces used in ip= or fcoe= arguments.</remark>
+-This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>bootdev=</envar><replaceable>&lt;interface&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>specify network interface to use routing and netroot information from.
+-Required if multiple ip= lines are used.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>nameserver=</envar><replaceable>&lt;IP&gt;</replaceable><optional><envar>nameserver</envar>=<replaceable>&lt;IP&gt;</replaceable> ...</optional>
+-          </term>
+-          <listitem>
+-            <para>specify nameserver(s) to use</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>biosdevname=</envar><replaceable>{0|1}</replaceable>
+-          </term>
+-          <listitem>
+-            <para>turn on/off biosdevname network interface renaming</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.neednet=</envar><replaceable>&lt;0|1&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>boolean, bring up network even without netroot set</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>NFS</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <envar>root=</envar><optional><replaceable>&lt;server-ip&gt;</replaceable>:</optional><replaceable>&lt;root-dir&gt;</replaceable><optional>:<replaceable>&lt;nfs-options&gt;</replaceable></optional>
+-          </term>
+-          <listitem>
+-            <para>mount nfs share from &lt;server-ip&gt;:/&lt;root-dir&gt;, if no server-ip is given,
+-use dhcp next_server. if server-ip is an IPv6 address it has to be put in brackets, e.g. [2001:DB8::1].
+-NFS options can be appended with the prefix &quot;:&quot; or &quot;,&quot; and are seperated by &quot;,&quot;.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>root=</envar><constant>nfs</constant>:<optional><replaceable>&lt;server-ip&gt;</replaceable>:</optional><replaceable>&lt;root-dir&gt;</replaceable><optional>:<replaceable>&lt;nfs-options&gt;</replaceable></optional></term>
+-          <term><envar>root=</envar>nfs4:<optional><replaceable>&lt;server-ip&gt;</replaceable>:</optional><replaceable>&lt;root-dir&gt;</replaceable><optional>:<replaceable>&lt;nfs-options&gt;</replaceable></optional></term>
+-          <term>
+-            <envar>root=</envar><replaceable>{dhcp|dhcp6}</replaceable>
+-          </term>
+-          <listitem>
+-            <para>root=dhcp alone directs initrd to look at the DHCP root-path where NFS
+-options can be specified.
+-    root-path=&lt;server-ip&gt;:&lt;root-dir&gt;[,&lt;nfs-options&gt;]
+-    root-path=nfs:&lt;server-ip&gt;:&lt;root-dir&gt;[,&lt;nfs-options&gt;]
+-    root-path=nfs4:&lt;server-ip&gt;:&lt;root-dir&gt;[,&lt;nfs-options&gt;]</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>root=</envar><filename>/dev/nfs</filename>
+-            <envar> nfsroot=</envar><optional><replaceable>&lt;server-ip&gt;</replaceable>:</optional><replaceable>&lt;root-dir&gt;</replaceable><optional>:<replaceable>&lt;nfs-options&gt;</replaceable></optional>
+-          </term>
+-          <listitem>
+-            <para><emphasis remap="B">Deprecated!</emphasis> kernel Documentation<filename>/filesystems/nfsroot.txt</filename> defines
+-this method.
+-This is supported by dracut, but not recommended.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar remap="B">rd.nfs.domain=</envar>
+-            <replaceable>&lt;NFSv4 domain name&gt;</replaceable>
+-          </term>
+-          <listitem>
+-            <para>Set the NFSv4 domain name. Will overwrite the settings in <filename>/etc/idmap.conf</filename>.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>iSCSI</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>root=</envar><constant>iscsi</constant>:<optional><replaceable>&lt;username&gt;</replaceable>:<replaceable>&lt;password&gt;</replaceable><optional>:<replaceable>&lt;reverse&gt;</replaceable>:<replaceable>&lt;password&gt;</replaceable></optional>@</optional><optional>
+-              <replaceable>&lt;servername&gt;</replaceable>
+-            </optional>:<optional>
+-              <replaceable>&lt;protocol&gt;</replaceable>
+-            </optional>:<optional>
+-              <replaceable>&lt;port&gt;</replaceable>
+-            </optional>:<optional>
+-              <replaceable>&lt;LUN&gt;</replaceable>
+-            </optional>:<replaceable>&lt;targetname&gt;</replaceable></term>
+-          <listitem>
+-            <para>protocol defaults to &quot;6&quot;, LUN defaults to &quot;0&quot;.</para>
+-            <para>If the &quot;servername&quot; field is provided by <acronym>BOOTP</acronym> or <acronym>DHCP</acronym>, then that
+-field is used in conjunction with other associated fields to contact
+-the boot server in the Boot stage.  However, if the
+-&quot;servername&quot; field is not provided, then the &quot;targetname&quot; field is
+-then used in the Discovery Service stage in conjunction with other
+-associated fields.</para>
+-            <para>See <ulink url="http://tools.ietf.org/html/rfc4173#section-5">http://tools.ietf.org/html/rfc4173</ulink>.</para>
+-            <para>e.g.:<programlisting>root=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0    </programlisting></para>
+-            <para>If servername is an IPv6 address, it has to be put in brackets. e.g.:
+-     <programlisting>root=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0    </programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>root=</envar><replaceable>???</replaceable><envar> netroot=</envar><constant>iscsi</constant>:<optional><replaceable>&lt;username&gt;</replaceable>:<replaceable>&lt;password&gt;</replaceable><optional>:<replaceable>&lt;reverse&gt;</replaceable>:<replaceable>&lt;password&gt;</replaceable></optional>@</optional><optional>
+-              <replaceable>&lt;servername&gt;</replaceable>
+-            </optional>:<optional>
+-              <replaceable>&lt;protocol&gt;</replaceable>
+-            </optional>:<optional>
+-              <replaceable>&lt;port&gt;</replaceable>
+-            </optional>:<optional>
+-              <replaceable>&lt;LUN&gt;</replaceable>
+-            </optional>:<replaceable>&lt;targetname&gt;</replaceable> ...</term>
+-          <listitem>
+-            <para>multiple netroot options allow setting up multiple iscsi disks. e.g.:
+-     <programlisting>root=UUID=12424547
+-netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0
+-netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target1  </programlisting></para>
+-            <para>If servername is an IPv6 address, it has to be put in brackets.
+- e.g.:
+-  <programlisting>netroot=iscsi:[2001:DB8::1]::::iqn.2009-06.dracut:target0</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>root=<replaceable>???</replaceable></envar>
+-            <envar>rd.iscsi.initiator=<replaceable>&lt;initiator&gt; </replaceable></envar>
+-            <envar>rd.iscsi.target.name=<replaceable>&lt;target name&gt; </replaceable></envar>
+-            <envar>rd.iscsi.target.ip=<replaceable>&lt;target ip&gt; </replaceable></envar>
+-            <envar>rd.iscsi.target.port=<replaceable>&lt;target port&gt; </replaceable></envar>
+-            <envar>rd.iscsi.target.group=<replaceable>&lt;target group&gt; </replaceable></envar>
+-            <envar>rd.iscsi.username=<replaceable>&lt;username&gt; </replaceable></envar>
+-            <envar>rd.iscsi.password=<replaceable>&lt;password&gt; </replaceable></envar>
+-            <envar>rd.iscsi.in.username=<replaceable>&lt;in username&gt; </replaceable></envar>
+-            <envar>rd.iscsi.in.password=<replaceable>&lt;in password&gt; </replaceable></envar>
+-          </term>
+-          <listitem>
+-            <para>manually specify all iscsistart parameter (see <userinput>iscsistart&nbsp;--help</userinput>)</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-	    <envar>root=</envar><replaceable>??? </replaceable><envar>netroot=iscsi </envar><envar>rd.iscsi.firmware=1</envar>
+-	  </term>
+-          <listitem>
+-            <para>will read the iscsi parameter from the BIOS firmware</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>FCoE</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>fcoe=</envar><replaceable>&lt;edd|interface|MAC&gt;</replaceable>:<replaceable>{dcb|nodcb}</replaceable></term>
+-          <listitem>
+-            <para>Try to connect to a FCoE SAN through the NIC specified by <replaceable>&lt;interface&gt;</replaceable> or <replaceable>&lt;MAC&gt;</replaceable> or EDD settings.
+-For the second argument, currently only nodcb is supported. This parameter can be specified multiple times. <remark>Note: letters in the MAC-address must be lowercase!</remark></para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>NBD</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>root=</envar><constant>nbd</constant>:<replaceable>&lt;server&gt;</replaceable>:<replaceable>&lt;port&gt;</replaceable><optional>:<replaceable>&lt;fstype&gt;</replaceable></optional><optional>:<replaceable>&lt;mountopts&gt;</replaceable></optional></term>
+-          <listitem>
+-            <para>mount nbd share from &lt;server&gt;</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>root=dhcp</envar>
+-          </term>
+-          <listitem>
+-            <para>with dhcp root-path=nbd:&lt;server&gt;:&lt;port&gt;[:&lt;fstype&gt;][:&lt;mountopts&gt;]
+-root=dhcp alone directs initrd to look at the DHCP root-path where NBD
+-options can be specified.
+-This syntax is only usable in cases where you are directly mounting the volume
+-as the rootfs.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>DASD</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>rd.dasd_mod.dasd=</envar>....</term>
+-          <listitem>
+-            <para>same syntax as the kernel module parameter (s390 only)</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.dasd=</envar><replaceable>&lt;dasd_adaptor device bus ID&gt;</replaceable><optional>,readonly=<replaceable>X</replaceable></optional><optional>,use_diag=<replaceable>X</replaceable></optional><optional>,erplog=<replaceable>X</replaceable></optional>
+-          </term>
+-          <listitem>
+-            <para>activate DASD device with the given adaptor device bus ID and setting the sysfs attributes
+-to the specified values
+-This parameter can be specified multiple times.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>ZFCP</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>rd.zfcp=</envar><replaceable>&lt;zfcp adaptor device bus ID&gt;</replaceable>,<replaceable>&lt;WWPN&gt;</replaceable>,<replaceable>&lt;FCPLUN&gt;</replaceable></term>
+-          <listitem>
+-            <para>rd.zfcp can be specified multiple times on the kernel command line. e.g.: <programlisting>rd.zfcp=0.0.4000,0x5005076300C213e9,0x5022000000000000</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd.zfcp.conf</envar>
+-          </term>
+-          <listitem>
+-            <para>ignore zfcp.conf included in the initramfs</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>ZNET</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>rd.znet=</envar><replaceable>&lt;nettype&gt;</replaceable>,<replaceable>&lt;subchannels&gt;</replaceable>,<replaceable>&lt;options&gt;</replaceable></term>
+-          <listitem>
+-            <para>rd.znet can be specified multiple times on the kernel command line. e.g.:
+-    <programlisting>rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1,portname=foo
+-rd.znet=ctc,0.0.0600,0.0.0601,0.0.0602,protocol=bar</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>Plymouth Boot Splash</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>plymouth.enable</envar>=0</term>
+-          <listitem>
+-            <para>disable the plymouth bootsplash.</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>rd.plymouth</envar>=0</term>
+-          <listitem>
+-            <para>disable the plymouth bootsplash only for the initramfs.</para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-   <refsect2>
+-      <title>Kernel keys</title>
+-      <variablelist>
+-        <varlistentry>
+-          <term><envar>masterkey=</envar><replaceable>&lt;kernel master key path name&gt;</replaceable></term>
+-          <listitem>
+-            <para>Set the path name of the kernel master key. e.g.: <programlisting>masterkey=/etc/keys/kmk-trusted.blob</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>masterkeytype=</envar><replaceable>&lt;kernel master key type&gt;</replaceable></term>
+-          <listitem>
+-            <para>Set the type of the kernel master key. e.g.: <programlisting>masterkeytype=trusted</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>evmkey=</envar><replaceable>&lt;EVM key path name&gt;</replaceable></term>
+-          <listitem>
+-            <para>Set the path name of the EVM key. e.g.: <programlisting>evmkey=/etc/keys/evm-trusted.blob</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term><envar>ecryptfskey=</envar><replaceable>&lt;eCryptfs key path name&gt;</replaceable></term>
+-          <listitem>
+-            <para>Set the path name of the eCryptfs key. e.g.: <programlisting>ecryptfskey=/etc/keys/ecryptfs-trusted.blob</programlisting></para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-    <refsect2>
+-      <title>Deprecated, renamed Options</title>
+-      <para>Here is a list of options, which were used in dracut prior to version 008, and their new replacement.</para>
+-      <variablelist>
+-        <varlistentry>
+-          <term>
+-            <envar>rdbreak</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.break</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_CCW</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.ccw</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_DASD_MOD</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.dasd_mod.dasd</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_DASD</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.dasd</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rdinitdebug rdnetdebug</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.debug</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_DM</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.dm</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_DM_UUID</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.dm.uuid</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rdblacklist</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.driver.blacklist</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rdinsmodpost</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.driver.post</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rdloaddriver</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.driver.pre</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_FSTAB</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.fstab</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rdinfo</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.info</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>check</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.live.check</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rdlivedebug</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.live.debug</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>live_dir</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.live.dir</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>liveimg</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.live.image</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>overlay</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.live.overlay</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>readonly_overlay</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.live.overlay.readonly</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>reset_overlay</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.live.overlay.reset</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>live_ram</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.live.ram</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_CRYPTTAB</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.luks.crypttab</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_LUKS_KEYDEV_UUID</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.luks.keydev.uuid</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_LUKS_KEYPATH</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.luks.keypath</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_LUKS</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.luks</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_LUKS_UUID</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.luks.uuid</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_LVMCONF</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.lvm.conf</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_LVM_LV</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.lvm.lv</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_LVM</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.lvm</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_LVM_SNAPSHOT</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.lvm.snapshot</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_LVM_SNAPSIZE</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.lvm.snapsize</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_LVM_VG</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.lvm.vg</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_MDADMCONF</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.md.conf</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_MDIMSM</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.md.imsm</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_MD</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.md</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_MD_UUID</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.md.uuid</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NFS_DOMAIN</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.nfs.domain</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_initiator</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.initiator</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_target_name</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.target.name</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_target_ip</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.target.ip</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_target_port</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.target.port</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_target_group</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.target.group</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_username</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.username</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_password</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.password</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_in_username</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.in.username</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_in_password</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.in.password</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>iscsi_firmware</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.iscsi.firmware</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_PLYMOUTH</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.plymouth</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_retry</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.retry</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rdshell</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.shell</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_SPLASH</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.splash</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rdudevdebug</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.udev.debug</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rdudevinfo</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.udev.info</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_NO_ZFCPCONF</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.zfcp.conf</envar>=0</para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_ZFCP</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.zfcp</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>rd_ZNET</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>rd.znet</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>KEYMAP</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>vconsole.keymap</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>KEYTABLE</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>vconsole.keymap</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>SYSFONT</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>vconsole.font</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>CONTRANS</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>vconsole.font.map</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>UNIMAP</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>vconsole.font.unimap</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>UNICODE</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>vconsole.unicode</envar></para>
+-          </listitem>
+-        </varlistentry>
+-        <varlistentry>
+-          <term>
+-            <envar>EXT_KEYMAP</envar>
+-          </term>
+-          <listitem>
+-            <para><envar>vconsole.keymap.ext</envar></para>
+-          </listitem>
+-        </varlistentry>
+-      </variablelist>
+-    </refsect2>
+-  </refsect1>
+-  <refsect1>
+-    <title>Configuration in the Initramfs</title>
+-    <variablelist>
+-      <varlistentry>
+-        <term>
+-          <filename>/etc/conf.d/</filename>
+-        </term>
+-        <listitem>
+-          <para>Any files found in <filename>/etc/conf.d/</filename> will be sourced in the initramfs to
+-set initial values. Command line options will override these values
+-set in the configuration files.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <filename>/etc/cmdline</filename>
+-        </term>
+-        <listitem>
+-          <para>Can contain additional command line options.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <filename>/etc/cmdline.d/*.conf</filename>
+-        </term>
+-        <listitem>
+-          <para>Can contain additional command line options.</para>
+-        </listitem>
+-      </varlistentry>
+-    </variablelist>
+-  </refsect1>
+-  <refsect1>
+-    <title>See Also</title>
+-    <para>
+-      <citerefentry>
+-        <refentrytitle>dracut</refentrytitle>
+-        <manvolnum>8</manvolnum>
+-      </citerefentry>
+-      <citerefentry>
+-        <refentrytitle>dracut.conf</refentrytitle>
+-        <manvolnum>5</manvolnum>
+-      </citerefentry>
+-    </para>
+-  </refsect1>
+-</refentry>
+diff --git a/dracut.conf.5.asc b/dracut.conf.5.asc
+new file mode 100644
+index 0000000..8709617
+--- /dev/null
++++ b/dracut.conf.5.asc
+@@ -0,0 +1,135 @@
++DRACUT.CONF(5)
++==============
++:doctype: manpage
++:man source:   dracut
++:man manual:   dracut
++
++NAME
++----
++dracut.conf - configuration file(s) for dracut
++
++SYNOPSIS
++--------
++_/etc/dracut.conf_ _/etc/dracut.conf.d/*.conf_
++
++Description
++-----------
++_dracut.conf_ is loaded during the initialisation phase of dracut. Command line
++parameter will overwrite any values set here. _dracut.conf.d/*.conf_ files are
++read in alphanumerical order and will overwrite parameters set in
++_/etc/dracut.conf_. Each line specifies an attribute and a value. A '#'
++indicates the beginning of a comment; following characters, up to the end of the
++line are not interpreted.
++
++*dracutmodules+=*" __<dracut modules>__ "::
++    Specify a space-separated list of dracut modules to call when building the
++    initramfs. Modules are located in _/usr/lib/dracut/modules.d_.
++
++*omit_dracutmodules+=*" __<dracut modules>__ "::
++    Omit a space-separated list of dracut modules.
++
++*add_dracutmodules+=*" __<dracut modules>__ "::
++    Add a space-separated list of dracut modules.
++
++*drivers+=*" __<kernel modules>__ "::
++    Specify a space-separated list of kernel modules to exclusively include in
++    the initramfs. The kernel modules have to be specified without the ".ko"
++    suffix.
++
++*add_drivers+=*" __<kernel modules>__ "::
++    Specify a space-separated list of kernel modules to add to the initramfs.
++    The kernel modules have to be specified without the ".ko" suffix.
++
++*omit_drivers+=*" __<kernel modules>__ "::
++    Specify a space-separated list of kernel modules not to add to the
++    initramfs. The kernel modules have to be specified without the ".ko" suffix.
++
++*install_items+=*" __<kernel modules>__ "::
++    Specify a space-separated list of files, which are added to the initramfs
++    image.
++
++*filesystems+=*" __<filesystem names>__ "::
++    Specify a space-separated list of kernel filesystem modules to exclusively
++    include in the generic initramfs.
++
++*drivers_dir=*"__<kernel modules directory>__"::
++    Specify the directory, where to look for kernel modules
++
++*fw_dir+=*" :__<dir>__[:__<dir>__ ...] "::
++    Specify additional directories, where to look for firmwares, separated by :
++
++*install_items+=*" __<file>__[ __<file>__ ...] "::
++    Specify additional files to include in the initramfs, separated by spaces.
++
++*do_strip=*"__{yes|no}__"::
++    Strip binaries in the initramfs (default=yes)
++
++*hostonly=*"__{yes|no}__"::
++    Host-Only mode: Install only what is needed for booting the local host instead of a generic host.
++
++[WARNING]
++====
++If chrooted to another root other than the real root device, use --fstab and provide a valid _/etc/fstab_.
++====
++
++*use_fstab=*"__{yes|no}__"::
++    Use _/etc/fstab_ instead of _/proc/self/mountinfo_.
++
++*add_fstab+=*" __<filename>__ "::
++    Add entries of __<filename>__ to the initramfs /etc/fstab.
++
++*mdadmconf=*"__{yes|no}__"::
++    Include local _/etc/mdadm.conf_ (default=yes)
++
++*lvmconf=*"__{yes|no}__"::
++    Include local _/etc/lvm/lvm.conf_ (default=yes)
++
++*fscks=*" __<fsck tools>__ "::
++    Add a space-separated list of fsck tools. If nothing is specified, the
++    default is: "umount mount /sbin/fsck* xfs_db xfs_check xfs_repair e2fsck
++    jfs_fsck reiserfsck btrfsck". The installation is opportunistic
++    (non-existing tools are ignored).
++
++*nofscks=*"__{yes|no}__"::
++    If specified, inhibit installation of any fsck tools.
++
++*kernel_only=*"__{yes|no}__"::
++    Only install kernel drivers and firmware files. (default=no)
++
++*no_kernel=*"{yes|no}"::
++    Do not install kernel drivers and firmware files (default=no)
++
++*stdloglvl*="__\{0-6\}__"::
++    Set logging to standard error level.
++
++*sysloglvl*="__\{0-6\}__"::
++    Set logging to syslog level.
++
++*fileloglvl=*"__\{0-6\}__"::
++    Set logging to file level.
++
++*logfile=*"__<file>__"::
++    Path to log file.
++
++*show_modules=*"__{yes|no}__"::
++    Print included module's name to standard output during build.
++
++Files
++-----
++_/etc/dracut.conf_::
++    Old configuration file. You better use your own file in
++    _/etc/dracut/conf.d/_.
++
++_/etc/dracut/conf.d/_::
++    Any _/etc/dracut/conf.d/*.conf_ file can overwrite the values in
++    _/etc/dracut.conf_. The configuration files are read in alphanumerical
++    order.
++
++AUTHOR
++------
++Harald Hoyer
++
++See Also
++--------
++*dracut*(8) *dracut.cmdline*(7)
++
+diff --git a/dracut.conf.5.xml b/dracut.conf.5.xml
+deleted file mode 100644
+index 760c892..0000000
+--- a/dracut.conf.5.xml
++++ /dev/null
+@@ -1,297 +0,0 @@
+-<?xml version='1.0' encoding='UTF-8'?>
+-<!-- This document was created with Syntext Serna Free. --><!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []>
+-<!-- vim: set ts=8 sts=2 sw=2 et: -->
+-<refentry id="dracutconf5">
+-  <refentryinfo>
+-    <title>dracut.conf</title>
+-    <productname>dracut</productname>
+-    <authorgroup>
+-      <author>
+-        <contrib>Developer</contrib>
+-        <firstname>Harald</firstname>
+-        <surname>Hoyer</surname>
+-        <email>harald at redhat.com</email>
+-      </author>
+-    </authorgroup>
+-  </refentryinfo>
+-  <refmeta>
+-    <refentrytitle>dracut.conf</refentrytitle>
+-    <manvolnum>5</manvolnum>
+-  </refmeta>
+-  <refnamediv>
+-    <refname>dracut.conf</refname>
+-    <refpurpose>configuration file(s) for dracut</refpurpose>
+-  </refnamediv>
+-  <refsynopsisdiv>
+-    <cmdsynopsis>
+-      <command>/etc/dracut.conf</command>
+-      <arg choice="plain">
+-        <replaceable>/etc/dracut.conf.d/*.conf</replaceable>
+-      </arg>
+-      <sbr/>
+-    </cmdsynopsis>
+-  </refsynopsisdiv>
+-  <refsect1>
+-    <title>Description</title>
+-    <para><filename>dracut.conf</filename>
+-is loaded during the initialisation phase of dracut.
+-Command line parameter will overwrite any values set here.
+-<emphasis><filename>dracut.conf.d/*.conf</filename> files are read in alphanumerical order and will</emphasis>
+-overwrite parameters set in <filename>/etc/dracut.conf</filename>. Each line specifies an attribute and a value. A &apos;#&apos; indicates the beginning of a comment; following characters, up to the end of the line are not interpreted.</para>
+-    <variablelist>
+-      <varlistentry>
+-        <term>
+-          <envar>dracutmodules+=&quot;&nbsp;<replaceable>&lt;dracut modules&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Specify a space-separated list of dracut modules to
+-call when building the initramfs. Modules are located
+-in <filename>/usr/lib/dracut/modules.d</filename>.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>omit_dracutmodules+=&quot;&nbsp;<replaceable>&lt;dracut modules&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Omit a space-separated list of dracut modules.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>add_dracutmodules+=&quot;&nbsp;<replaceable>&lt;dracut modules&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Add a space-separated list of dracut modules.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>drivers+=&quot;&nbsp;<replaceable>&lt;kernel modules&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Specify a space-separated list of kernel modules to
+-exclusively include in the initramfs.
+-The kernel modules have to be specified without the &quot;.ko&quot; suffix.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>add_drivers+=&quot;&nbsp;<replaceable>&lt;kernel modules&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Specify a space-separated list of kernel
+-modules to add to the initramfs.
+-The kernel modules have to be specified without the &quot;.ko&quot; suffix.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>omit_drivers+=&quot;&nbsp;<replaceable>&lt;kernel modules&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Specify a space-separated list of kernel
+-modules not to add to the initramfs.
+-The kernel modules have to be specified without the &quot;.ko&quot; suffix.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>install_items+=&quot;&nbsp;<replaceable>&lt;kernel modules&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Specify a space-separated list of files, which are added to the initramfs image.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>filesystems+=&quot;&nbsp;<replaceable>&lt;filesystem names&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Specify a space-separated list of kernel filesystem
+-modules to exclusively include in the generic
+-initramfs.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>drivers_dir=&quot;<replaceable>&lt;kernel modules directory&gt;</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Specify the directory, where to look for kernel modules</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>fw_dir+=&quot;&#160;:<replaceable>&lt;dir&gt;</replaceable>[:<replaceable>&lt;dir&gt;</replaceable>&nbsp;...]&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Specify additional directories, where to look for firmwares, separated by <constant>:</constant></para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>install_items+=&quot;&#160;<replaceable>&lt;file&gt;</replaceable>[ <replaceable>&lt;file&gt;</replaceable>&nbsp;...]&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Specify additional files to include in the initramfs, separated by spaces.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>do_strip=&quot;<replaceable>{yes|no}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Strip binaries in the initramfs (default=yes)</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>hostonly=&quot;<replaceable>{yes|no}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Host-Only mode: Install only what is needed for booting
+-   the local host instead of a generic host.
+-   <warning><para>If chrooted to another root other than the real root device, use <option>--fstab</option> and provide a valid <filename>/etc/fstab</filename>.</para>
+-            </warning>
+-   </para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>use_fstab=&quot;<replaceable>{yes|no}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Use <filename>/etc/fstab</filename> instead of <filename>/proc/self/mountinfo</filename>.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>add_fstab+=&quot;&nbsp;<replaceable>&lt;filename&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Add entries of <replaceable>&lt;filename&gt;</replaceable> to the initramfs /etc/fstab.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>mdadmconf=&quot;<replaceable>{yes|no}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Include local <filename>/etc/mdadm.conf</filename> (default=yes)</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>lvmconf=&quot;<replaceable>{yes|no}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Include local <filename>/etc/lvm/lvm.conf</filename> (default=yes)</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>fscks=&quot;&nbsp;<replaceable>&lt;fsck tools&gt;</replaceable>&nbsp;&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Add a space-separated list of fsck tools. If nothing is
+-            specified, the default is: &quot;<replaceable>umount mount
+-            /sbin/fsck* xfs_db xfs_check xfs_repair e2fsck jfs_fsck
+-            reiserfsck btrfsck</replaceable>&quot;
+-          </para>
+-          <para>The installation is opportunistic (non-existing tools are ignored).</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>nofscks=&quot;<replaceable>{yes}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>If specified, inhibit installation of any fsck tools.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>kernel_only=&quot;<replaceable>{yes|no}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Only install kernel drivers and firmware files. (default=no)</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>no_kernel=&quot;<replaceable>{yes|no}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Do not install kernel drivers and firmware files (default=no)</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>stdloglvl=&quot;<replaceable>{0-6}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Set logging to standard error level.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>sysloglvl=&quot;<replaceable>{0-6}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Set logging to syslog level.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>fileloglvl=&quot;<replaceable>{0-6}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Set logging to file level.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>logfile=&quot;<replaceable>&lt;file&gt;</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Path to log file.</para>
+-        </listitem>
+-      </varlistentry>
+-      <varlistentry>
+-        <term>
+-          <envar>show_modules=&quot;<replaceable>{yes|no}</replaceable>&quot;</envar>
+-        </term>
+-        <listitem>
+-          <para>Print included module's name to standard output during build.</para>
+-        </listitem>
+-      </varlistentry>
+-    </variablelist>
+-  </refsect1>
+-  <refsect1>
+-    <title>Files</title>
+-    <variablelist>
+-      <varlistentry>
+-        <term>
+-          <filename>/etc/dracut/conf.d/</filename>
+-        </term>
+-        <listitem>
+-          <para>Any <filename>/etc/dracut/conf.d/*.conf</filename> file can overwrite the values in <filename>/etc/dracut.conf</filename>.
+-The configuration files are read in alphanumerical order.</para>
+-        </listitem>
+-      </varlistentry>
+-    </variablelist>
+-  </refsect1>
+-  <refsect1>
+-    <title>See Also</title>
+-    <para><citerefentry>
+-        <refentrytitle>dracut</refentrytitle>
+-        <manvolnum>8</manvolnum>
+-      </citerefentry>
+-      <citerefentry>
+-        <refentrytitle>dracut.cmdline</refentrytitle>
+-        <manvolnum>7</manvolnum>
+-      </citerefentry>
+-    </para>
+-  </refsect1>
+-</refentry>
+diff --git a/dracut.xml b/dracut.xml
+deleted file mode 100644
+index fb31bb1..0000000
+--- a/dracut.xml
++++ /dev/null
+@@ -1,729 +0,0 @@
+-<?xml version='1.0' encoding='UTF-8'?>
+-<!-- This document was created with Syntext Serna Free. -->
+-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []>
+-<book>
+-  <title><inlinemediaobject>
+-      <imageobject>
+-        <imagedata valign="middle" fileref="dracut.png" format="PNG"/>
+-      </imageobject>
+-      <imageobject>
+-        <imagedata valign="middle" fileref="dracut.svg" format="SVG"/>
+-      </imageobject>
+-      <imageobject>
+-        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dracut.svg" encoding="UTF-8" parse="xml"/>
+-      </imageobject>
+-    </inlinemediaobject>dracut</title>
+-  <bookinfo>
+-    <author>
+-      <firstname>Harald</firstname>
+-      <surname>Hoyer</surname>
+-    </author>
+-    <pubdate>2010</pubdate>
+-    <edition>Version 1.0</edition>
+-    <copyright>
+-      <year>2010</year>
+-      <holder>Harald Hoyer</holder>
+-    </copyright>
+-    <legalnotice>
+-      <para>
+- This work is licensed under the Creative Commons Attribution/Share-Alike License. To view a copy of this license, visit <ulink url="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</ulink> or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
+-      </para>
+-    </legalnotice>
+-  </bookinfo>
+-  <toc/>
+-  <chapter>
+-    <chapterinfo>
+-      <legalnotice>
+-        <para>
+- This section is a modified version of <ulink url="http://en.wikipedia.org/wiki/Initrd">http://en.wikipedia.org/wiki/Initrd</ulink>, which is licensed under the Creative Commons Attribution/Share-Alike License.
+-      </para>
+-      </legalnotice>
+-    </chapterinfo>
+-    <title>Introduction</title>
+-    <section>
+-      <title>Definition</title>
+-      <para>An <emphasis>initial ramdisk</emphasis> is a temporary file system used in the boot process of the Linux kernel.  <emphasis>initrd</emphasis> and <emphasis>initramfs</emphasis> refer to slightly different schemes for loading this file system into memory.  Both are commonly used to make preparations before the real root file system can be mounted.</para>
+-    </section>
+-    <section>
+-      <title>Rationale </title>
+-      <para>Many Linux distributions ship a single, generic kernel image that is intended to boot as wide a variety of hardware as possible.  The device drivers for this generic kernel image are included as loadable modules, as it is not possible to statically compile them all into the one kernel without making it too large to boot from computers with limited memory or from lower-capacity media like floppy disks.
+-        </para>
+-      <para>This then raises the problem of detecting and loading the modules necessary to mount the root file system at boot time (or, for that matter, deducing where or what the root file system is).
+-        </para>
+-      <para>To further complicate matters, the root file system may be on a software <acronym>RAID</acronym> volume, <acronym>LVM</acronym>, <acronym>NFS</acronym> (on diskless workstations), or on an encrypted partition.  All of these require special preparations to mount.
+-        </para>
+-      <para>Another complication is kernel support for hibernation, which suspends the computer to disk by dumping an image of the entire system to a swap partition or a regular file, then powering off.  On next boot, this image has to be made accessible before it can be loaded back into memory. </para>
+-      <para>To avoid having to hardcode handling for so many special cases into the kernel, an initial boot stage with a temporary root file system—now dubbed early user space—is used.  This root file system would contain user-space helpers that would do the hardware detection, module loading and device discovery necessary to get the real root file system mounted.
+-      </para>
+-    </section>
+-    <section>
+-      <title>Implementation </title>
+-      <para>An image of this initial root file system (along with the kernel image) must be stored somewhere accessible by the Linux bootloader or the boot firmware of the computer.  This can be: </para>
+-      <itemizedlist>
+-        <listitem>
+-          <para>The root file system itself </para>
+-        </listitem>
+-        <listitem>
+-          <para>A boot image on an optical disc
+-   </para>
+-        </listitem>
+-        <listitem>
+-          <para>A small ext2/ext3 or <acronym>FAT</acronym>-formatted partition on a local disk (a <emphasis>boot partition</emphasis>)</para>
+-        </listitem>
+-        <listitem>
+-          <para>A <acronym>TFTP</acronym> server (on systems that can boot from Ethernet) </para>
+-        </listitem>
+-      </itemizedlist>
+-      <para>The bootloader will load the kernel and initial root file system image into memory and then start the kernel, passing in the memory address of the image.
+-    </para>
+-      <para>Depending on which algorithms were compiled statically into it, the kernel can currently unpack initrd/initramfs images compressed with gzip, bzip2 and <acronym>LZMA</acronym>. </para>
+-    </section>
+-    <section>
+-      <title>Mount preparations </title>
+-      <para>dracut can generate a customized initrams image which contains only whatever is necessary to boot some particular computer, such as <acronym>ATA</acronym>, <acronym>SCSI</acronym> and filesystem kernel modules (host-only mode).</para>
+-      <para>dracut can also generate a more generic initramfs image (default mode).  </para>
+-      <para>dracut&apos;s initramfs starts only with the device name of the root file system (or its <acronym>UUID</acronym>) and must discover everything else at boot time.  A complex cascade of tasks must be performed to get the root file system mounted: </para>
+-      <itemizedlist>
+-        <listitem>
+-          <para>Any hardware drivers that the boot process depends on must be loaded.  All kernel modules for common storage devices are packed onto the initramfs and then udev pulls in modules matching the computer&apos;s detected hardware. </para>
+-        </listitem>
+-        <listitem>
+-          <para>On systems which display a boot rd.splash screen, the video hardware must be initialized and a user-space helper started to paint animations onto the display in lockstep with the boot process. </para>
+-        </listitem>
+-        <listitem>
+-          <para>If the root file system is on NFS, dracut does  then: <itemizedlist>
+-              <listitem>
+-                <para>Bring up the primary network interface. </para>
+-              </listitem>
+-              <listitem>
+-                <para>Invoke a DHCP client, with which it can obtain a DHCP lease. </para>
+-              </listitem>
+-              <listitem>
+-                <para>Extract the name of the NFS share and the address of the NFS server from the lease. </para>
+-              </listitem>
+-              <listitem>
+-                <para>Mount the <acronym>NFS</acronym> share. </para>
+-              </listitem>
+-            </itemizedlist></para>
+-        </listitem>
+-        <listitem>
+-          <para>If the root file system appears to be on a software <acronym>RAID</acronym> device, there is no way of knowing which devices the <acronym>RAID</acronym> volume spans; the standard <acronym>MD</acronym> utilities must be invoked to scan all available block devices with a raid signature and bring the required ones online. </para>
+-        </listitem>
+-        <listitem>
+-          <para>If the root file system appears to be on a logical volume, the <acronym>LVM</acronym> utilities must be invoked to scan for and activate the volume group containing it. </para>
+-        </listitem>
+-        <listitem>
+-          <para>If the root file system is on an encrypted block device: <itemizedlist>
+-              <listitem>
+-                <para>Invoke a helper script to prompt the user to type in a passphrase and/or insert a hardware token (such as a smart card or a <acronym>USB</acronym> security dongle). </para>
+-              </listitem>
+-              <listitem>
+-                <para>Create a decryption target with the device mapper. </para>
+-              </listitem>
+-            </itemizedlist></para>
+-        </listitem>
+-      </itemizedlist>
+-      <para>dracut uses udev, an event-driven hotplug agent, which invokes helper programs as hardware devices, disk partitions and storage volumes matching certain rules come online.  This allows discovery to run in parallel, and to progressively cascade into arbitrary nestings of <acronym>LVM</acronym>, <acronym>RAID</acronym> or encryption to get at the root file system. </para>
+-      <para>When the root file system finally becomes visible: <itemizedlist>
+-          <listitem>
+-            <para>Any maintenance tasks which cannot run on a mounted root file system are done.  </para>
+-          </listitem>
+-          <listitem>
+-            <para>The root file system is mounted read-only. </para>
+-          </listitem>
+-          <listitem>
+-            <para>Any processes which must continue running (such as the rd.splash screen helper and its command <acronym>FIFO</acronym>) are hoisted into the newly-mounted root file system. </para>
+-          </listitem>
+-        </itemizedlist></para>
+-      <para>The final root file system cannot simply be mounted over /, since that would make the scripts and tools on the initial root file system inaccessible for any final cleanup tasks. On an initramfs, the initial root file system cannot be rotated away. Instead, it is simply emptied and the final root file system mounted over the top.
+-    </para>
+-    </section>
+-  </chapter>
+-  <chapter>
+-    <title>User Manual</title>
+-    <section>
+-      <title>Creating an initramfs Image</title>
+-      <para>To create a initramfs image, the most simple command is:</para>
+-      <screen># dracut</screen>
+-      <para>This will generate a general purpose initramfs image, with all possible functionality resulting of  the combination of the installed dracut modules and system tools. The image is /boot/initramfs-<replaceable>&lt;kernel version&gt;</replaceable>.img and contains the kernel modules of the currently active kernel with version <replaceable>&lt;kernel version&gt;</replaceable>.</para>
+-      <para>If the initramfs image already exists, dracut will display an error message, and to overwrite the existing image, you have to use the <option>--force</option> option. </para>
+-      <screen># dracut --force</screen>
+-      <para>If you want to specify another filename for the resulting image you would issue a command like:</para>
+-      <screen># dracut foobar.img</screen>
+-      <para>To generate an image for a specific kernel version, the command would be:</para>
+-      <screen># dracut foobar.img 2.6.40-1.rc5.f20</screen>
+-      <para>A shortcut to generate the image at the default location for a specific kernel version is:</para>
+-      <screen># dracut &apos;&apos; 2.6.40-1.rc5.f20</screen>
+-      <para>If you want to create lighter, smaller initramfs images, you may want to specify the <option>--host-only</option> or  <option>-H</option> option. Using this option, the resulting image will contain only those dracut modules, kernel modules and filesystems, which are needed to boot this specific machine. This has the drawback, that you can&apos;t put the disk on another controller or machine, and that you can&apos;t switch to another root filesystem, without recreating the initramfs image. The usage of the <option>--host-only</option> option is only for experts and you will have to keep the broken pieces. At least keep a copy of a general purpose image (and corresponding kernel) as a fallback to rescue your system.</para>
+-      <section>
+-        <title>Inspecting the Contents</title>
+-        <para>To see the contents of the image created by dracut, you can use the <command>lsinitrd</command> tool.</para>
+-        <screen># lsinitrd /boot/initramfs-$(uname -r).img | less</screen>
+-        <para>To display the contents of a file in the initramfs also use the <command>lsinitrd</command> tool:</para>
+-        <screen># lsinitrd /boot/initramfs-$(uname -r).img  /etc/ld.so.conf
+-include ld.so.conf.d/*.conf</screen>
+-      </section>
+-      <section>
+-        <title>Adding dracut Modules</title>
+-        <para>Some dracut modules are turned off by default and have to be activated manually. You can do this by adding the dracut modules to the configuration file <filename>/etc/dracut.conf</filename> or <filename>/etc/dracut.conf.d/myconf.conf</filename>. See the man page <xref linkend="dracutconf5"/>. You can also add dracut modules on the command line by using the <option>-a</option> or <option>--add</option> option:</para>
+-        <screen># dracut --add bootchart initramfs-bootchart.img</screen>
+-        <para>To see a list of available dracut modules, use the <option>--list-modules</option> option:</para>
+-        <screen># dracut --list-modules</screen>
+-        <para>or, if you have a dracut version earlier than <literal>008</literal>, issue the command:</para>
+-        <screen># for mod in /usr/lib/dracut/modules.d/*; do echo ${mod##*/??}; done</screen>
+-      </section>
+-      <section>
+-        <title>Omitting dracut Modules</title>
+-        <para>Sometimes you don&apos;t want a dracut module to be included for reasons of speed, size or functionality. To do this, either specify the <envar>omit_dracutmodules</envar> variable in  the <filename>dracut.conf</filename> or <filename>/etc/dracut.conf.d/myconf.conf</filename> configuration file (see man page <xref linkend="dracutconf5"/>), or use the <option>-o</option> or <option>--omit</option> option on the command line:</para>
+-        <screen># dracut -o &quot;multipath lvm&quot; no-multipath-lvm.img</screen>
+-      </section>
+-      <section>
+-        <title>Adding Kernel Modules</title>
+-        <para>If you need a special kernel module in the initramfs, which is not automatically picked up by dracut, you have the use the <option>--add-drivers</option> option on the command line or  the drivers vaiable in  the <filename>/etc/dracut.conf</filename> or <filename>/etc/dracut.conf.d/myconf.conf</filename> configuration file (see man page <xref linkend="dracutconf5"/>):</para>
+-        <screen># dracut --add-drivers mymod initramfs-with-mymod.img</screen>
+-      </section>
+-    </section>
+-    <section>
+-      <title>Boot parameters</title>
+-      <para>The generated initramfs.img file normally does not contain any system configuration files (except for some special exceptions), so the configuration has to be done on the kernel command line. With this flexibility, you can easily boot from a changed root partition, without the need to recompile the initramfs image. So, you could completly change your root partition (move it inside a md raid with encryption and LVM on top), as long as you specify the correct filesystem <varname>LABEL</varname> or <varname>UUID</varname> on the kernel command line for your root device, dracut will find it and boot from it.</para>
+-      <para>The kernel command line usually can be configured in <filename>/boot/grub/grub.conf</filename>, if grub is your bootloader and it also can be edited in the real boot process in the grub menu.</para>
+-      <para>The kernel command line can also be provided by the dhcp server with the root-path option. See <xref linkend="NetworkBoot"/>.</para>
+-      <para>For a full reference of all kernel command line parameters, see the <xref linkend="dracutconf5"/> or <xref linkend="dracut8"/> man page.</para>
+-      <section>
+-        <title>Specifying the root Device</title>
+-        <para>This is the only option dracut really needs to boot from your root partition. Because your root partition can live in various environments, there are a lot of formats for the <envar>root=</envar> option. The most basic one is <envar>root=<replaceable>&lt;path to device node&gt;</replaceable></envar>:</para>
+-        <screen>root=/dev/sda2</screen>
+-        <para>Because device node names can change, dependent on the drive ordering,  you are encouraged to use the filesystem identifier (UUID) or filesystem label (LABEL) to specify your root partition:</para>
+-        <screen>root=UUID=19e9dda3-5a38-484d-a9b0-fa6b067d0331</screen>
+-        <para>or</para>
+-        <screen>root=LABEL=myrootpartitionlabel</screen>
+-        <para>To see all <envar>UUID</envar>s or <envar>LABEL</envar>s on your system, do:</para>
+-        <screen># ls -l /dev/disk/by-uuid</screen>
+-        <para>or</para>
+-        <screen># ls -l /dev/disk/by-label</screen>
+-        <para>If your root partition is on the network see <xref linkend="NetworkBoot"/>.</para>
+-      </section>
+-      <section>
+-        <title>Keyboard Settings</title>
+-        <para>If you have to input passwords for encrypted disk volumes, you might want to set the keyboard layout and specify a display font.</para>
+-        <para>A typical german kernel command would contain:</para>
+-        <screen>vconsole.font=latarcyrheb-sun16 vconsole.keymap=de-latin1-nodeadkeys locale.LANG=de_DE.UTF-8</screen>
+-        <para>Setting these options can override the setting stored on your system, if you use a modern init system, like systemd.</para>
+-        <para>For dracut versions prior to version <literal>008</literal> the line would look like:</para>
+-        <screen>LANG=de_DE.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=de-latin1-nodeadkeys</screen>
+-      </section>
+-      <section>
+-        <title>Blacklisting Kernel Modules</title>
+-        <para>Sometimes it is required to prevent the automatic kernel module loading of a specific kernel module. To do this, just add <envar>rd.blacklist=<replaceable>&lt;kernel module name&gt;</replaceable></envar>, with <replaceable>&lt;kernel module name&gt;</replaceable> not containing the <filename>.ko</filename> suffix, to the kernel command line. For example:</para>
+-        <screen>rd.blacklist=mptsas rd.blacklist=nouveau</screen>
+-        <para>The option can be specified multiple times on the kernel command line.</para>
+-      </section>
+-      <section>
+-        <title>Speeding up the Boot Process</title>
+-        <para>If you want to speed up the boot process, you can specify as much information for dracut on the kernel command as possible. For example, you can tell dracut, that you root partition is not on a <acronym>LVM</acronym> volume or not on a raid partition, or that it lives inside a specific crypto <acronym>LUKS</acronym> encrypted volume. By default, dracut searches everywhere. A typical dracut kernel command line for a plain primary or logical partition would contain:</para>
+-        <screen>rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0</screen>
+-        <para>on systems with dracut version prior to <literal>008</literal> the line would look like:</para>
+-        <screen>rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM</screen>
+-        <para>This turns off every automatic assembly of <acronym>LVM</acronym>, <acronym>MD</acronym> raids, <acronym>DM</acronym> raids and crypto <acronym>LUKS</acronym>.</para>
+-        <para>Of course, you could also omit the dracut modules in the initramfs creation process, but then you would lose the posibility to turn it on on demand.</para>
+-      </section>
+-      <section id="Injecting">
+-        <title>Injecting custom Files</title>
+-        <para>To add your own files to the initramfs image, you have several possibilities.</para>
+-        <para>The <option>--include</option> option let you specify a source path and a target path. For example</para>
+-        <screen># dracut --include cmdline-preset /etc/cmdline initramfs-cmdline-pre.img</screen>
+-        <para>will create an initramfs image, where the file cmdline-preset will be copied inside the initramfs to  <filename>/etc/cmdline</filename>. <option>--include</option> can only be specified once.</para>
+-        <screen># mkdir rd.live.overlay
+-# mkdir rd.live.overlay/etc
+-# mkdir rd.live.overlay/etc/conf.d
+-# echo &quot;ip=auto&quot; &gt;&gt; rd.live.overlay/etc/cmdline
+-# echo export TESTVAR=testtest &gt;&gt; rd.live.overlay/etc/conf.d/testvar.conf
+-# echo export TESTVAR=testtest &gt;&gt; rd.live.overlay/etc/conf.d/testvar.conf
+-# tree rd.live.overlay/
+-rd.live.overlay/
+-└── etc
+-    ├── cmdline
+-    └── conf.d
+-        └── testvar.conf
+-# dracut --include rd.live.overlay / initramfs-rd.live.overlay.img</screen>
+-        <para>This will put the contents of the rd.live.overlay directory into the root of the initramfs image.</para>
+-        <para>The <option>--install</option> option let you specify several files, which will get installed in the initramfs image at the same location, as they are present on initramfs creation time.</para>
+-        <screen># dracut --install &apos;strace fsck.ext3 ssh&apos; initramfs-dbg.img</screen>
+-        <para>This will create an initramfs with the <command>strace</command>, <command>fsck.ext3</command> and <command>ssh</command> executables, together with the libraries needed to start those. The <option>--install</option> option can be specified multiple times.</para>
+-      </section>
+-    </section>
+-    <section id="NetworkBoot">
+-      <title>Network Boot</title>
+-      <para>If your root partition is on a network drive, you have to have the network dracut modules installed to create a network aware initramfs image.</para>
+-      <para>On a Red Hat Enterprise Linux or Fedora system, this means, you have to install the <filename>dracut-network</filename> rpm package:</para>
+-      <screen># yum install dracut-network</screen>
+-      <para>The resulting initramfs image can be served by a boot manager residing on your local hard drive or it can be served by a <acronym>PXE</acronym>/<acronym>TFTP</acronym> server.</para>
+-      <para>How to setup your <acronym>PXE</acronym>/<acronym>TFTP</acronym> server can be found in the <ulink url="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/">Red Hat Enterprise Linux Storage Administration Guide</ulink>.</para>
+-      <para>If you specify <envar>rd.ip=auto</envar> on the kernel command line,  then dracut asks a dhcp server about the ip adress for the machine. The dhcp server can also serve an additional root-path, which will set the root device for dracut.  With this mechanism, you have static configuration on your client machine and  a centralized boot configuration on your <acronym>TFTP</acronym>/<acronym>DHCP</acronym> server. If you can&apos;t pass a kernel command line, then you can inject <filename>/etc/cmdline</filename>, with a method described in <xref linkend="Injecting"/>.
+-</para>
+-      <section>
+-        <title>Reducing the Image Size</title>
+-        <para>To reduce the size of the initramfs, you should create it with by ommitting all dracut modules, which you know, you don&apos;t need to boot the machine.</para>
+-        <para>You can also specify the exact dracut and kernel modules to produce a very tiny initramfs image.</para>
+-        <para>For example for a <acronym>NFS</acronym> image, you would do:</para>
+-        <screen># dracut -m &quot;nfs network  base&quot; initramfs-nfs-only.img</screen>
+-        <para>Then you would boot from this image with your target machine and reduce the size once more by creating it  on the target machine with the <option>--host-only</option> option:</para>
+-        <screen># dracut -m &quot;nfs network base&quot; --host-only initramfs-nfs-host-only.img</screen>
+-        <para>This will reduce the size of the initramfs image significantly.</para>
+-      </section>
+-      <section>
+-        <title>NFS Root Device</title>
+-        <para/>
+-      </section>
+-      <section>
+-        <title>iSCSI Root Device</title>
+-        <para>
+- </para>
+-      </section>
+-      <section>
+-        <title>FCoE Root Device</title>
+-        <para>
+- </para>
+-      </section>
+-    </section>
+-    <section>
+-      <title>Troubleshooting</title>
+-      <para>If the boot process does not succeed, you have several options to debug the situation. Some of the basic operations are covered here. For more information you should also visit:  <ulink url="http://fedoraproject.org/wiki/How_to_debug_Dracut_problems">http://fedoraproject.org/wiki/How_to_debug_Dracut_problems</ulink></para>
+-      <section id="identifying-your-problem-area">
+-        <title>Identifying your problem area</title>
+-        <orderedlist>
+-          <listitem>
+-            <para>Remove &apos;&apos;rhgb&apos;&apos; and &apos;&apos;quiet&apos;&apos; from the kernel command line
+-</para>
+-          </listitem>
+-          <listitem>
+-            <para>Add &apos;&apos;rd.shell&apos;&apos; to the kernel command line.  This will present a shell should dracut be unable to locate your root device
+-</para>
+-          </listitem>
+-          <listitem>
+-            <para>Add &apos;&apos;rd.shell rd.debug log_buf_len=1M&apos;&apos; to the kernel command line so that dracut shell commands are printed as they are executed
+-</para>
+-          </listitem>
+-          <listitem>
+-            <para>With dracut &gt;= 002-11, you can inspect the rd.debug output with:
+-</para>
+-            <screen># less /run/initramfs/init.log
+-# dmesg | less</screen>
+-          </listitem>
+-        </orderedlist>
+-      </section>
+-      <section id="information-to-include-in-your-report">
+-        <title id="information-to-include-in-your-report-title">Information to include in your report</title>
+-        <section id="all-bug-reports">
+-          <title id="all-bug-reports-title">All bug reports</title>
+-          <para>In all cases, the following should be mentioned and attached to your bug report:
+-</para>
+-          <itemizedlist>
+-            <listitem>
+-              <para>The exact kernel command-line used.  Typically from the bootloader configuration file (e.g. <filename>/etc/grub.conf</filename>) or from <filename>/proc/cmdline</filename>.</para>
+-            </listitem>
+-            <listitem>
+-              <para>A copy of your disk partition information from <filename>/etc/fstab</filename>, which might be obtained booting an old working initramfs or a rescue medium.</para>
+-            </listitem>
+-            <listitem>
+-              <para>A device listing from device-mapper.  This can be obtained by running the command <screen># dmsetup ls --tree</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>A list of block device attributes including vol_id compatible mode.  This can be obtained by running the commands: <screen># blkid -p
+-# blkid -p -o udev</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>Turn on dracut debugging (see <filename>the &apos;debugging dracut&apos; section</filename>), and attach all relevant information from the boot log.  This can be obtained by running the command <screen># dmesg|grep dracut</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>If you use a dracut configuration file, please include <filename>/etc/dracut.conf</filename>
+- and all files in <filename>/etc/dracut.conf.d/*.conf</filename></para>
+-            </listitem>
+-          </itemizedlist>
+-        </section>
+-        <section id="logical-volume-management-related-problems">
+-          <title id="logical-volume-management-related-problems-title">Logical Volume Management related problems</title>
+-          <para>As well as the information from <xref linkend="all-bug-reports"/> include the following information:
+-</para>
+-          <itemizedlist>
+-            <listitem>
+-              <para>Include physical volume information by running the command: <screen># lvm pvdisplay</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>Include volume group information by running the command: <screen># lvm vgdisplay</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>Include logical volume information by running the command: <screen># lvm lvdisplay</screen></para>
+-            </listitem>
+-          </itemizedlist>
+-        </section>
+-        <section id="software-raid-related-problems">
+-          <title id="software-raid-related-problems-title">Software RAID related problems</title>
+-          <para>As well as the information from <xref linkend="all-bug-reports"/>, include the following information:
+-</para>
+-          <itemizedlist>
+-            <listitem>
+-              <para>If using software RAID disk partitions, please include the output of <screen># cat /proc/mdstat</screen></para>
+-            </listitem>
+-          </itemizedlist>
+-        </section>
+-        <section id="network-root-device-related-problems">
+-          <title id="network-root-device-related-problems-title">Network root device related problems</title>
+-          <para>This section details information to include when experiencing problems on a system whose root device is located on a network attached volume (e.g. iSCSI, NFS or NBD).  As well as the information from <xref linkend="all-bug-reports"/>, include the following information:
+-</para>
+-          <itemizedlist>
+-            <listitem>
+-              <para>Please include the output of  <screen># /sbin/ifup <replaceable>&lt;interfacename&gt;</replaceable>
+-# ip addr show</screen></para>
+-            </listitem>
+-          </itemizedlist>
+-        </section>
+-      </section>
+-      <section id="debugging-dracut">
+-        <title id="debugging-dracut-title">Debugging dracut</title>
+-        <section id="configure-a-serial-console">
+-          <title id="configure-a-serial-console-title">Configure a serial console</title>
+-          <para>Successfully debugging dracut will require some form of console logging during the system boot.  This section documents configuring a serial console connection to record boot messages.
+-</para>
+-          <orderedlist>
+-            <listitem>
+-              <para>First, enable serial console output for both the kernel and the bootloader.
+-</para>
+-            </listitem>
+-            <listitem>
+-              <para>Open the file <filename>/etc/grub.conf</filename> for editing.  Below the line &apos;&apos;timeout=5&apos;&apos;, add the following:
+-<screen>serial --unit=0 --speed=9600
+-terminal --timeout=5 serial console</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>Also in <filename>/etc/grub.conf</filename>, add the following boot arguemnts to the &apos;&apos;kernel&apos;&apos; line:
+-<screen>console=tty0 console=ttyS0,9600</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>When finished, the <filename>/etc/grub.conf</filename> file should look similar to the example below.
+-<screen>default=0
+-timeout=5
+-serial --unit=0 --speed=9600
+-terminal --timeout=5 serial console
+-title Fedora (2.6.29.5-191.fc11.x86_64)
+-  root (hd0,0)
+-  kernel /vmlinuz-2.6.29.5-191.fc11.x86_64 ro root=/dev/mapper/vg_uc1-lv_root console=tty0 console=ttyS0,9600
+-  initrd /dracut-2.6.29.5-191.fc11.x86_64.img</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>More detailed information on how to configure the kernel for console output can be found at <ulink url="http://www.faqs.org/docs/Linux-HOWTO/Remote-Serial-Console-HOWTO.html#CONFIGURE-KERNEL">http://www.faqs.org/docs/Linux-HOWTO/Remote-Serial-Console-HOWTO.html#CONFIGURE-KERNEL</ulink>.
+-</para>
+-            </listitem>
+-          </orderedlist>
+-          <note>
+-            <title>Redirecting non-interactive output</title>
+-            <para>You can redirect all non-interactive output to <filename>/dev/kmsg</filename> and the kernel will put it out on the console when it reaches the kernel buffer by doing<screen># exec &gt;/dev/kmsg 2&gt;&amp;1 &lt;/dev/console</screen></para>
+-          </note>
+-        </section>
+-        <section id="using-the-dracut-shell">
+-          <title id="using-the-dracut-shell-title">Using the dracut shell</title>
+-          <para>Dracut offers a shell for interactive debugging in the event dracut fails to locate your root filesystem.  To enable the shell:
+-<orderedlist>
+-              <listitem>
+-                <para>Add the boot parameter &apos;&apos;rd.shell&apos;&apos; to your bootloader configuration file (e.g. <filename>/etc/grub.conf</filename>)</para>
+-              </listitem>
+-              <listitem>
+-                <para>Remove the boot arguments &apos;&apos;rhgb&apos;&apos; and &apos;&apos;quiet&apos;&apos;
+-</para>
+-                <para>
+-A sample <filename>/etc/grub.conf</filename> bootloader configuration file is listed below.
+-</para>
+-                <para><screen>default=0
+-timeout=5
+-serial --unit=0 --speed=9600
+-terminal --timeout=5 serial console
+-title Fedora (2.6.29.5-191.fc11.x86_64)
+-  root (hd0,0)
+-  kernel /vmlinuz-2.6.29.5-191.fc11.x86_64 ro root=/dev/mapper/vg_uc1-lv_root console=tty0 rd.shell
+-  initrd /dracut-2.6.29.5-191.fc11.x86_64.img</screen></para>
+-              </listitem>
+-              <listitem>
+-                <para>If system boot fails, you will be dropped into a shell as seen in the example below.
+-<screen>No root device found
+-Dropping to debug shell.
+-
+-sh: can&apos;t access tty; job control turned off
+-
+-# </screen></para>
+-              </listitem>
+-              <listitem>
+-                <para>Use this shell prompt to gather the information requested above (see <xref linkend="all-bug-reports"/>).
+-</para>
+-              </listitem>
+-            </orderedlist></para>
+-        </section>
+-        <section id="accessing-the-root-volume-from-the-dracut-shell">
+-          <title id="accessing-the-root-volume-from-the-dracut-shell-title">Accessing the root volume from the dracut shell</title>
+-          <para>From the dracut debug shell, you can manually perform the task of locating and preparing your root volume for boot.  The required steps will depend on how your root volume is configured.  Common scenarios include:
+-</para>
+-          <itemizedlist>
+-            <listitem>
+-              <para>A block device (e.g. <filename>/dev/sda7</filename>)
+-</para>
+-            </listitem>
+-            <listitem>
+-              <para>A LVM logical volume (e.g. <filename>/dev/VolGroup00/LogVol00</filename>)
+-</para>
+-            </listitem>
+-            <listitem>
+-              <para>An encrypted device (e.g. <filename>/dev/mapper/luks-4d5972ea-901c-4584-bd75-1da802417d83</filename>)
+-</para>
+-            </listitem>
+-            <listitem>
+-              <para>A network attached device (e.g. netroot=iscsi:@192.168.0.4::3260::iqn.2009-02.org.fedoraproject:for.all)
+-</para>
+-            </listitem>
+-          </itemizedlist>
+-          <para>The exact method for locating and preparing will vary. However, to continue with a successful boot, the objective is to locate your root volume and create a symlink <filename>/dev/root</filename> which points to the file system. For example, the following example demonstrates accessing and booting a root volume that is an encrypted LVM Logical volume. </para>
+-          <orderedlist>
+-            <listitem>
+-              <para>Inspect your partitions using <command>parted</command><screen># parted /dev/sda -s p
+-Model: ATA HTS541060G9AT00 (scsi)
+-Disk /dev/sda: 60.0GB
+-Sector size (logical/physical): 512B/512B
+-Partition Table: msdos
+-Number  Start   End     Size    Type      File system  Flags
+-1      32.3kB  10.8GB  107MB   primary   ext4         boot
+-2      10.8GB  55.6GB  44.7GB  logical                lvm</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>You recall that your root volume was a LVM logical volume.  Scan and activate any logical volumes.
+-                  <screen># lvm vgscan
+-# lvm vgchange -ay</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>You should see any logical volumes now using the command <command>blkid</command>:
+-<screen># blkid
+-/dev/sda1: UUID=&quot;3de247f3-5de4-4a44-afc5-1fe179750cf7&quot; TYPE=&quot;ext4&quot;
+-/dev/sda2: UUID=&quot;Ek4dQw-cOtq-5MJu-OGRF-xz5k-O2l8-wdDj0I&quot; TYPE=&quot;LVM2_member&quot;
+-/dev/mapper/linux-root: UUID=&quot;def0269e-424b-4752-acf3-1077bf96ad2c&quot; TYPE=&quot;crypto_LUKS&quot;
+-/dev/mapper/linux-home: UUID=&quot;c69127c1-f153-4ea2-b58e-4cbfa9257c5e&quot; TYPE=&quot;ext3&quot;
+-/dev/mapper/linux-swap: UUID=&quot;47b4d329-975c-4c08-b218-f9c9bf3635f1&quot; TYPE=&quot;swap&quot;
+-</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>From the output above, you recall that your root volume exists on an encrypted block device.  Following the guidance disk encryption guidance from the Installation Guide, you unlock your encrypted root volume.
+-<screen># UUID=$(cryptsetup luksUUID /dev/mapper/linux-root)
+-# cryptsetup luksOpen /dev/mapper/linux-root luks-$UUID
+-Enter passphrase for /dev/mapper/linux-root:
+-Key slot 0 unlocked. </screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>Next, make a symbolic link to the unlocked root volume
+-<screen># ln -s /dev/mapper/luks-$UUID /dev/root</screen></para>
+-            </listitem>
+-            <listitem>
+-              <para>With the root volume available, you may continue booting the system by exiting the dracut shell
+-<screen># exit</screen></para>
+-            </listitem>
+-          </orderedlist>
+-        </section>
+-        <section id="additional-dracut-boot-parameters">
+-          <title id="additional-dracut-boot-parameters-title">Additional dracut boot parameters</title>
+-          <para>For more debugging options, see <xref linkend="dracut-kernel-debug"/> in the man page <xref linkend="dracutkernel7"/>.</para>
+-        </section>
+-      </section>
+-    </section>
+-  </chapter>
+-  <chapter>
+-    <title>Developer Manual</title>
+-    <section>
+-      <title>dracut Components</title>
+-      <para>dracut uses a modular system to build and extend the initramfs image. All modules are located in <filename>/usr/lib/dracut/modules.d</filename> or in <filename><replaceable>&lt;git-src&gt;</replaceable>/modules.d</filename>. The most basic dracut module is <filename>99base</filename>. In <filename>99base</filename> the initial shell script <command>init</command> is defined, which gets run by the kernel after initramfs loading. Although you can replace <command>init</command> with your own version of <filename>99base</filename>, this is not encouraged. Instead you should use, if possible, the hooks of dracut. All hooks, and the point of time in which they are executed, are described in <xref linkend="stages"/>.</para>
+-      <para>The main script, which creates the initramfs is <command>dracut</command> itsself. It parses all arguments and sets up the directory, in which everything is installed. It then executes all <command>check</command>, <command>install</command>, <command>installkernel</command> scripts found in the modules, which are to be processed. After everything is installed, the install directory is archived and compressed to the final initramfs image. All helper functions used by <command>check</command>, <command>install</command> and <command>installkernel</command> are found in in the file <filename>dracut-functions</filename>. These shell functions are available to all module installer (<command>install</command>, <command>installkernel</command>) scripts, without the need to source <filename>dracut-functions</filename>.</para>
+-      <para>A module can check the preconditions for <command>install</command> and <command>installkernel</command> with the <command>check</command> script. Also dependencies can be expressed with <command>check</command>. If a module passed <command>check</command>, <command>install</command> and <command>installkernel</command> will be called to install all of the necessary files for the module. To split between kernel and non-kernel parts of the installation, all kernel module related parts have to be in <command>installkernel</command>. All other files found in a module directory are module specific and mostly are hook scripts and udev rules.</para>
+-    </section>
+-    <section id="stages">
+-      <title>Boot Process Stages</title>
+-      <para>The <command>init</command> script in <filename>99base</filename> is the main script, which prepares the root file system for usage, runs udev, mounts the real root device, kills the remaining processes, and switches to the real root device for further booting. dracut modules can insert custom script at various points, to control the boot process. These hooks are plain directories containing shell scripts ending with &quot;.sh&quot;, which are sourced by <command>init</command>.
+-Common used functions are in <filename>dracut-lib.sh</filename>, which can be sourced by any script.      </para>
+-      <section>
+-        <title>Basic Setup</title>
+-        <para>The first thing <command>init</command> does, is to mount <filename>/proc</filename> and <filename>/sys</filename> and manually create the basic device nodes and symbolic links in <filename>/dev</filename> needed to execute basic commands. Then logging is setup according to kernel command line arguments. <filename>/dev/pts</filename> and <filename>/dev/shm</filename> are mounted and the first hook is sourced.</para>
+-      </section>
+-      <section>
+-        <title>Hook: cmdline</title>
+-        <para>The <literal>
+-            <function>cmdline</function>
+-          </literal> hook is a place to insert scripts to parse the kernel command line and prepare the later actions, like setting up udev rules and configuration files.</para>
+-        <para>In this hook the most important environment variable is defined: <envar>root</envar>. The second one is <envar>rootok</envar>, which indicates, that a module claimed to be able to parse the <envar>root</envar> defined. So for example, <envar>root=</envar><replaceable>iscsi:....</replaceable> will be claimed by the <function>iscsi</function> dracut module, which then sets <envar>rootok</envar>.</para>
+-      </section>
+-      <section>
+-        <title>Hook: pre-udev</title>
+-        <para>This hook is executed right after the <function>cmdline</function> hook and a check if <envar>root</envar> and <envar>rootok</envar> were set. Here modules can take action with the final <envar>root</envar>, and before <command>udev</command> has been run.</para>
+-      </section>
+-      <section>
+-        <title>Start Udev</title>
+-        <para>Now <command>udev</command> is started and the logging for <command>udev</command> is setup.</para>
+-      </section>
+-      <section>
+-        <title>Hook: pre-trigger</title>
+-        <para>In this hook, you can set udev environment variables with <code>udevadm control --property=<envar>KEY</envar>=<replaceable>value</replaceable></code> or control the further execution of <command>udev</command> with <command>udevadm</command>.</para>
+-      </section>
+-      <section>
+-        <title>Trigger Udev</title>
+-        <para><command>udev</command> is triggered by calling <command>udevadm trigger</command>, which sends <constant>add</constant> events for all devices and subsystems.
+- </para>
+-      </section>
+-      <section>
+-        <title>Main Loop</title>
+-        <para>Now the main loop of <command>99base/init</command> begins. Here we loop until <command>udev</command> has settled and all scripts in <filename>initqueue/finished</filename> returned true. In this loop there are three hooks, where scripts can be inserted by calling <command>/sbin/initqueue</command>.
+- </para>
+-        <section>
+-          <title>Initqueue</title>
+-          <para>This hook gets executed every time a script is inserted here, regardless of the <command>udev</command> state.</para>
+-        </section>
+-        <section>
+-          <title>Initqueue settled</title>
+-          <para>This hooks gets executed every time <command>udev</command> has settled.</para>
+-        </section>
+-        <section>
+-          <title>Initqueue timeout</title>
+-          <para>This hooks gets executed, when the main loop counter becomes half of the rd.retry counter.</para>
+-        </section>
+-        <section>
+-          <title>Initqueue finished</title>
+-          <para>This hook is called after <command>udev</command> has settled and if all scripts herein return <errorcode>0</errorcode> the main loop will be ended.</para>
+-        </section>
+-      </section>
+-      <section>
+-        <title>Hook: pre-mount</title>
+-        <para>Before the root device is mounted all scripts in the hook pre-mount are executed. In some cases (e.g. <acronym>NFS</acronym>) the real root device is already mounted, though.</para>
+-      </section>
+-      <section>
+-        <title>Hook: mount</title>
+-        <para>This hook is mainly to mount the real root device.</para>
+-      </section>
+-      <section>
+-        <title>Hook: pre-pivot</title>
+-        <para>This hook is the last hook and is called before init finally switches root to the real root device. This is a good place to clean up and kill processes not needed anymore.</para>
+-      </section>
+-      <section>
+-        <title>Cleanup and switch_root</title>
+-        <para>Init kills all <command>udev</command> processes, cleans up the environment, sets up the arguments for the real <command>init</command> process and finally calls <command>switch_root</command>. <command>switch_root</command> removes the whole filesystem hierarchy of the initramfs, chroot()s to the real root device and calls <command>/sbin/init</command> with the specified arguments.</para>
+-        <para>To ensure all files in the initramfs hierarchy can be removed, all processes still running from the initramfs should not  have any open file descriptors left.</para>
+-      </section>
+-    </section>
+-    <section>
+-      <title>Network Infrastructure</title>
+-      <para>
+-      </para>
+-    </section>
+-    <section>
+-      <title>Writing a Module</title>
+-      <para>A simple example module is <filename>96insmodpost</filename>, which modprobes a kernel module after udev has settled and the basic device drivers have been loaded.</para>
+-      <para>All module installation information is in the file module-setup.sh.</para>
+-      <para>First we create a <function>check()</function> function, which just exits with <errorcode>0</errorcode> indicating that this module should be included by default.</para>
+-      <para><function>check()</function>:</para>
+-      <programlisting>return 0</programlisting>
+-      <para>The we create the <function>install()</function> function, which installs a cmdline hook with priority number 20 called <filename>parse-insmodpost.sh</filename>. It also installs the <filename>insmodpost.sh</filename> script in <filename>/sbin</filename>.</para>
+-      <para><function>install()</function>:</para>
+-      <programlisting>inst_hook cmdline 20 &quot;$moddir/parse-insmodpost.sh&quot;
+-inst_simple &quot;$moddir/insmodpost.sh&quot; /sbin/insmodpost.sh</programlisting>
+-      <para>The <filename>pase-instmodpost.sh</filename> parses the kernel command line for a argument <envar>rd.driver.post</envar>, blacklists the module from being autoloaded and installs the hook <filename>insmodpost.sh</filename> in the <filename>initqueue/settled</filename>.</para>
+-      <para><filename>parse-insmodpost.sh</filename>:</para>
+-      <programlisting>for p in $(getargs rd.driver.post=); do
+-    echo &quot;blacklist $p&quot; &gt;&gt; /etc/modprobe.d/initramfsblacklist.conf
+-    _do_insmodpost=1
+-done
+-
+-[ -n &quot;$_do_insmodpost&quot; ] &amp;&amp; /sbin/initqueue --settled --unique --onetime /sbin/insmodpost.sh
+-unset _do_insmodpost
+-</programlisting>
+-      <para><filename>insmodpost.sh</filename>, which is called in the <filename>initqueue/settled</filename> hook will just modprobe the kernel modules specified in all <envar>rd.driver.post</envar> kernel command line parameters. It runs after <command>udev</command> has settled and is only called once (<parameter>--onetime</parameter>).</para>
+-      <para><filename>insmodpost.sh</filename>:</para>
+-      <programlisting>. /lib/dracut-lib.sh
+-
+-for p in $(getargs rd.driver.post=); do
+-    modprobe $p
+-done
+-</programlisting>
+-      <section>
+-        <title>check()</title>
+-        <para><filename>
+-            <function>check()</function>
+-          </filename> is called by dracut to evaluate the inclusion of a dracut module in the initramfs.</para>
+-        <variablelist>
+-          <varlistentry>
+-            <term> $hostonly</term>
+-            <listitem>
+-              <para>If  the $hostonly variable is set, then the module check() function  should be in &quot;hostonly&quot; mode, which means, that the check() should only return 0, if the module is really needed to boot this specific host.</para>
+-            </listitem>
+-          </varlistentry>
+-        </variablelist>
+-        <para><function>check()</function> should return with:</para>
+-        <variablelist>
+-          <varlistentry>
+-            <term>0</term>
+-            <listitem>
+-              <para>Include the dracut module in the initramfs.</para>
+-            </listitem>
+-          </varlistentry>
+-          <varlistentry>
+-            <term>1</term>
+-            <listitem>
+-              <para>Do not include the dracut module. The requirements are not fullfilled (missing tools, etc.)</para>
+-            </listitem>
+-          </varlistentry>
+-          <varlistentry>
+-            <term>255</term>
+-            <listitem>
+-              <para>Only include the dracut module, if another module requires it or  if explicitly specified in the config file or on the argument list.</para>
+-            </listitem>
+-          </varlistentry>
+-        </variablelist>
+-      </section>
+-      <section>
+-        <title>depends()</title>
+-        <para>The function <function>depends()</function> should <function>echo</function> all other dracut module names the module depends on.</para>
+-      </section>
+-      <section>
+-        <title>install()</title>
+-        <para>dracut_install</para>
+-        <para>inst</para>
+-        <para>inst_hook</para>
+-        <para>inst_rules</para>
+-        <para/>
+-      </section>
+-      <section>
+-        <title>installkernel()</title>
+-        <para>instmods</para>
+-      </section>
+-      <section>
+-        <title>Creation Functions</title>
+-        <para>
+- </para>
+-      </section>
+-      <section>
+-        <title>Initramfs Functions</title>
+-        <para>
+- </para>
+-      </section>
+-      <section>
+-        <title>Network Modules</title>
+-        <para>
+- </para>
+-      </section>
+-    </section>
+-  </chapter>
+-  <appendix>
+-    <title>Man Pages</title>
+-    <section id="dracut.man">
+-      <title>dracut</title>
+-      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dracut.8.xml" encoding="UTF-8" parse="xml"/>
+-    </section>
+-    <section id="dracut.conf">
+-      <title>dracut.conf</title>
+-      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dracut.conf.5.xml" encoding="UTF-8" parse="xml"/>
+-    </section>
+-    <section id="dracut.cmdline">
+-      <title>dracut.cmdline</title>
+-      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dracut.cmdline.7.xml" encoding="UTF-8" parse="xml"/>
+-    </section>
+-  </appendix>
+-</book>
diff --git a/0047-precompile-doc.patch b/0047-precompile-doc.patch
new file mode 100644
index 0000000..740a886
--- /dev/null
+++ b/0047-precompile-doc.patch
@@ -0,0 +1,98 @@
+From 4ce3a1b1bbd08c3d5031632b88036335d2d2dfee Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 15:19:39 +0100
+Subject: [PATCH] precompile doc
+
+---
+ Makefile    |   27 +++++++++++++++++----------
+ dracut.spec |    6 ++++--
+ 2 files changed, 21 insertions(+), 12 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index bd27d06..f0af487 100644
+--- a/Makefile
++++ b/Makefile
+@@ -13,9 +13,10 @@ manpages = dracut.8 dracut.cmdline.7 dracut.conf.5 dracut-catimages.8
+ 
+ .PHONY: install clean archive rpm testimage test all check AUTHORS doc
+ 
+-doc: $(manpages) dracut.html
+ all: syncheck
+ 
++doc: $(manpages) dracut.html
++
+ %: %.xml
+ 	xsltproc -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+ 
+@@ -26,7 +27,8 @@ dracut.html: dracut.asc $(manpages)
+ 	asciidoc -a numbered -d book -b docbook -o dracut.xml dracut.asc
+ 	xsltproc -o dracut.html --xinclude -nonet \
+ 		--stringparam draft.mode yes \
+-		--stringparam html.stylesheet http://docs.redhat.com/docs/en-US/Common_Content/css/default.css \
++		--stringparam html.stylesheet \
++		http://docs.redhat.com/docs/en-US/Common_Content/css/default.css \
+ 		http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl dracut.xml
+ 	rm dracut.xml
+ 
+@@ -57,8 +59,10 @@ install: doc
+ 		install -m 0644 dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir); \
+ 		mkdir -p $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants; \
+ 		mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \
+-		ln -s ../dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants/dracut-shutdown.service; \
+-		ln -s ../dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \
++		ln -s ../dracut-shutdown.service \
++		$(DESTDIR)$(systemdsystemunitdir)/reboot.target.wants/dracut-shutdown.service; \
++		ln -s ../dracut-shutdown.service \
++		$(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \
+ 	fi
+ 
+ clean:
+@@ -72,13 +76,16 @@ clean:
+ 
+ archive: dracut-$(VERSION)-$(GITVERSION).tar.bz2
+ 
+-dist: dracut-$(VERSION).tar.gz
+-
+-dracut-$(VERSION).tar.bz2:
+-	git archive --format=tar $(VERSION) --prefix=dracut-$(VERSION)/ |bzip2 > dracut-$(VERSION).tar.bz2
++dist: dracut-$(VERSION).tar.bz2
+ 
+-dracut-$(VERSION).tar.gz:
+-	git archive --format=tar $(VERSION) --prefix=dracut-$(VERSION)/ |gzip > dracut-$(VERSION).tar.gz
++dracut-$(VERSION).tar.bz2: doc
++	git archive --format=tar $(VERSION) --prefix=dracut-$(VERSION)/ > dracut-$(VERSION).tar
++	mkdir -p dracut-$(VERSION)
++	cp $(manpages) dracut.html dracut-$(VERSION)
++	tar -rf dracut-$(VERSION).tar dracut-$(VERSION)/*.[0-9] dracut-$(VERSION)/dracut.html
++	rm -fr dracut-$(VERSION).tar.bz2 dracut-$(VERSION)
++	bzip2 -9 dracut-$(VERSION).tar
++	rm -f dracut-$(VERSION).tar
+ 
+ rpm: dracut-$(VERSION).tar.bz2
+ 	rpmbuild=$$(mktemp -d -t rpmbuild-dracut.XXXXXX); src=$$(pwd); \
+diff --git a/dracut.spec b/dracut.spec
+index 7a058ae..be7ba8a 100644
+--- a/dracut.spec
++++ b/dracut.spec
+@@ -40,9 +40,11 @@ BuildRequires: docbook-style-xsl docbook-dtds libxslt
+ %endif
+ 
+ %if 0%{?suse_version}
+-BuildRequires: docbook-xsl-stylesheets libxslt
++-BuildRequires: docbook-xsl-stylesheets libxslt
+ %endif
+ 
++BuildRequires: asciidoc
++
+ %if 0%{?fedora} > 12 || 0%{?rhel}
+ # no "provides", because dracut does not offer
+ # all functionality of the obsoleted packages
+@@ -161,7 +163,7 @@ git am -p1 %{patches}
+ %endif
+ 
+ %build
+-make
++make all
+ 
+ %install
+ %if 0%{?fedora} || 0%{?rhel}
diff --git a/0048-TEST-10-RAID-wait-for-udev-settle-before-deconstruct.patch b/0048-TEST-10-RAID-wait-for-udev-settle-before-deconstruct.patch
new file mode 100644
index 0000000..8b89b46
--- /dev/null
+++ b/0048-TEST-10-RAID-wait-for-udev-settle-before-deconstruct.patch
@@ -0,0 +1,48 @@
+From f94ceb13b8e6eb825b29f453a68657c508481942 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 15:52:35 +0100
+Subject: [PATCH] TEST-10-RAID: wait for udev settle before deconstructing
+
+---
+ test/TEST-10-RAID/create-root.sh |   25 ++++++++++++++-----------
+ 1 file changed, 14 insertions(+), 11 deletions(-)
+
+diff --git a/test/TEST-10-RAID/create-root.sh b/test/TEST-10-RAID/create-root.sh
+index 099d619..3dd86cb 100755
+--- a/test/TEST-10-RAID/create-root.sh
++++ b/test/TEST-10-RAID/create-root.sh
+@@ -16,20 +16,23 @@ mdadm --create /dev/md0 --run --auto=yes --level=5 --raid-devices=3 /dev/sda2 /d
+ # wait for the array to finish initailizing, otherwise this sometimes fails
+ # randomly.
+ mdadm -W /dev/md0
++set -e
+ echo -n test >keyfile
+ cryptsetup -q luksFormat /dev/md0 /keyfile
+ echo "The passphrase is test"
+-cryptsetup luksOpen /dev/md0 dracut_crypt_test </keyfile && \
+-lvm pvcreate -ff  -y /dev/mapper/dracut_crypt_test && \
+-lvm vgcreate dracut /dev/mapper/dracut_crypt_test && \
++cryptsetup luksOpen /dev/md0 dracut_crypt_test </keyfile
++lvm pvcreate -ff  -y /dev/mapper/dracut_crypt_test
++lvm vgcreate dracut /dev/mapper/dracut_crypt_test
+ lvm lvcreate -l 100%FREE -n root dracut && \
+-lvm vgchange -ay && \
+-mke2fs /dev/dracut/root && \
+-mkdir -p /sysroot && \
+-mount /dev/dracut/root /sysroot && \
+-cp -a -t /sysroot /source/* && \
+-umount /sysroot && \
+-lvm lvchange -a n /dev/dracut/root && \
+-cryptsetup luksClose /dev/mapper/dracut_crypt_test && \
++lvm vgchange -ay
++mke2fs /dev/dracut/root
++mkdir -p /sysroot
++mount /dev/dracut/root /sysroot
++cp -a -t /sysroot /source/*
++umount /sysroot
++lvm lvchange -a n /dev/dracut/root
++udevadm settle
++cryptsetup luksClose /dev/mapper/dracut_crypt_test
++udevadm settle
+ echo "dracut-root-block-created" >/dev/sda1
+ poweroff -f
diff --git a/0049-NEWS-update.patch b/0049-NEWS-update.patch
new file mode 100644
index 0000000..e579e8a
--- /dev/null
+++ b/0049-NEWS-update.patch
@@ -0,0 +1,32 @@
+From 08842612835a2ccf4051afc43213af9243dc6ecf Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 16:00:42 +0100
+Subject: [PATCH] NEWS: update
+
+---
+ NEWS |   15 +++++++++++++++
+ 1 file changed, 15 insertions(+)
+
+diff --git a/NEWS b/NEWS
+index bed32ca..017fc9d 100644
+--- a/NEWS
++++ b/NEWS
+@@ -1,3 +1,18 @@
++dracut-018
++==========
++- converted manpage and documentation source to asciidoc
++- write-ifcfg fixes and cleanups
++- ifup is now done in the initqueue
++- netroot cleanup
++- initqueue/online is now for hooks, which require network
++- no more /tmp/root.info
++- 98pollcdrom: factored out the ugly cdrom polling in the main loop
++- simplified rd.luks.uuid testing
++- removed "egrep" and "ls" calls
++- speedup kernel module installation
++- make bzip2 optional
++- lots of bugfixes
++
+ dracut-017
+ ==========
+ - a _lot_ faster than dracut-016 in image creation
diff --git a/0050-remove-ctty.patch b/0050-remove-ctty.patch
new file mode 100644
index 0000000..e1e5895
--- /dev/null
+++ b/0050-remove-ctty.patch
@@ -0,0 +1,84 @@
+From 02aa795514b4f6febcedd1d0f3079c6eacdfd3f2 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 16:13:48 +0100
+Subject: [PATCH] remove --ctty
+
+---
+ dracut.8.asc                     |    3 ---
+ dracut.cmdline.7.asc             |    6 ------
+ dracut.sh                        |    4 +---
+ modules.d/99base/module-setup.sh |    1 -
+ 4 files changed, 1 insertion(+), 13 deletions(-)
+
+diff --git a/dracut.8.asc b/dracut.8.asc
+index 6ca7347..891246d 100644
+--- a/dracut.8.asc
++++ b/dracut.8.asc
+@@ -193,9 +193,6 @@ example:
+ **--noprefix**::
+     do not prefix initramfs files (default)
+ 
+-**--ctty**::
+-    if possible, try to spawn an emergency shell on a terminal with job control
+-
+ **-h, --help**::
+     display help text and exit.
+ 
+diff --git a/dracut.cmdline.7.asc b/dracut.cmdline.7.asc
+index 8924b89..738d464 100644
+--- a/dracut.cmdline.7.asc
++++ b/dracut.cmdline.7.asc
+@@ -78,12 +78,6 @@ Misc
+     force loading kernel module <drivername> after all automatic loading modules
+     have been loaded. This parameter can be specified multiple times.
+ 
+-**rd.ctty=**_<terminal>_::
+-    if the dracut image was generated with --ctty option, try to spawn an
+-    emergency shell on the specified terminal; if rd.ctty is specified without a
+-    value or not provided at all, the default is /dev/tty1. The '/dev' prefix
+-    can be omitted.
+-
+ [[dracutkerneldebug]]
+ Debug
+ ~~~~~
+diff --git a/dracut.sh b/dracut.sh
+index 417008c..1bf8ad9 100755
+--- a/dracut.sh
++++ b/dracut.sh
+@@ -121,7 +121,6 @@ Creates initial ramdisk images for preloading modules
+                          build.
+   --keep                Keep the temporary initramfs for debugging purposes
+   --sshkey [SSHKEY]     Add ssh key to initramfs (use with ssh-client module)
+-  --ctty                Add control tty for emergency shells
+ 
+ If [LIST] has multiple arguments, then you have to put these in quotes.
+ For example:
+@@ -241,7 +240,6 @@ while (($# > 0)); do
+         --nolvmconf)   lvmconf_l="no";;
+         --debug)       debug="yes";;
+         --profile)     profile="yes";;
+-        --ctty)        cttyhack="yes";;
+         --sshkey)      read_arg sshkey   "$@" || shift;;
+         -v|--verbose)  ((verbosity_mod_l++));;
+         -q|--quiet)    ((verbosity_mod_l--));;
+@@ -625,7 +623,7 @@ done
+ export initdir dracutbasedir dracutmodules drivers \
+     fw_dir drivers_dir debug no_kernel kernel_only \
+     add_drivers omit_drivers mdadmconf lvmconf filesystems \
+-    use_fstab fstab_lines libdir usrlibdir fscks nofscks cttyhack \
++    use_fstab fstab_lines libdir usrlibdir fscks nofscks \
+     stdloglvl sysloglvl fileloglvl kmsgloglvl logfile \
+     debug host_fs_types host_devs sshkey
+ 
+diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh
+index 5a97770..98742f5 100755
+--- a/modules.d/99base/module-setup.sh
++++ b/modules.d/99base/module-setup.sh
+@@ -16,7 +16,6 @@ install() {
+     dracut_install mount mknod mkdir modprobe pidof sleep chroot \
+         sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink
+     dracut_install -o less
+-    [[ $cttyhack = yes ]] && dracut_install -o setsid
+     if [ ! -e "${initdir}/bin/sh" ]; then
+         dracut_install bash
+         (ln -s bash "${initdir}/bin/sh" || :)
diff --git a/0051-remove-openvt-and-use-setsid-c-if-possible.patch b/0051-remove-openvt-and-use-setsid-c-if-possible.patch
new file mode 100644
index 0000000..061f38c
--- /dev/null
+++ b/0051-remove-openvt-and-use-setsid-c-if-possible.patch
@@ -0,0 +1,101 @@
+From c3d81de59b3828c35bbab6973f2ab0777777cf51 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 16:19:53 +0100
+Subject: [PATCH] remove openvt and use "setsid -c", if possible
+
+---
+ dracut.conf.d/fedora.conf.example |    2 +-
+ modules.d/99base/dracut-lib.sh    |   21 ++++++++++++---------
+ modules.d/99base/module-setup.sh  |    2 +-
+ modules.d/99shutdown/shutdown.sh  |   21 ++++++++++++---------
+ 4 files changed, 26 insertions(+), 20 deletions(-)
+
+diff --git a/dracut.conf.d/fedora.conf.example b/dracut.conf.d/fedora.conf.example
+index efec77e..02a530e 100644
+--- a/dracut.conf.d/fedora.conf.example
++++ b/dracut.conf.d/fedora.conf.example
+@@ -7,4 +7,4 @@ omit_dracutmodules+=" dash "
+ omit_drivers+=" .*/fs/ocfs/.* "
+ stdloglvl=3
+ realinitpath="/usr/lib/systemd/systemd"
+-install_items+=" vi /etc/virc ps grep cat rm openvt "
++install_items+=" vi /etc/virc ps grep cat rm "
+diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
+index 80e093b..a6c4e24 100755
+--- a/modules.d/99base/dracut-lib.sh
++++ b/modules.d/99base/dracut-lib.sh
+@@ -803,16 +803,19 @@ emergency_shell()
+         echo
+         export PS1="$_rdshell_name:\${PWD}# "
+         [ -e /.profile ] || >/.profile
+-        _ctty=/dev/console
+-        if [ -n "$(command -v setsid)" ]; then
+-            _ctty="$(getarg rd.ctty=)" && _ctty="/dev/${_ctty##*/}"
+-            [ -c "$_ctty" ] || _ctty=/dev/tty1
+-            setsid sh -i -l 0<$_ctty 1>$_ctty 2>&1
+-        elif [ -n "$(command -v openvt)" ] && ! getarg "console=" >/dev/null 2>&1 && getargbool 1 "rd.openvt" ; then
+-            openvt -f -c 1 -w -s -l -- sh
+-        else
+-            sh -i -l 0<$_ctty 1>$_ctty 2>&1
++
++        _ctty="$(getarg rd.ctty=)" && _ctty="/dev/${_ctty##*/}"
++        if [ -z "$_ctty" ]; then
++            _ctty=console
++            while [ -f /sys/class/tty/$_ctty/active ]; do
++                _ctty=$(cat /sys/class/tty/$_ctty/active)
++                _ctty=${_ctty##* } # last one in the list
++            done
++            _ctty=/dev/$_ctty
+         fi
++        [ -c "$_ctty" ] || _ctty=/dev/tty1
++        strstr "$(setsid --help)" "control" && CTTY="-c"
++        setsid $CTTY /bin/sh -i -l 0<$_ctty 1>$_ctty 2>&1
+     else
+         warn "Boot has failed. To debug this issue add \"rdshell\" to the kernel command line."
+         # cause a kernel panic
+diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh
+index 98742f5..581ba93 100755
+--- a/modules.d/99base/module-setup.sh
++++ b/modules.d/99base/module-setup.sh
+@@ -14,7 +14,7 @@ depends() {
+ install() {
+     local _d
+     dracut_install mount mknod mkdir modprobe pidof sleep chroot \
+-        sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink
++        sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink setsid
+     dracut_install -o less
+     if [ ! -e "${initdir}/bin/sh" ]; then
+         dracut_install bash
+diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh
+index 2576687..c8ca664 100755
+--- a/modules.d/99shutdown/shutdown.sh
++++ b/modules.d/99shutdown/shutdown.sh
+@@ -30,16 +30,19 @@ emergency_shell()
+         echo
+         export PS1="$_rdshell_name:\${PWD}# "
+         [ -e /.profile ] || >/.profile
+-        _ctty=/dev/console
+-        if [ -n "$(command -v setsid)" ]; then
+-            _ctty="$(getarg rd.ctty=)" && _ctty="/dev/${_ctty##*/}"
+-            [ -c "$_ctty" ] || _ctty=/dev/tty1
+-            setsid sh -i -l 0<$_ctty 1>$_ctty 2>&1
+-        elif [ -n "$(command -v openvt)" ] && ! getarg "console=" >/dev/null 2>&1 && getargbool 1 "rd.openvt" ; then
+-            openvt -f -c 1 -w -s -l -- sh
+-        else
+-            sh -i -l 0<$_ctty 1>$_ctty 2>&1
++
++        _ctty="$(getarg rd.ctty=)" && _ctty="/dev/${_ctty##*/}"
++        if [ -z "$_ctty" ]; then
++            _ctty=console
++            while [ -f /sys/class/tty/$_ctty/active ]; do
++                _ctty=$(cat /sys/class/tty/$_ctty/active)
++                _ctty=${_ctty##* } # last one in the list
++            done
++            _ctty=/dev/$_ctty
+         fi
++        [ -c "$_ctty" ] || _ctty=/dev/tty1
++        strstr "$(setsid --help)" "control" && CTTY="-c"
++        setsid $CTTY /bin/sh -i -l 0<$_ctty 1>$_ctty 2>&1
+     else
+         exec /lib/systemd/systemd-shutdown "$@"
+         warn "Shutdown has failed. To debug this issue add \"rdshell\" to the kernel command line."
diff --git a/0052-TEST-01-BASIC-add-setsid.patch b/0052-TEST-01-BASIC-add-setsid.patch
new file mode 100644
index 0000000..f85d3ed
--- /dev/null
+++ b/0052-TEST-01-BASIC-add-setsid.patch
@@ -0,0 +1,39 @@
+From d8eb522e8062751f53def079ac1bab8f1c05a401 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 14 Mar 2012 16:32:19 +0100
+Subject: [PATCH] TEST-01-BASIC: add setsid
+
+---
+ test/TEST-01-BASIC/test-init.sh |    5 ++++-
+ test/TEST-01-BASIC/test.sh      |    2 +-
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/test/TEST-01-BASIC/test-init.sh b/test/TEST-01-BASIC/test-init.sh
+index fd03aa5..f8d6693 100755
+--- a/test/TEST-01-BASIC/test-init.sh
++++ b/test/TEST-01-BASIC/test-init.sh
+@@ -11,7 +11,10 @@ export PS1='initramfs-test:\w\$ '
+ [ -f /etc/fstab ] || ln -sfn /proc/mounts /etc/fstab
+ stty sane
+ echo "made it to the rootfs!"
+-strstr "$CMDLINE" "rd.shell" && sh -i
++if strstr "$CMDLINE" "rd.shell"; then
++	strstr "$(setsid --help)" "control" && CTTY="-c"
++	setsid $CTTY sh -i
++fi
+ echo "Powering down."
+ mount -n -o remount,ro /
+ poweroff -f
+diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
+index ca7a1fe..6187144 100755
+--- a/test/TEST-01-BASIC/test.sh
++++ b/test/TEST-01-BASIC/test.sh
+@@ -29,7 +29,7 @@ test_setup() {
+ 	. $basedir/dracut-functions.sh
+ 	dracut_install sh df free ls shutdown poweroff stty cat ps ln ip route \
+ 	    mount dmesg ifconfig dhclient mkdir cp ping dhclient \
+-	    umount strace less
++	    umount strace less setsid
+ 	for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do
+             [ -f ${_terminfodir}/l/linux ] && break
+ 	done
diff --git a/0053-fix-execvp-No-such-file-or-directory-in-emergency_sh.patch b/0053-fix-execvp-No-such-file-or-directory-in-emergency_sh.patch
new file mode 100644
index 0000000..540ca19
--- /dev/null
+++ b/0053-fix-execvp-No-such-file-or-directory-in-emergency_sh.patch
@@ -0,0 +1,24 @@
+From 8cd592dfcb6a5c41ae0dae0b4ec7571fdfa36f92 Mon Sep 17 00:00:00 2001
+From: Will Woods <wwoods at redhat.com>
+Date: Wed, 14 Mar 2012 17:09:40 -0400
+Subject: [PATCH] fix "execvp: No such file or directory" in emergency_shell
+
+Older versions of setsid emit this message on stderr if you try to run
+"setsid --help". Redirect it to /dev/null.
+---
+ modules.d/99base/dracut-lib.sh |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
+index a6c4e24..f0d426c 100755
+--- a/modules.d/99base/dracut-lib.sh
++++ b/modules.d/99base/dracut-lib.sh
+@@ -814,7 +814,7 @@ emergency_shell()
+             _ctty=/dev/$_ctty
+         fi
+         [ -c "$_ctty" ] || _ctty=/dev/tty1
+-        strstr "$(setsid --help)" "control" && CTTY="-c"
++        strstr "$(setsid --help 2>/dev/null)" "control" && CTTY="-c"
+         setsid $CTTY /bin/sh -i -l 0<$_ctty 1>$_ctty 2>&1
+     else
+         warn "Boot has failed. To debug this issue add \"rdshell\" to the kernel command line."
diff --git a/0054-Make-sure-set-x-gets-turned-back-on-in-wait_for_logi.patch b/0054-Make-sure-set-x-gets-turned-back-on-in-wait_for_logi.patch
new file mode 100644
index 0000000..61aab62
--- /dev/null
+++ b/0054-Make-sure-set-x-gets-turned-back-on-in-wait_for_logi.patch
@@ -0,0 +1,37 @@
+From 478314a90e4c8db40c483d7ad5f9337fc561d3ad Mon Sep 17 00:00:00 2001
+From: Will Woods <wwoods at redhat.com>
+Date: Wed, 14 Mar 2012 17:09:49 -0400
+Subject: [PATCH] Make sure 'set -x' gets turned back on in wait_for_loginit
+
+wait_for_loginit does set +x (to turn off debugging temporarily), but
+sometimes it would return before turning it back on. Move the set +x
+line to fix that, then use 'setdebug' to make sure we don't turn it back
+on unless it was needed.
+---
+ modules.d/99base/dracut-lib.sh |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
+index f0d426c..6f506b6 100755
+--- a/modules.d/99base/dracut-lib.sh
++++ b/modules.d/99base/dracut-lib.sh
+@@ -756,9 +756,9 @@ need_shutdown() {
+ 
+ wait_for_loginit()
+ {
+-    set +x
+     [ "$RD_DEBUG" = "yes" ] || return
+     [ -e /run/initramfs/loginit.pipe ] || return
++    set +x
+     echo "DRACUT_LOG_END"
+     exec 0<>/dev/console 1<>/dev/console 2<>/dev/console
+         # wait for loginit
+@@ -778,7 +778,7 @@ wait_for_loginit()
+         kill $(while read line;do echo $line;done</run/initramfs/loginit.pid)
+     fi
+ 
+-    set -x
++    setdebug
+     rm -f /run/initramfs/loginit.pipe /run/initramfs/loginit.pid
+ }
+ 
diff --git a/0055-Do-not-mount-bind-run-anymore.patch b/0055-Do-not-mount-bind-run-anymore.patch
new file mode 100644
index 0000000..1c6b2a2
--- /dev/null
+++ b/0055-Do-not-mount-bind-run-anymore.patch
@@ -0,0 +1,66 @@
+From abbb76fe930763ca48878f3c8098633b10e6f579 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Tue, 20 Mar 2012 13:30:42 +0100
+Subject: [PATCH] Do not mount --bind /run anymore
+
+switch_root in util-linux 2.21 does mount --move /run also
+---
+ dracut.spec              |    6 +++---
+ modules.d/99base/init.sh |   16 +++-------------
+ 2 files changed, 6 insertions(+), 16 deletions(-)
+
+diff --git a/dracut.spec b/dracut.spec
+index be7ba8a..d197173 100644
+--- a/dracut.spec
++++ b/dracut.spec
+@@ -76,11 +76,11 @@ Requires: hardlink
+ Requires: gzip
+ Requires: module-init-tools >= 3.7-9
+ Requires: sed
+-Requires: udev
++Requires: udev > 166
+ %if 0%{?fedora} || 0%{?rhel} > 6
+-Requires: util-linux >= 2.20
++Requires: util-linux >= 2.21
+ %else
+-Requires: util-linux-ng >= 2.17.2
++Requires: util-linux-ng >= 2.21
+ %endif
+ 
+ %if 0%{?fedora} || 0%{?rhel} > 6
+diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh
+index 5d51c9d..fa712a7 100755
+--- a/modules.d/99base/init.sh
++++ b/modules.d/99base/init.sh
+@@ -68,7 +68,7 @@ fi
+ if ! ismounted /run; then
+     mkdir -m 0755 /newrun
+     mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /newrun >/dev/null 
+-    cp -a /run/* /newrun
++    mv /run/* /newrun >/dev/null 2>&1
+     mount --move /newrun /run
+     rm -fr /newrun
+ fi
+@@ -312,20 +312,10 @@ else
+ fi
+ [ "$RD_DEBUG" = "yes" ] && set -x
+ 
+-if [ -d "$NEWROOT"/run ]; then
+-    NEWRUN="${NEWROOT}/run"
+-    mount --bind /run "$NEWRUN"
+-    NEWINITRAMFSROOT="$NEWRUN/initramfs"
+-
+-    if [ "$NEWINITRAMFSROOT/lib" -ef "/lib" ]; then
+-        for d in bin etc lib lib64 sbin tmp usr var; do
+-            [ -h /$d ] && ln -fsn $NEWINITRAMFSROOT/$d /$d
+-        done
+-    fi
+-else
++if ! [ -d "$NEWROOT"/run ]; then
+     NEWRUN=/dev/.initramfs
+     mkdir -m 0755 "$NEWRUN"
+-    mount --bind /run/initramfs "$NEWRUN"
++    mount --rbind /run/initramfs "$NEWRUN"
+ fi
+ 
+ wait_for_loginit
diff --git a/0056-98selinux-selinux-loadpolicy.sh-use-mount-rbind-for-.patch b/0056-98selinux-selinux-loadpolicy.sh-use-mount-rbind-for-.patch
new file mode 100644
index 0000000..d7ec819
--- /dev/null
+++ b/0056-98selinux-selinux-loadpolicy.sh-use-mount-rbind-for-.patch
@@ -0,0 +1,23 @@
+From 5055abb615a0b4f7519d24a6a37d8af5b5bea6d5 Mon Sep 17 00:00:00 2001
+From: Will Woods <wwoods at redhat.com>
+Date: Tue, 20 Mar 2012 13:31:36 +0100
+Subject: [PATCH] 98selinux/selinux-loadpolicy.sh: use mount --rbind for /dev
+
+This preserves /dev/shm and /dev/pts for the selinux relabel.
+---
+ modules.d/98selinux/selinux-loadpolicy.sh |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules.d/98selinux/selinux-loadpolicy.sh b/modules.d/98selinux/selinux-loadpolicy.sh
+index 6eb1dbb..d6e24d6 100755
+--- a/modules.d/98selinux/selinux-loadpolicy.sh
++++ b/modules.d/98selinux/selinux-loadpolicy.sh
+@@ -43,7 +43,7 @@ rd_load_policy()
+         if [ $ret -eq 0 -o $ret -eq 2 ]; then
+             # If machine requires a relabel, force to permissive mode
+             [ -e "$NEWROOT"/.autorelabel ] && LANG=C /usr/sbin/setenforce 0
+-            mount --bind /dev "$NEWROOT/dev"
++            mount --rbind /dev "$NEWROOT/dev"
+             LANG=C chroot "$NEWROOT" /sbin/restorecon -R /dev
+             return 0
+         fi
diff --git a/0057-Avoid-use-of-export-n.patch b/0057-Avoid-use-of-export-n.patch
new file mode 100644
index 0000000..ee9a24a
--- /dev/null
+++ b/0057-Avoid-use-of-export-n.patch
@@ -0,0 +1,36 @@
+From 4e25cf6edf94755219a822ebc0e108e13377cc27 Mon Sep 17 00:00:00 2001
+From: Daniel Drake <dsd at laptop.org>
+Date: Fri, 16 Mar 2012 21:11:24 +0000
+Subject: [PATCH] Avoid use of "export -n"
+
+"export -n" is a bash extension, not part of POSIX, and is hence
+incompatible with the busybox shell.
+
+This was breaking boot when the busybox module was used.
+
+Reimplement the scope change in a few lines of standard shell code.
+---
+ modules.d/99base/init.sh |    9 ++++++++-
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh
+index fa712a7..84c13e0 100755
+--- a/modules.d/99base/init.sh
++++ b/modules.d/99base/init.sh
+@@ -263,8 +263,15 @@ else
+     udevadm info --cleanup-db
+ fi
+ 
++# Retain the values of these variables but ensure that they are unexported
++# This is a POSIX-compliant equivalent of bash's "export -n"
++for var in root rflags fstype netroot NEWROOT; do
++    eval tmp=\$$var
++    unset $var
++    [ -n "$tmp" ] && eval $var=\"$tmp\"
++done
++
+ export RD_TIMESTAMP
+-export -n root rflags fstype netroot NEWROOT
+ set +x # Turn off debugging for this section
+ # Clean up the environment
+ for i in $(export -p); do
diff --git a/0058-provide-name-based-nbd-connects.patch b/0058-provide-name-based-nbd-connects.patch
new file mode 100644
index 0000000..02cc211
--- /dev/null
+++ b/0058-provide-name-based-nbd-connects.patch
@@ -0,0 +1,27 @@
+From b7b062ba795521433ecd82fa4f214084d17f1ffa Mon Sep 17 00:00:00 2001
+From: Wim Muskee <wimmuskee at gmail.com>
+Date: Sat, 17 Mar 2012 12:33:55 +0100
+Subject: [PATCH] provide name based nbd connects
+
+Because nbd-server also provides name-based exports instead of
+port-based ones, make it possible to connect to those.
+---
+ modules.d/95nbd/nbdroot.sh |    5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/modules.d/95nbd/nbdroot.sh b/modules.d/95nbd/nbdroot.sh
+index e20b4e4..0e7dd9b 100755
+--- a/modules.d/95nbd/nbdroot.sh
++++ b/modules.d/95nbd/nbdroot.sh
+@@ -30,6 +30,11 @@ nbdfstype=${root%%:*}; root=${root#*:}
+ nbdflags=${root%%:*}
+ nbdopts=${root#*:}
+ 
++# If nbdport not an integer, then assume name based import
++if [[ $nbdport != [0-9]* ]]; then
++    nbdport="-N $nbdport"
++fi
++
+ if [ "$nbdopts" = "$nbdflags" ]; then
+     unset nbdopts
+ fi
diff --git a/dracut.spec b/dracut.spec
index 2155906..2b35479 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -10,7 +10,7 @@
 
 Name: dracut
 Version: 017
-Release: 43.git20120312%{?dist}
+Release: 59.git20120321%{?dist}
 
 Summary: Initramfs generator using udev
 %if 0%{?fedora} || 0%{?rhel}
@@ -66,6 +66,22 @@ Patch39: 0039-install-ctcm-network-module-on-s390.patch
 Patch40: 0040-img-lib-fix-unpack_img.patch
 Patch41: 0041-url-lib-clean-up-output.patch
 Patch42: 0042-Add-live.updates-to-livenet-module.patch
+Patch43: 0043-README-added-github-and-sourceforge-git-links.patch
+Patch44: 0044-AUTHORS-update.patch
+Patch45: 0045-remove-dracut-gencmdline.patch
+Patch46: 0046-replace-xml-documentation-with-asciidoc.patch
+Patch47: 0047-precompile-doc.patch
+Patch48: 0048-TEST-10-RAID-wait-for-udev-settle-before-deconstruct.patch
+Patch49: 0049-NEWS-update.patch
+Patch50: 0050-remove-ctty.patch
+Patch51: 0051-remove-openvt-and-use-setsid-c-if-possible.patch
+Patch52: 0052-TEST-01-BASIC-add-setsid.patch
+Patch53: 0053-fix-execvp-No-such-file-or-directory-in-emergency_sh.patch
+Patch54: 0054-Make-sure-set-x-gets-turned-back-on-in-wait_for_logi.patch
+Patch55: 0055-Do-not-mount-bind-run-anymore.patch
+Patch56: 0056-98selinux-selinux-loadpolicy.sh-use-mount-rbind-for-.patch
+Patch57: 0057-Avoid-use-of-export-n.patch
+Patch58: 0058-provide-name-based-nbd-connects.patch
 
 
 BuildArch: noarch
@@ -83,9 +99,11 @@ BuildRequires: docbook-style-xsl docbook-dtds libxslt
 %endif
 
 %if 0%{?suse_version}
-BuildRequires: docbook-xsl-stylesheets libxslt
+-BuildRequires: docbook-xsl-stylesheets libxslt
 %endif
 
+BuildRequires: asciidoc
+
 %if 0%{?fedora} > 12 || 0%{?rhel}
 # no "provides", because dracut does not offer
 # all functionality of the obsoleted packages
@@ -117,11 +135,11 @@ Requires: hardlink
 Requires: gzip
 Requires: module-init-tools >= 3.7-9
 Requires: sed
-Requires: udev
+Requires: udev > 166
 %if 0%{?fedora} || 0%{?rhel} > 6
-Requires: util-linux >= 2.20
+Requires: util-linux >= 2.21
 %else
-Requires: util-linux-ng >= 2.17.2
+Requires: util-linux-ng >= 2.21
 %endif
 
 %if 0%{?fedora} || 0%{?rhel} > 6
@@ -204,7 +222,7 @@ git am -p1 %{patches}
 %endif
 
 %build
-make
+make all
 
 %install
 %if 0%{?fedora} || 0%{?rhel}
@@ -361,15 +379,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files tools
 %defattr(-,root,root,0755)
-%{_mandir}/man8/dracut-gencmdline.8*
 %{_mandir}/man8/dracut-catimages.8*
-%{_bindir}/dracut-gencmdline
 %{_bindir}/dracut-catimages
 %dir /boot/dracut
 %dir /var/lib/dracut
 %dir /var/lib/dracut/overlay
 
 %changelog
+* Wed Mar 21 2012 Harald Hoyer <harald at redhat.com> 017-59.git20120321
+- new upstream version, which fixes various anaconda loader issues
+
 * Mon Mar 12 2012 Harald Hoyer <harald at redhat.com> 017-43.git20120312
 - live image: fixed image uncompression
 - live updates for livenet


More information about the scm-commits mailing list