Unnamed repository
Go to file
Dave Young fc1749219f get_ssh_size fix for localized df output
When kdump service is started, /sbin/mkdump checks if there is enough
free space on the ssh server using "df -P" command.
However, the slight difference in the first line of the "df -P" command
output for English and Japanese environment causes a problem.
 -----
  # LANG=en_us.utf8 df -P | head -1
  Filesystem 1024-blocks Used Available Capacity Mount on
  # LANG=ja_JP.utf8 df -P | head -1
  ファイルシス   1024-ブロック    使用  使用可 容量 マウント位置
 -----
Because the number of words is 7 in the English output and 6 in
Japanese, the subsequent awk command could not correctly locate the
free space field and results in an error.

One way to fix it is use df -P /var/crash|tail -1, but for remote restricted
shell pipe is not supported. Thus fix this by print field NF-2 in awk script.

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: WANG Chao <chaowang@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
2014-03-14 13:04:32 +08:00
po Translation, Makefile: add make tgz option to auto pack po files 2013-12-24 14:25:23 +08:00
.gitignore Release 2.0.5-1 2014-03-05 11:16:44 +08:00
98-kexec.rules udev rules fix 2012-05-28 09:50:47 +08:00
dracut-kdump.sh kdump.sh: send fence kdump message to other nodes in the cluster 2014-01-29 16:20:06 +08:00
dracut-module-setup.sh adjust the installkernel function to make it return correct value 2014-03-03 13:36:50 +08:00
dracut-monitor_dd_progress monitor-dd-progress fix 2013-06-25 16:45:59 +08:00
firstboot_kdump.py firstboot:fix reserve mem ui spinbox step size 2012-12-12 17:15:10 +08:00
kdump-in-cluster-environment.txt Add a kdump-in-cluster-environment.txt in RPM package 2014-01-29 16:20:06 +08:00
kdump-lib.sh kdump-lib.sh: introduce two functions abstracted from get_block_dump_target for reuse 2014-03-10 13:17:21 +08:00
kdump.conf kdump.conf: uncomment default core_collector line 2014-01-17 11:32:47 +08:00
kdump.conf.5 makedumpfile compression method default to lzo 2013-12-24 14:25:07 +08:00
kdump.init - Fix a syntax error in kdump init script 2010-06-13 21:54:34 +00:00
kdump.service kdump.service: Start kdump after network is online and remote fs is mounted 2013-09-27 10:07:13 +08:00
kdump.sysconfig do not mount root twice 2012-07-12 11:15:35 +08:00
kdump.sysconfig.i386 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.ia64 Mass Update of RHEL5 patches 2008-06-05 15:18:53 +00:00
kdump.sysconfig.ppc64 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.s390x s390x, sysconfig: Change maxcpus=1 to nr_cpus=1 for s390x 2014-01-22 12:52:02 +08:00
kdump.sysconfig.x86_64 Add acpi_no_memhotplug to kdump kernel 2014-01-29 16:25:57 +08:00
kdumpctl kdumpctl: Pass disable_cpu_apicid to kexec of capture kernel 2014-02-28 14:55:16 +08:00
kexec-kdump-howto.txt makedumpfile compression method default to lzo 2013-12-24 14:25:07 +08:00
kexec-tools-2.0.3-build-makedumpfile-eppic-shared-object.patch Rebase makedumpfile-1.5.5 2014-01-28 13:04:36 +08:00
kexec-tools-2.0.3-disable-kexec-test.patch Disable kexec_test 2012-01-21 16:56:07 +08:00
kexec-tools-2.0.4-makedumpfile-memset-in-cyclic-bitmap-initialization-introdu.patch makedumpfile: memset() in cyclic bitmap initialization introduce segment fault. 2014-01-29 16:31:04 +08:00
kexec-tools-2.0.5-i386-fix-build-failure-bzImage_support_efi_boot.patch Release 2.0.5-1 2014-03-05 11:16:44 +08:00
kexec-tools-2.0.5-i386-fix-redefinition-error-for-e820entry.patch Release 2.0.5-1 2014-03-05 11:16:44 +08:00
kexec-tools.spec Release 2.0.5-2 2014-03-10 13:22:24 +08:00
mkdumprd get_ssh_size fix for localized df output 2014-03-14 13:04:32 +08:00
mkdumprd.8 Remove comma which is redundant 2013-02-16 15:19:41 +08:00
rhcrashkernel-param rhcrashkernel-param: echo crashkernel=auto for rhel7 2012-08-20 15:01:47 +08:00
sources Release 2.0.5-1 2014-03-05 11:16:44 +08:00
zanata-notes.txt Add a notes for zanata process 2012-12-05 01:23:09 -05:00