diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-04-13 13:43:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-04-13 13:43:48 +0000 |
commit | 5776cdc23f53b3f6217211edff229b393e8cb1eb (patch) | |
tree | f754985a17f2dc1f3b7379ad0ecb30ef0ac62450 /rescue/restore-image.sh | |
parent | 16bb3a61891ba53f56b5c27b4c3f93e173032e72 (diff) | |
download | drakx-5776cdc23f53b3f6217211edff229b393e8cb1eb.tar drakx-5776cdc23f53b3f6217211edff229b393e8cb1eb.tar.gz drakx-5776cdc23f53b3f6217211edff229b393e8cb1eb.tar.bz2 drakx-5776cdc23f53b3f6217211edff229b393e8cb1eb.tar.xz drakx-5776cdc23f53b3f6217211edff229b393e8cb1eb.zip |
image restore script: use blkid instead of deprecated vol_id
Diffstat (limited to 'rescue/restore-image.sh')
-rwxr-xr-x | rescue/restore-image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |