[Pkg-sysvinit-devel] `mount -o loop' runs out of loop devices
Dmitry Maksyoma
ledestin at gmail.com
Tue Jun 23 14:42:04 UTC 2009
On Sun, Jun 21, 2009 at 01:49:14PM +0100, Roger Leigh wrote:
> I get the same loopback release with /etc/mtab as a regular file.
>
> This may be due to the new kernel or new util-linux in unstable,
> but it is now freeing the loop devices correctly. It must be in
> the new util-linux, because it's putting the loop device, rather
> than the loopback filename, as the source in /etc/mtab such that
> it always matches /proc/mounts. Previously they differed, and
> this resulted in the loop device not being freed when the loop
> device was used. This is no longer the case. (I'm not familiar
> with the util-linux source, but I can't actually see this change
> and it /looks/ like it uses the old behaviour, but this may be
> just a special case for certain use cases. The observed
> behaviour is what we want though!)
>
> Dmitry, can you confirm this on your system? Your bug report
> shows you are using stable; do you have a system running
> unstable you can check on (or if anyone else can check this as
> I have above?)
Roger,
I've checked in squeeze using 2.6.26 kernel with /etc/mtab linked to
/proc/mounts and the loop device is freed according to losetup -a.
--
/Dmitry <ledestin at gmail.com>
More information about the Pkg-sysvinit-devel
mailing list