Messages in this thread | | | Date | Mon, 11 Oct 1999 08:08:11 +0100 (BST) | From | Tigran Aivazian <> | Subject | Re: 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/
| |