X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=bin%2Flive-snapshot;h=bf0e332be4da25751b649bc642aa6cd2b8e59a40;hb=8af69eb3e88459ca949aa95727dc2212266c6669;hp=5a7b97903b3fc3ec15a3a352dbff8db2ded95dc2;hpb=9e2fdb9370c78d10088945e59f45b087b7fe6f37;p=live-boot-grml.git diff --git a/bin/live-snapshot b/bin/live-snapshot index 5a7b979..bf0e332 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -341,7 +341,7 @@ Entry_is_modified () Do_filelist () { - # BUGS: supports only cpio.gz types, and do not handle deleted files yet + # BUGS: supports only cpio.gz types, and does not handle deleted files yet TMP_FILELIST=$1 if [ -f "${SNAP_LIST}" ] @@ -418,7 +418,8 @@ Do_snapshot () cd "${OLDPWD}" ;; - # ext2|ext3 and jffs2 does not support easely an exclude list, files should be copied in another directory in order to filter content + # ext2|ext3 and jffs2 does not easily support an exclude list; files + # should be copied to another directory in order to filter content 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...