summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/mkarchiso')
-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"