Messages in this thread | | | Date | Mon, 25 Mar 2002 12:05:46 -0500 (EST) | From | Alexander Viro <> | Subject | Re: 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/
| |