From: Kairui Song Date: Wed, 25 Jul 2018 15:50:47 +0000 (+0800) Subject: lsinitrd: update help message and man page X-Git-Tag: 049~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=143420bc05079ffa040a63decbb2585c59e44011;p=thirdparty%2Fdracut.git lsinitrd: update help message and man page Signed-off-by: Kairui Song --- diff --git a/lsinitrd.1.asc b/lsinitrd.1.asc index b6a704c2a..193a44716 100644 --- a/lsinitrd.1.asc +++ b/lsinitrd.1.asc @@ -34,11 +34,17 @@ OPTIONS **-k, --kver** __:: inspect the initramfs of . +**-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 diff --git a/lsinitrd.sh b/lsinitrd.sh index 0cb89e9c1..a2fa4d7a6 100755 --- a/lsinitrd.sh +++ b/lsinitrd.sh @@ -28,7 +28,10 @@ usage() echo "-m, --mod list modules." echo "-f, --file print the contents of ." 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 inspect the initramfs of ." echo