]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
lsinitrd: update help message and man page
authorKairui Song <kasong@redhat.com>
Wed, 25 Jul 2018 15:50:47 +0000 (23:50 +0800)
committerHarald Hoyer <harald@hoyer.xyz>
Thu, 26 Jul 2018 07:57:55 +0000 (09:57 +0200)
Signed-off-by: Kairui Song <kasong@redhat.com>
lsinitrd.1.asc
lsinitrd.sh

index b6a704c2a0f90f7e784ccfb8bf41a638d4597591..193a447166034bc1ab571a047f881d3e2a5a4abc 100644 (file)
@@ -34,11 +34,17 @@ OPTIONS
 **-k, --kver** _<kernel version>_::
     inspect the initramfs of <kernel version>.
 
+**-m, --mod**::
+    list dracut modules included of the initramfs image.
+
 **--unpack**::
     unpack the initramfs to the current directory, instead of displaying the contents.
+    If optional filenames are given, will only unpack specified files, else the whole image will be unpacked.
+    Won't unpack anything from early cpio part.
 
 **--unpackearly**::
     unpack the early microcode initramfs to the current directory, instead of displaying the contents.
+    Same as --unpack, but only unpack files from early cpio part.
 
 **-v, --verbose**::
     unpack verbosely
index 0cb89e9c12b4b23cb9d6d3154a6d883e7bb13ca6..a2fa4d7a6aee25625472b97fd6230a1f943411cd 100755 (executable)
@@ -28,7 +28,10 @@ usage()
         echo "-m, --mod                   list modules."
         echo "-f, --file <filename>       print the contents of <filename>."
         echo "--unpack                    unpack the initramfs, instead of displaying the contents."
+        echo "                            If optional filenames are given, will only unpack specified files,"
+        echo "                            else the whole image will be unpacked. Won't unpack anything from early cpio part."
         echo "--unpackearly               unpack the early microcode part of the initramfs."
+        echo "                            Same as --unpack, but only unpack files from early cpio part."
         echo "-v, --verbose               unpack verbosely."
         echo "-k, --kver <kernel version> inspect the initramfs of <kernel version>."
         echo