Re: mounting a fs in two places at once?

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Mon Jun 25 2001 - 01:18:04 EST


Alexander Viro writes:
>
>
> On Sun, 24 Jun 2001, Marty Leisner wrote:
>
> > I just installed redhat 7.1 on a system.
> >
> > Cleaning up, a made a fs for home...(mounted on /mnt
> > to write the stuff to it)
> >
> > Then I accidently mounted it on /home.
> >
> > So it was mounted on /home and /mnt at the same time.
> > (I didn't bother going in to see what was there).
>
> Same tree, obviously.
>
> > Shouldn't this NOT happen?
>
> Sigh... Guys, who maintains l-k FAQ?

You mean the LK mailing list FAQ? That would be me.

> Q: I've mounted filesystem in two different places and it worked. Why?
> A: Because you've asked to do that. Yes, it works. No, it's not a bug.
>
> Q: what should I do to unmount it?
> A: umount <mountpoint>
>
> Q: but that took care only of one of them. How can I deal with another?
> A: umount <another_mountpoint>

Patches to the LKML FAQ accepted :-)

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
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/



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:11 EST