summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-12-10 12:06:19 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-12-10 12:06:19 -0300
commitf4ecca25b76c3470adc42351d23f2808ff0a8bee (patch)
tree283906b9ce3c91cc46a75407c815887188c5387b /archiso
parentf11f34ce48cc5557870dd716e989a87cd4722589 (diff)
downloadarchiso32-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-xarchiso/mkarchiso2
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"