[Pkg-sysvinit-devel] Bug#494001: Bug#494001: `mount -o loop' runs out of loop devices
kel at otaku42.de
Wed Jun 3 14:43:29 UTC 2009
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-sysvinit-devel