Followup to: <20000602223121.A7247@pcep-jamie.cern.ch>
By author: Jamie Lokier <email@example.com>
In newsgroup: linux.dev.kernel
> For most uses, the illusion of multiple mounts is provided very nicely
> by symbolic links. It works, and programs which should not be confused
> can make a point of not following links. For example a program that
> does "rm -rf" in /tmp.
> So what use is mount -t bind?
> One use is to hide the fact that anything is linked. This it does very
> well. Disturbingly well :-) I don't know of a legitimate use for this
There is plenty -- the chief one is to provide the same namespace on a
whole collection of machines. autofs currently uses symlinks (well,
3.1.5 supports mount -t bind) and it is a neverending source of
-- <firstname.lastname@example.org> at work, <email@example.com> in private! "Unix gives you enough rope to shoot yourself in the foot."
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:16 EST