Re: Mounting same device many times/mountpoints. Is this legal?

From: Alexander Viro (viro@math.psu.edu)
Date: Mon Apr 30 2001 - 10:51:43 EST


On Mon, 30 Apr 2001, Ola Garstad wrote:

> I am running kernel 2.4.3 on RH 7.0
>
> By mistake I mounted the same device two places. Is this legal???

Yes, it is.

> On 2.2.x I got an error if I did this.
> It guess thus could have destoryed the filesystem if had written to it.

No (well, aside of the potential filesystem bugs, but their chances of
fs corruption do not depend on number of mountpoints).

-
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 : Mon Apr 30 2001 - 21:00:25 EST