Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752824AbcCKWYG (ORCPT ); Fri, 11 Mar 2016 17:24:06 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:58911 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752685AbcCKWYD (ORCPT ); Fri, 11 Mar 2016 17:24:03 -0500 Date: Fri, 11 Mar 2016 22:24:01 +0000 From: Al Viro To: Cole Cc: LKML , "Austin S. Hemmelgarn" , Richard Weinberger Subject: Re: Variant symlink filesystem Message-ID: <20160311222401.GV17997@ZenIV.linux.org.uk> References: <56E327FF.1010103@nod.at> <56E3298A.1040008@nod.at> <56E32CD3.1010705@gmail.com> <20160311215106.GU17997@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 993 Lines: 19 On Sat, Mar 12, 2016 at 12:03:11AM +0200, Cole wrote: > This was one of the first solutions we looked at, and using various > namespaces. However we would like to be able to have multiple terminal > sessions open, and be able to have each session using a different > mount point, or be able to use the other terminals mount point, i.e. > switching the mount point to that of the other terminals. We would > also like the shell to be able to make use of these, and use shell > commands such as 'ls'. > > When we originally looked at namespaces and containers, we could not > find a solution to achieve the above. Is this possible using > namespaces? I'd try to look at setns(2) if you want processes joinging existing namespaces. I'm afraid that I'll need to get some sleep before I'll be up to asking the right questions for figuring out what requirements do you have and what's the best way to do it - after a while coffee stops being efficient and I'm already several hours past that ;-/