diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-12-10 12:06:19 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-12-10 12:06:19 -0300 |
commit | f4ecca25b76c3470adc42351d23f2808ff0a8bee (patch) | |
tree | 283906b9ce3c91cc46a75407c815887188c5387b /archiso | |
parent | f11f34ce48cc5557870dd716e989a87cd4722589 (diff) | |
download | archiso32-f4ecca25b76c3470adc42351d23f2808ff0a8bee.tar.xz |
[archiso] mkarchiso: Use truncate instead of dd
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso')
-rwxr-xr-x | archiso/mkarchiso | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index a1ff68d..9c714a1 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -326,7 +326,7 @@ _mkfs () { _msg_info "Creating ${_fs_type} image of ${_fs_size} MiB..." rm -f "${_fs_img}" - dd of="${_fs_img}" count=0 bs=1M seek=${_fs_size} &> /dev/null + truncate -s ${_fs_size}M "${_fs_img}" local _qflag="" if [[ ${quiet} == "y" ]]; then _qflag="-q" |