Re: 2.2.16: can't remove loop modules

Steve Dodd (steved@loth.demon.co.uk)
Tue, 27 Jun 2000 22:00:12 +0100


On Mon, Jun 26, 2000 at 12:03:03PM -0500, Kevin Range wrote:

> 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/