summaryrefslogtreecommitdiff
path: root/components/9990-misc-helpers.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 21:09:04 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 21:47:53 +0100
commit44e7b72fa71425b02ec770b1f3429b27a5cf6c51 (patch)
treef3b246cfc5575f1dba56e679512c00cfde843a26 /components/9990-misc-helpers.sh
parent20a36dd1e76d50c02968a50212a59c34efb3e79a (diff)
downloadlive-boot-44e7b72fa71425b02ec770b1f3429b27a5cf6c51.tar.gz
live-boot-44e7b72fa71425b02ec770b1f3429b27a5cf6c51.zip
Using 'overlay' instead of 'overlayfs' everywhere, without backwards compatibility (Closes: #773881).
When overlayfs got merged into kernel mainline it was renamed to overlay. We don't provide backwards compatibility since overlayfs support was experimental and only with non-debian default kernels available.
Diffstat (limited to 'components/9990-misc-helpers.sh')
-rwxr-xr-xcomponents/9990-misc-helpers.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh
index fb139ec..70f907a 100755
--- a/components/9990-misc-helpers.sh
+++ b/components/9990-misc-helpers.sh
@@ -1322,15 +1322,15 @@ do_union ()
pidof unionfs-fuse >> /run/sendsigs.omit.d/unionfs-fuse || true )
;;
- overlayfs)
- # XXX: can multiple unionro be used? (overlayfs only handles two dirs, but perhaps they can be chained?)
- # XXX: and can unionro be optional? i.e. can overlayfs skip lowerdir?
+ overlay)
+ # XXX: can multiple unionro be used? (overlay only handles two dirs, but perhaps they can be chained?)
+ # XXX: and can unionro be optional? i.e. can overlay skip lowerdir?
if echo ${unionro} | grep -q " "
then
- panic "Multiple lower filesystems are currently not supported with overlayfs (unionro = ${unionro})."
+ panic "Multiple lower filesystems are currently not supported with overlay (unionro = ${unionro})."
elif [ -z "${unionro}" ]
then
- panic "Overlayfs needs at least one lower filesystem (read-only branch)."
+ panic "overlay needs at least one lower filesystem (read-only branch)."
fi
unionmountopts="-o noatime,lowerdir=${unionro},upperdir=${unionrw}"
mount -t ${UNIONTYPE} ${unionmountopts} ${UNIONTYPE} "${unionmountpoint}"