lkml.org 
[lkml]   [2002]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: devfs mounted twice in linux 2.4.19-pre3 (fwd)
On Mon, 25 Mar 2002, Richard Gooch wrote:

> Christoph Hellwig writes:
> > In article <200203250008.g2P08hr18250@vindaloo.ras.ucalgary.ca> you wrote:
> > > Hi, Al. What is the intended behaviour of MNT_DETACH
> > > wrt. /proc/mounts? It appears that detaching a FS leaves behind an
> > > apparently stale entry in /proc/mounts. Is this intentional?
> >
> > mount(8) code for MNT_DETACH is mine, not viro's. And yes, leaving
> > stale entry there is a bug - I will submit a patch to clear it.
>
> This is not a problem with mount(8). It's a kernel problem. When
> sys_umount(..., MNT_DETACH) is called from kernel space, it doesn't
> clean up /proc/mounts.

Which kernel version it is?

It works here, so I'd love to see testcase.


-
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:25    [W:0.094 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site