summaryrefslogtreecommitdiff
path: root/scripts/live-helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-04-08 17:47:57 +0200
committerDaniel Baumann <daniel@debian.org>2012-04-08 18:02:11 +0200
commitb5678340476350707c088253fe5ceee2dccda096 (patch)
tree04e039bb13264fae2619e661e806d9e6fb0ab4ef /scripts/live-helpers
parentae53533f0152dbd0ee920e1132be2e21b11ad031 (diff)
downloadlive-boot-b5678340476350707c088253fe5ceee2dccda096.tar.gz
live-boot-b5678340476350707c088253fe5ceee2dccda096.zip
Renaming /live/cow to /live/overlay in anticipation of overlayfs.
Diffstat (limited to 'scripts/live-helpers')
-rw-r--r--scripts/live-helpers12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers
index 889d157..9fea5a6 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -188,8 +188,8 @@ Arguments ()
export NFSOPTS
;;
- nfscow=*)
- NFS_COW="${ARGUMENT#nfscow=}"
+ nfsoverlay=*)
+ NFS_COW="${ARGUMENT#nfsoverlay=}"
export NFS_COW
;;
@@ -1502,11 +1502,11 @@ activate_custom_mounts ()
# be linked, causing breakage.
if [ -n "${rootmnt}" ]
then
- local cow_dir="/cow/live/persistent/$(basename ${links_source})"
+ local cow_dir="/overlay/live/persistent/$(basename ${links_source})"
else
# This is happens if persistence is activated
# post boot
- local cow_dir="/live/cow/live/persistent/$(basename ${links_source})"
+ local cow_dir="/live/overlay/live/persistent/$(basename ${links_source})"
fi
mkdir -p ${cow_dir}
chown_ref "${source}" "${cow_dir}"
@@ -1526,11 +1526,11 @@ activate_custom_mounts ()
# is non-empty (and necessary) only for unions
if [ -n "${rootmnt}" ]
then
- local cow_dir="$(echo ${dest} | sed -e "s|^${rootmnt}|/cow/|")"
+ local cow_dir="$(echo ${dest} | sed -e "s|^${rootmnt}|/overlay/|")"
else
# This is happens if persistence is activated
# post boot
- local cow_dir="/live/cow/${dest}"
+ local cow_dir="/live/overlay/${dest}"
fi
if [ -e "${cow_dir}" ] && [ -z "${opt_linkfiles}" ]
then