On Sun, Mar 20, 2005 at 12:37:09AM +0100, Christian Jaeger wrote:
> PS. I've noticed that the loop devices are not released.
> 
> mount -o loop $from $to
> # this allocates a loop device, as can be seen in ps auxww
> #  (under kernel 2.4.x, as [loop0] or similar kernel threads)
> #  or in /proc/mounts (source of the mount point).
> 
> umount $to
> # now it's unmounted, but the loop device is still active.
> # this means that the space allocated by $from is not released and
> # that after 8 mount cycles all loop devices are used up.
> 
> I don't know whether umount $from combined with a normal /etc/mtab 
> file will deallocate the loop device.

That /does/ work normally - I use it often.
 
> If so, then my previous patch is bad.

If anything I would call that a bug in umount rather than your patch.

-- 

patrick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to