# runs qemu as mcd but with read and write access to sda mount |egrep -q 'sd(a|b)3' && echo guix-root is maybe mounted. Aborting. && exit set -v sudo sh -c 'exec sudo -u mcd -C 6 sh -c " exec qemu-system-x86_64 -m 1800 -smp 2 -enable-kvm \ -net nic,model=virtio \ -net user,hostfwd=tcp::5560-:2222,hostfwd=tcp::5559-:22 \ -add-fd fd=5,set=2,opaque=rdwr:$(readlink -f /dev/disk/by-id/ata-Hitachi_HDT721010SLA360_STF6L7MS20ALEK) \ -drive file=/dev/fdset/2,index=0,media=disk" \ 5<>/dev/disk/by-id/ata-Hitachi_HDT721010SLA360_STF6L7MS20ALEK '