diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-04-08 17:47:57 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-04-08 18:02:11 +0200 |
| commit | b5678340476350707c088253fe5ceee2dccda096 (patch) | |
| tree | 04e039bb13264fae2619e661e806d9e6fb0ab4ef /bin | |
| parent | ae53533f0152dbd0ee920e1132be2e21b11ad031 (diff) | |
| download | live-boot-b5678340476350707c088253fe5ceee2dccda096.tar.gz live-boot-b5678340476350707c088253fe5ceee2dccda096.zip | |
Renaming /live/cow to /live/overlay in anticipation of overlayfs.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/live-snapshot | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
