#! /bin/sh
mount -v --bind /dev /mnt/alice/dev && \
mount -vt devpts devpts /mnt/alice/dev/pts -o gid=5,mode=620 && \
mount -vt proc proc /mnt/alice/proc && \
mount -vt sysfs sysfs /mnt/alice/sys && \
mount -vt tmpfs tmpfs /mnt/alice/run && \
mkdir -pv /mnt/alice/$(readlink /mnt/alice/dev/shm) && \
cp -L /etc/resolv.conf /mnt/alice/etc/ && \
chroot /mnt/alice /bin/sh
