On Mon, 14 Oct 2013 15:50:36 -0400 Rich Freeman <[email protected]> wrote:
> On Mon, Oct 14, 2013 at 2:58 PM, David Leverton > <[email protected]> wrote: > > > > If only someone would invent some sort of kernel feature that could > > make the name "/etc/mtab" refer to different files in different > > processes.... > > > > However, FWIW, linux namespaces cannot be used to have only a single > file appear differently to different processes. Mount namespaces can > only operate at the directory level. This is not true. Bind mounts can be performed on a single file, and bind mounts are part of mount namespaces. Granted the target file _must_ exist (it could be a dead symlink, or a symlink to /dev/null) before performing the bind mount.
