[BUG] in ramfs, kernels 2.3.99-pre7-5 and -pre7-6

From: Guus Sliepen (guus@warande3094.warande.uu.nl)
Date: Sun May 07 2000 - 04:45:54 EST


Hello,

There's a strange bug in ramfs. If I mount ramfs, copy my entire /dev
directory to it (a normal /dev, not a devfs /dev), subsequently rm -R *
everything, I cannot unmount it anymore (umount: /mnt/ram: device is
busy). I checked but there really isn't any file left in it.

I tried mounting ramfs somewhere, creating a few
files/directories/symlinks/pipes/special devices/sockets, with and without
content, and removed them afterwards. When I tried to unmount, it
succeeded.

Clearly, something goes wrong somewhere, probably with refcounts. I
couldn't find anything with my quick look into the source though. And why
does ramfs have to be completely empty before it can be unmounted
anyway? That's totally unlike any other filesystem.

Met vriendelijke groet,
Guus Sliepen.

-
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/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:20 EST