X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=bin%2Flive-snapshot;h=12c79b83353978bc438dd079a99ef344cb7a3796;hb=e8d9899923fec4a87850a126869bf694ecb2b7af;hp=141d266786cd3cb08046969a009a5de451c3ce99;hpb=6ea3a350211188c2d6723ff9fc6d6935da0ca58a;p=live-boot-grml.git diff --git a/bin/live-snapshot b/bin/live-snapshot index 141d266..12c79b8 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -302,7 +302,7 @@ Do_snapshot () ext2|ext3) DU_DIM="$(du -ks ${SNAP_COW} | cut -f1)" REAL_DIM="$(expr ${DU_DIM} + ${DU_DIM} / 20)" # Just 5% more to be sure, need something more sophistcated here... - genext2fs --size-in-blocks=${REAL_DIM} --reserved-blocks=0 --root="${SNAP_COW}" "${DEST}" + genext2fs --size-in-blocks=${REAL_DIM} --reserved-percentage=0 --root="${SNAP_COW}" "${DEST}" ;; jffs2)