From 5776cdc23f53b3f6217211edff229b393e8cb1eb Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 13 Apr 2010 13:43:48 +0000 Subject: image restore script: use blkid instead of deprecated vol_id --- rescue/restore-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rescue/restore-image.sh') diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh index 4cf06c9e6..32eec242d 100755 --- a/rescue/restore-image.sh +++ b/rescue/restore-image.sh @@ -146,7 +146,7 @@ function detect_win32() fi # it might be needed, for safety - device_type=$(vol_id --type ${device}) + device_type=$(blkid -o value -s TYPE ${device}) modprobe ${device_type} # df for that partition -- cgit v1.2.1