X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=bin%2Flive-snapshot;h=6ba45f24c371b63543522e7b5d0b75a6f0271e1f;hb=3039c635545638a79f4f5e7705affb7997e5f918;hp=ca495fb1051aa259d41b48504f86e13c33ede159;hpb=9eb2933053120a89ac5c332a45e989379b8f8ad1;p=live-boot-grml.git diff --git a/bin/live-snapshot b/bin/live-snapshot index ca495fb..6ba45f2 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 @@ -517,9 +517,9 @@ Warn_user () ;; esac - if grep -qv persistent /proc/cmdline + if grep -qv persistence /proc/cmdline then - echo "Remember to boot this live system with \"persistent\" specified at boot prompt." > /dev/null 1>&2 + echo "Remember to boot this live system with \"persistence\" specified at boot prompt." > /dev/null 1>&2 fi fi }