summaryrefslogtreecommitdiff
path: root/bin/live-snapshot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-16 08:56:47 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:47:59 +0100
commit47527b7666b1a12122a0b17098064e7af745d097 (patch)
treeed1f652683692b82667912217a0d0b3c4c6744af /bin/live-snapshot
parent3d5289751b26b7364b8cebcb3e3e5605bdef97bd (diff)
downloadlive-boot-47527b7666b1a12122a0b17098064e7af745d097.tar.gz
live-boot-47527b7666b1a12122a0b17098064e7af745d097.zip
Merging casper 1.129.
Diffstat (limited to 'bin/live-snapshot')
-rwxr-xr-xbin/live-snapshot2
1 files changed, 1 insertions, 1 deletions
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)