lkml.org 
[lkml]   [2002]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: RFC - named loop devices...
Date
On 20 May 2002 22:55, Ian Molton wrote:
> I havent thought about this too much, but...
>
> When /etc/mtab is a symlink to /proc/mounts the umount command will fail
> to unmount loopback mounted filesystems properly.

I have such symlink!

> I was wondering if a solution to this would be to introduce 'named'
> loopback devices.
>
> with named loop devices, umount will then know that mount was the
> creator of a loopback device that it mounted, and can safely destroy it.
>
> at present, mounting and unmounting disc images causes one to run out of
> loopback devices rather rapidly.
>
> If I were to knock up a patch to implement named loop devices, would it
> stand a chance of being accepted?
>
> also, how should this work? should the name be that of the creating
> process or should it just be a field that the creator can fill in as it
> pleases?

Have no time to think about this now, but will test any patches -
I want /etc/mtab -> /proc/mounts to become standard practice
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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