On Thursday 17 November 2016 10:22 AM, Dave Young wrote:
Although we use by-id in mkdumprd as persistent policy for the dump
checking, finally it is not used in kdump 2nd kernel because we call dracut
function in module-setup.sh without persistent policy specified that means
kdump will copy default "by-uuid" dev name.
Though by-uuid usually works and it is still better to fix it as raw disk
uuid make no sense.
Also do not need to call bind mount adjust function for raw dump, here add
another switch case for raw dump and cleanup the functions with short
variable names to keep code shorter.
Signed-off-by: Dave Young <dyoung(a)redhat.com>
Reviewed-by: Pratyush Anand <panand(a)redhat.com>