summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/functions_makeiso.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/functions_makeiso.sh b/src/backend/functions_makeiso.sh
index 3a6301f..be5a550 100644
--- a/src/backend/functions_makeiso.sh
+++ b/src/backend/functions_makeiso.sh
@@ -56,7 +56,7 @@ jailisostart () {
mkliveimg () {
# create live filesystem image layout
mkdir -p "$jailsynctarget"
- dd if=/dev/zero of=""$jailsynctarget".img" bs=1M count=10240
+ truncate -s 10G ""$jailsynctarget".img"
sync
mkfs.ext2 -F ""$jailsynctarget".img"
mkdir -p "$jailsyncsource"