OBS User unknown 2007-02-12 12:08:12 +00:00 committed by Git OBS Bridge
parent 39c561f3dd
commit c48d6a0505
3 changed files with 15 additions and 2 deletions

8
kdump
View File

@ -266,7 +266,13 @@ copy_dump_from_dumpdev ()
coredir="${KDUMP_SAVEDIR}/`date +"%Y-%m-%d-%H:%M"`"
mkdir -p $coredir
echo -n "Saving crash dump to $coredir"
dd if=$KDUMP_DUMPDEV of=$coredir/vmcore count=$dumpsize
BS=1024
dd if=$KDUMP_DUMPDEV of=$coredir/vmcore count=$[$dumpsize/$BS] bs=$BS
if [ $[$dumpsize % $BS] != 0 ] ; then
dd if=$KDUMP_DUMPDEV of=$coredir/vmcore skip=$[$dumpsize/$BS*$BS] \
seek=$[$dumpsize/$BS*$BS] count=$[$dumpsize%$BS] bs=1
fi
invalidate_dumpdev
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 12 10:57:38 CET 2007 - bwalle@suse.de
- fixed copying, blocksize was wrong (#243058)
-------------------------------------------------------------------
Sat Feb 10 10:49:31 CET 2007 - schwab@suse.de

View File

@ -19,7 +19,7 @@ Requires: %insserv_prereq %fillup_prereq
Autoreqprov: on
Summary: Tools for fast kernel loading
Version: 1.101
Release: 73
Release: 75
Source: %{name}-%{package_version}.tar.bz2
Source1: kdump
Source2: sysconfig.kdump
@ -123,6 +123,8 @@ true # ignore errors
%{_sbindir}/kdump-helper
%changelog -n kexec-tools
* Mon Feb 12 2007 - bwalle@suse.de
- fixed copying, blocksize was wrong (#243058)
* Sat Feb 10 2007 - schwab@suse.de
- Fix help string.
* Fri Feb 09 2007 - bwalle@suse.de