[kexec-tools] makedumprd: remove -d

Dave Young yangrr at fedoraproject.org
Wed Jun 6 08:32:39 UTC 2012


commit d6cc7ff7dc48f4d13873e1cc3d11f0e8c7dc6e5f
Author: Dave Young <dyoung at redhat.com>
Date:   Wed Jun 6 16:24:23 2012 +0800

    makedumprd: remove -d
    
    -d option is not implemented and unused, remove it from mkdumprd
    
    Signed-off-by: Dave Young <dyoung at redhat.com>
    Acked-by: Vivek Goyal <vgoyal at redhat.com>

 kdumpctl   |    2 +-
 mkdumprd   |    3 ---
 mkdumprd.8 |    6 +-----
 3 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/kdumpctl b/kdumpctl
index 95f03bc..5833422 100755
--- a/kdumpctl
+++ b/kdumpctl
@@ -9,7 +9,7 @@ KDUMP_KERNELVER=""
 KDUMP_COMMANDLINE=""
 KEXEC_ARGS=""
 KDUMP_CONFIG_FILE="/etc/kdump.conf"
-MKDUMPRD="/sbin/mkdumprd -d -f"
+MKDUMPRD="/sbin/mkdumprd -f"
 SAVE_PATH=/var/crash
 SSH_KEY_LOCATION="/root/.ssh/kdump_id_rsa"
 DUMP_TARGET=""
diff --git a/mkdumprd b/mkdumprd
index b7c3c3a..984c375 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -62,9 +62,6 @@ check_size() {
 
 while [ $# -gt 0 ]; do
     case $1 in
-    -d)
-        shift
-        ;;
     --noconf)
         conf_file=""
         shift
diff --git a/mkdumprd.8 b/mkdumprd.8
index 5618aa0..5c7f9a9 100644
--- a/mkdumprd.8
+++ b/mkdumprd.8
@@ -2,7 +2,7 @@
 .SH NAME
 mkdumprd \- creates initial ramdisk images for kdump crash recovery 
 .SH SYNOPSIS
-\fBmkdumprd\fR [--version] [-v] [-f] [-d]
+\fBmkdumprd\fR [--version] [-v] [-f]
          [--preload=\fImodule\fR] [--omit-scsi-modules] 
          [--omit-raid-modules] [--omit-lvm-modules] 
          [--image-version]
@@ -85,10 +85,6 @@ Prints out verbose information while creating the image (normally
 the \fBmkdumprd\fR runs silently). 
 
 .TP
-\fB-d\fR
-Query /etc/kdump for initrd construction configuration
-
-.TP
 \fB-\-version\fR
 Prints the version of \fBmkdumprd\fR that's being used and then exits.
 


More information about the scm-commits mailing list