> mount -t iso9660 -o ro,loop=/dev/loop0 file /mnt
>
> and then unmounting it later (umount /dev/loop0)
>
> I can't mount /dev/loop0 again, I have to use loop1. Then loop2 and so on...
Is /etc/mtab writable by mount? If not (e.g. it's a symlink to /proc/mounts),
mount won't be able to record that it was using loop, and so umount won't
know to cleanup the loop device.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/