* ][ <[EMAIL PROTECTED]> [20070207 04:15]:
> On Tue, 06 Feb 2007 09:10:18 +0100, Michael Prokop wrote:

> >> I noticed that loop mounts are not automatically cleaned in my system. 
> >> Is there any way that I can fix it?

> > Which mount version are you using? 'dpkg -S =mount ; mount --version'
> > I'm using mount of package loop-aes-utils and did not notice the
> > mentioned behaviour.

> Strange to me too. Here is the required info:

> $ dpkg -S =mount
> dpkg: *=mount* not found.

bash user, ey? 8-)

[...]
> $ sudo mount -o loop grml_small_0.3.iso /mnt/os2/

> $ mount | grep os2
> /dev/loop2 on /mnt/os2 type iso9660 (ro)

> $ sudo umount /mnt/os2/

> $ ps -e | grep loop
> 32721 ?        00:00:00 loop0
>  3332 ?        00:00:00 loop1
>  2776 ?        00:00:00 loop2

Run 'losetup -d /dev/loop2' to fix the issue manually. To fix the
issue for the future remove the symlink /etc/mtab pointing to
/proc/mounts:

rm /etc/mtab
cp /proc/mounts /etc/mtab

-> from now on your system should remove the loop device automatically.

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc

Attachment: pgpehtIkc6B6W.pgp
Description: PGP signature

_______________________________________________
Grml mailing list - [email protected]
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/

Reply via email to