Skip to contentSkip to conversation

update the documentation of '--[no]prefix'

PATCH In review WANG Cong 2 participants 2 messages Oct 7, 2011 1 message not in the archive

lore
Share & tools
lore

WANG Cong

author
#0 lore raw

PATCH 1/1 update the documentation of '--[no]prefix'

In

commit fd786adcf515d9d3ee77eb29fa4c6b60020c7209

Author: Harald Hoyer <[email protected]>
Date:   Wed Apr 20 16:47:40 2011 +0200

dracut: make prefix configurable

Harald changed the meaning of --prefix/--noprefix, but forgot to update their documentation. This patch fixes that.

---

dracut.8.xml +3 -3
index 11ea8c3..709f1a6 100644
@@ -245,10 +245,10 @@ include in the generic initramfs. This parameter can be specified multiple times
         </varlistentry>
         <varlistentry>
           <term>
-            <option>--prefix</option>
+            <option>--prefix&nbsp;<replaceable>&lt;dir&gt;</replaceable></option>
           </term>
           <listitem>
-            <para>prefix initramfs files with /run/initramfs/</para>
+            <para>prefix initramfs files with the specified directory</para>
           </listitem>
         </varlistentry>
         <varlistentry>
@@ -256,7 +256,7 @@ include in the generic initramfs. This parameter can be specified multiple times
             <option>--noprefix</option>
           </term>
           <listitem>
-            <para>do not prefix initramfs files with /run/initramfs/ (default)</para>
+            <para>do not prefix initramfs files (default)</para>
           </listitem>
         </varlistentry>
         <varlistentry>
#2 lore raw
In reply to a message not in the archive
Quoted 34 lines · WANG Cong

In

commit fd786adcf515d9d3ee77eb29fa4c6b60020c7209

Author: Harald Hoyer <[email protected]>
Date:   Wed Apr 20 16:47:40 2011 +0200

dracut: make prefix configurable

Harald changed the meaning of --prefix/--noprefix, but forgot to update their documentation. This patch fixes that.

---

dracut.8.xml +2 -2
index 11ea8c3..709f1a6 100644
@@ -245,10 +245,10 @@ include in the generic initramfs. This parameter can be specified multiple times
         </varlistentry>
         <varlistentry>
           <term>
-            <option>--prefix</option>
+            <option>--prefix&nbsp;<replaceable>&lt;dir&gt;</replaceable></option>
           </term>
           <listitem>
-            <para>prefix initramfs files with /run/initramfs/</para>
+            <para>prefix initramfs files with the specified directory</para>
           </listitem>
         </varlistentry>
         <varlistentry>

dracut.8.xml include in the generic initramfs. This parameter can be specified multiple times · line 262

Quoted 8 lines
dracut.8.xml +1 -1
@@ -256,7 +256,7 @@ include in the generic initramfs. This parameter can be specified multiple times
             <option>--noprefix</option>
           </term>
           <listitem>
-            <para>do not prefix initramfs files with /run/initramfs/ (default)</para>
+            <para>do not prefix initramfs files (default)</para>
           </listitem>
         </varlistentry>
         <varlistentry>

pushed to

git://dracut.git.sourceforge.net/gitroot/dracut/dracut
git://git.surfsite.org/pub/git/dracut.git

thanks!