From c2801b8fc7e47ef49c0e97833b6196e3f31d98f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 9 Jan 2016 10:09:23 +0000 Subject: [PATCH] use custom bind mount logic instead of fstab --- decrypt-zfs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/decrypt-zfs b/decrypt-zfs index 45cef07..1df9d13 100755 --- a/decrypt-zfs +++ b/decrypt-zfs @@ -24,5 +24,13 @@ until [ $retry -ge 10 ]; do sleep 1 done +echo "mount zfs datasets" zfs mount -a -mount -a + +echo "do bind mounts" +ruby /etc/lxc/hooks/update-mounts +mount -o bind /data/containers/login/rootfs/home/joerg /home/joerg/login +mount -o bind /data/containers/login/rootfs/home/devkid /home/devkid/login +mount -o bind /data/containers/pyload/rootfs/var/lib/pyload /data/pyload +mount -o bind /data/pacman/pkg /var/cache/pacman/pkg +mount -o bind /data/pacman/sync /var/lib/pacman/sync