From 4ff4287ce798bd7b83387a383c9d80e2c3069572 Mon Sep 17 00:00:00 2001 From: Dave Young Date: Thu, 20 Sep 2012 11:03:24 +0800 Subject: [PATCH] pass persistent name to dracut --device For raw device dump, also pass persistent name to dracut --device to fix the device renaming problem. Signed-off-by: Dave Young Acked-by: Vivek Goyal --- mkdumprd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdumprd b/mkdumprd index 43e4689..610b3dd 100644 --- a/mkdumprd +++ b/mkdumprd @@ -230,7 +230,7 @@ do echo "Bad raw disk $config_val" exit 1 } - add_dracut_arg "--device" "$config_val" + add_dracut_arg "--device" "$(get_persistent_dev $config_val)" check_size raw $config_val ;; ssh)