X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=bin%2Flive-snapshot;fp=bin%2Flive-snapshot;h=c9de008f2f3a70ef25670b3ebd872747a1e657e1;hb=b5678340476350707c088253fe5ceee2dccda096;hp=ca495fb1051aa259d41b48504f86e13c33ede159;hpb=ae53533f0152dbd0ee920e1132be2e21b11ad031;p=live-boot-grml.git diff --git a/bin/live-snapshot b/bin/live-snapshot index ca495fb..c9de008 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -3,7 +3,7 @@ # live-snapshot - utility to manage Debian Live systems snapshots # # This program mounts a device (fallback to /tmpfs under $MOUNTP -# and saves the /live/cow (or a different directory) filesystem in it +# and saves the /live/overlway (or a different directory) filesystem in it # for reuse in another live-boot session. # Look at the manpage for more informations. # @@ -57,7 +57,7 @@ SAFE_TMPDIR="/live" # Permits multiple runs MOUNTP="$(mktemp -d -p ${SAFE_TMPDIR} live-snapshot-mnt.XXXXXX)" DEST="${MOUNTP}/live-sn.cpio.gz" -DEF_SNAP_COW="/live/cow" +DEF_SNAP_COW="/live/overlay" TMP_FILELIST="${PROGRAM}.list" # Command line defaults and declarations @@ -365,7 +365,7 @@ Do_filelist () if [ -f "${SNAP_LIST}" ] then - # if SNAP_COW == /live/cow/home, SNAP_RW = /home + # if SNAP_COW == /live/overlay/home, SNAP_RW = /home SNAP_RW=$(echo "${SNAP_COW}" | sed -e "s|${DEF_SNAP_COW}||g") if [ -z "${SNAP_RW}" ] then