lkml.org 
[lkml]   [1999]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: refcnt of loop is wrong (was: "patch replacing /dev/root in /proc/mounts"
Yes, you are right. I forgot to check /etc/mtab on that machine. Now it is
not a link and umount does work.

Good to know that nothing is wrong... :)

Thank you,
Tigran.

On Thu, 7 Oct 1999, Guest section DW wrote:

> > see the refcnt going up? that's a bug to begin with...
>
> But perhaps you have /etc/mtab a link to /proc/mounts ?
> Then it is clear that the refcnt will go up, and nothing is wrong.
>
> mount will do the losetup for you if you say `-o loop'.
> umount will do the losetup -d for you if it knows that a loop
> device was setup by mount, and that information is found in /etc/mtab.
>
> That is one of the reasons why /etc/mtab should not be a link to /proc/mounts.
>
> Andries
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.326 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site