Enabled real writing in xorriso-dd-target
This commit is contained in:
parent
6de23e96de
commit
02e55a9dbc
@ -588,11 +588,11 @@ write_image() {
|
|||||||
fi
|
fi
|
||||||
if test -n "$dummy_run"
|
if test -n "$dummy_run"
|
||||||
then
|
then
|
||||||
echo " $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/${2} ; sync"
|
echo " $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/'${2}' ; sync"
|
||||||
else
|
else
|
||||||
echo "Performing:"
|
echo "Performing:"
|
||||||
echo " $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/${2} ; sync"
|
echo " $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/'${2}' ; sync"
|
||||||
# $sudo_cmd $dd_cmd if='${1}' bs=1M of=/dev/${2} ; sync
|
$sudo_cmd $dd_cmd if="${1}" bs=1M of=/dev/"${2}" ; sync
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# >>> ??? Erase possible GPT backup table at end of device ?
|
# >>> ??? Erase possible GPT backup table at end of device ?
|
||||||
|
Loading…
Reference in New Issue
Block a user