set -e
rm -f test1.img
-dd if=/dev/zero of=test1.img bs=1024k count=10
-../fish/guestfish -a test1.img <<EOF
-launch
-part-disk /dev/sda mbr
-mkfs ext2 /dev/sda1
-mount-options "" /dev/sda1 /
+../fish/guestfish -N fs -m /dev/sda1 <<EOF
ll /../dev/console
ll /../dev/full
ll /../dev/mapper/