Re: Linux can use a mountpoint for 2 Filesystems

H. Peter Anvin (hpa@zytor.com)
19 Nov 2001 20:50:56 -0800


Followup to: <Pine.LNX.4.10.10111191939290.12141-100000@master.linux-ide.org>
By author: Andre Hedrick <andre@linux-ide.org>
In newsgroup: linux.dev.kernel
>
> Greetings Gernot,
>
> You can do this with all real and virtual spindles under Linux.
> The reality is total crap that it can happen, but what the hey ...
> No policies in UNIX, ROOT beware.
>
> Sorry, but this report saddens me, issues like these are permitted
> There are no kernel controls to prevent multi mounting to the same point.
>

There are real reasons to overmount a filesystem. It's getting to be
a usability problem, probably because Linux (UNLIKE MOST OTHER UNIXES)
didn't allow it until just recently. This change caused some
problems, including with the automount daemon. I would like to see an
option to mount(8) to allow it, by default disallow by policy.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
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/