[Pkg-sysvinit-devel] Bug#494001: Bug#494001: `mount -o loop' runs out of loop devices
Kel Modderman
kel at otaku42.de
Wed Jun 3 14:43:29 UTC 2009
CC'ing Roger.
On Saturday 30 May 2009 21:49:16 Dmitry Maksyoma wrote:
>
> Just to let you know: when /etc/mtab is a symlink to /proc/mounts, loop devices
> aren't freed by umount and the system may run out of loop devices (which makes
> things worse than they were with old-style mtab). Apparently, it's not a bug, as
> it's documented in mount(8):
>
> If you are not so unwise as to make /etc/mtab a symbolic link to /proc/mounts
> then any loop device allocated by mount will be freed by umount. You can
> also free a loop device by hand, using `losetup -d', see losetup(8).
>
Thanks for pointing it out Dmitry.
Symlinking of mtab to /proc/mounts also seems to change/stop the user= mount
option from working properly.
Do the benefits of symlinking mtab -> mounts outweigh possible regressions
related to loop device mounting or user= mount option?
Thanks, Kel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20090604/bd2af0c7/attachment-0001.htm>
More information about the Pkg-sysvinit-devel
mailing list