Messages in this thread | | | Date | Wed, 5 Oct 2005 01:14:41 +0100 | From | Al Viro <> | Subject | Re: /etc/mtab and per-process namespaces |
| |
On Tue, Oct 04, 2005 at 11:20:12PM +0200, Bodo Eggert wrote: > Al Viro <viro@ftp.linux.org.uk> wrote: > > > 4) If you insist on having /etc/mtab the same file in all namespaces, > > you obviously will have its contents not matching at least some > > of them. Either have it separate in each namespace where you want > > to see it, or simply use /proc/self/mounts instead. > > So /proc/mounts should be a symlink to /proc/self/mounts?
; ls -l /proc/mounts lrwxrwxrwx 1 root root 11 Oct 4 20:13 /proc/mounts -> self/mounts ;
like that, perhaps? IOW, it's been done that way for almost 4 years already... - 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/
| |