summaryrefslogtreecommitdiff
path: root/components/9990-misc-helpers.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 21:16:36 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 21:47:53 +0100
commitec9bd07c900e13d606445518a87e0326902d5815 (patch)
tree6736b5528d0fb5024a2fc66557e1d7f091d81949 /components/9990-misc-helpers.sh
parent44e7b72fa71425b02ec770b1f3429b27a5cf6c51 (diff)
downloadlive-boot-ec9bd07c900e13d606445518a87e0326902d5815.tar.gz
live-boot-ec9bd07c900e13d606445518a87e0326902d5815.zip
Dropping unionfs-fuse support:
* unionfs-fuse itself has been always very buggy for us. * unionfs-fuse code in live-boot as been experimental at best. * the FUSE implementation is horribly slow due to the nature of FUSE (~10min to boot a live system with unionfs-fuse compared to <<1min with aufs). * and last but not least, there's overlay in kernel mainline now.
Diffstat (limited to 'components/9990-misc-helpers.sh')
-rwxr-xr-xcomponents/9990-misc-helpers.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh
index 70f907a..fcd2b07 100755
--- a/components/9990-misc-helpers.sh
+++ b/components/9990-misc-helpers.sh
@@ -1294,11 +1294,6 @@ do_union ()
noxino_opt="noxino"
;;
- unionfs-fuse)
- rw_opt="RW"
- ro_opt="RO"
- ;;
-
*)
rw_opt="rw"
ro_opt="ro"
@@ -1306,22 +1301,6 @@ do_union ()
esac
case "${UNIONTYPE}" in
- unionfs-fuse)
- unionmountopts="-o cow -o noinitgroups -o default_permissions -o allow_other -o use_ino -o suid"
- unionmountopts="${unionmountopts} ${unionrw}=${rw_opt}"
- if [ -n "${unionro}" ]
- then
- for rofs in ${unionro}
- do
- unionmountopts="${unionmountopts}:${rofs}=${ro_opt}"
- done
- fi
- ( sysctl -w fs.file-max=391524 ; ulimit -HSn 16384
- unionfs-fuse ${unionmountopts} "${unionmountpoint}" ) && \
- ( mkdir -p /run/sendsigs.omit.d
- pidof unionfs-fuse >> /run/sendsigs.omit.d/unionfs-fuse || true )
- ;;
-
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?