More hints on unmounting a filesystem:
# ls -l /dev/mapper/ # dmsetup ls # dmsetup info loop0p2 # dmsetup remove loop0p2 # losetup -a # losetup -d loop0 # umount /mnt/tmp
# ls -l /dev/mapper/ # dmsetup ls # dmsetup info loop0p2 # dmsetup remove loop0p2 # losetup -a # losetup -d loop0 # umount /mnt/tmp