From ccaa9bee2e813daa3460698d5aa444423d92483f Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 23 Jan 2012 11:26:17 +0100 Subject: [PATCH] dracut, dracut.8.xml: added more documentation about "[LIST]" added examples on how to use [LIST] on the shell command line. https://bugzilla.redhat.com/show_bug.cgi?id=767736 --- dracut | 4 +++ dracut.8.xml | 69 +++++++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 60 insertions(+), 13 deletions(-) diff --git a/dracut b/dracut index 9c833a8..f2e5feb 100755 --- a/dracut +++ b/dracut @@ -120,6 +120,10 @@ Creates initial ramdisk images for preloading modules --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: +# dracut --add-drivers "module1 module2" ... EOF } diff --git a/dracut.8.xml b/dracut.8.xml index 5a5df54..88c97c3 100644 --- a/dracut.8.xml +++ b/dracut.8.xml @@ -20,21 +20,25 @@ Developer + Philippe + Seewer + philippe.seewer@bfh.ch + + + Developer Warren Togami - wtogami@redhat.com Developer - Jeremy - Katz - katzj@redhat.com + Amadeusz + Żołnowski + aidecoe@aidecoe.name Developer - Philippe - Seewer - philippe.seewer@bfh.ch + Jeremy + Katz Developer @@ -42,12 +46,6 @@ Dillow dave@thedillows.org - - Developer - Amadeusz - Żołnowski - aidecoe@aidecoe.name - @@ -113,6 +111,11 @@ For a complete list of kernel command line options see when building the initramfs. Modules are located in /usr/lib/dracut/modules.d. This parameter can be specified multiple times. + + If [LIST] has multiple arguments, then you have to put these in quotes. + For example: + # dracut --modules "module1 module2" ... + @@ -124,6 +127,11 @@ Modules are located in omit a space-separated list of dracut modules. This parameter can be specified multiple times. + + If [LIST] has multiple arguments, then you have to put these in quotes. + For example: + # dracut --omit "module1 module2" ... + @@ -135,6 +143,11 @@ Modules are located in add a space-separated list of dracut modules to the default set of modules. This parameter can be specified multiple times. + + If [LIST] has multiple arguments, then you have to put these in quotes. + For example: + # dracut --add "module1 module2" ... + @@ -143,6 +156,11 @@ Modules are located in 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. + + If [LIST] has multiple arguments, then you have to put these in quotes. + For example: + # dracut --force-add "module1 module2" ... + @@ -157,6 +175,11 @@ Modules are located in 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. + + If [LIST] has multiple arguments, then you have to put these in quotes. + For example: + # dracut --drivers "kmodule1 kmodule2" ... + @@ -166,6 +189,11 @@ The kernel modules have to be specified without the ".ko" suffix. This 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. + + If [LIST] has multiple arguments, then you have to put these in quotes. + For example: + # dracut --add-drivers "kmodule1 kmodule2" ... + @@ -175,6 +203,11 @@ The kernel modules have to be specified without the ".ko" suffix. This specify a space-separated list of kernel filesystem modules to exclusively include in the generic initramfs. This parameter can be specified multiple times. + + If [LIST] has multiple arguments, then you have to put these in quotes. + For example: + # dracut --filesystems "filesystem1 filesystem2" ... + @@ -253,6 +286,11 @@ include in the generic initramfs. This parameter can be specified multiple times dracut.conf's specification; the installation is opportunistic (non-existing tools are ignored) + + If [LIST] has multiple arguments, then you have to put these in quotes. + For example: + # dracut --fscks "fsck.foo barfsck" ... + @@ -450,6 +488,11 @@ TARGET directory in the final initramfs. If SOURCE is a file, it will be install install the space separated list of files into the initramfs. + + If [LIST] has multiple arguments, then you have to put these in quotes. + For example: + # dracut --install "/bin/foo /sbin/bar" ... +