Re: mounting a fs in two places at once?

From: Alexander Viro (
Date: Sun Jun 24 2001 - 21:35:03 EST

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?

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>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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