[Kernel-handbook-general] [PATCH 7/8] Add example of using lsinitramfs command (Closes: #639846)

Ben Hutchings ben at decadent.org.uk
Sat Jul 21 21:30:23 UTC 2012


---
 chapter-initramfs.sgml |    8 ++++++++
 debian/changelog       |    1 +
 2 files changed, 9 insertions(+)

diff --git a/chapter-initramfs.sgml b/chapter-initramfs.sgml
index bd64e5e..0310598 100644
--- a/chapter-initramfs.sgml
+++ b/chapter-initramfs.sgml
@@ -62,5 +62,13 @@
 $ zcat /boot/initrd.img-3.2.0-2-686-pae | cpio -i
         </example>
 	It will unpack the contents of the initramfs into the current directory.
+	</p>
+	<p>
+	  It is also possible to list the contents of an initramfs
+	  using the <tt>cpio -t</tt> option or the command
+	  <example>
+$ lsinitramfs /boot/initrd.img-3.2.0-2-686-pae
+          </example>
+	</p>
       </sect>
     </chapt>
diff --git a/debian/changelog b/debian/changelog
index d796dd0..5bfc5dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ kernel-handbook (1.0.14) UNRELEASED; urgency=low
   * Add Vcs-Git control field (Closes: #638479)
   * Mark as capable of satisfying relations from foreign packages
     (Multi-Arch: foreign) (Closes: #679204)
+  * Add example of using lsinitramfs command (Closes: #639846)
 
   [ Jonathan Nieder ]
   * Explain how to narrow the regression window with "git bisect"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/kernel-handbook-general/attachments/20120721/b2032a00/attachment.pgp>


More information about the Kernel-handbook-general mailing list