On Tue, Apr 29, 2014 at 07:27:55PM +0530, Hari Bathini wrote:
Take a backup of original initrd when fadump is used first time or
when user has switched from kdump to fadump. This will allow us to
fall back to original initrd when kdump service fails to rebuild
the fadump ready default initrd.
You should build an initrd into a separate temporary file and then
replace the original initrd to take care of this issue.
Also, if the user switches from
fadump to kdump, then the original initrd will be restored when
kdump script is run first time after the switch.
If user switches modes, that should trigger generataion of fresh initrd
instead of trying to restore from some backup.
Thanks
Vivek