Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2010 17:22:30 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-hackers@freebsd.org, Boyko Yordanov <b.yordanov@exsisto.com>
Subject:   Re: CLONE_NEWNS or similar in freebsd?
Message-ID:  <4C181946.7040405@elischer.org>
In-Reply-To: <4C17E1A7.90307@icyb.net.ua>
References:  <EF565524-1B4D-4F7D-AFA3-E9DCC02C03CF@exsisto.com> <4C17E1A7.90307@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/15/10 1:25 PM, Andriy Gapon wrote:
> on 15/06/2010 17:42 Boyko Yordanov said the following:
>> Hi List,
>>
>> I have an app that uses linux's clone() syscall (with the CLONE_NEWNS flag).
>> I need to migrate this app to freebsd.
>>
>> Is there similar functionality in freebsd? For what I read fork() and rfork()
>> wont do the trick. I need the children to have their own private mount
>> namespaces.
>
>
> I am afraid that FreeBSD doesn't have this capability.
> There is a single mount namespace per whole system image.
> BTW, I am intrigued, in what situations this flag is useful?
>


See his other email for more detail on what he wants.
I have not heard of this before and you are correct in that we do not 
have this capacity.
I have considered giving jails the capacity to have their own 'real /' 
  i.e. have a totally different filesystem name space (not just a 
chroot). Then when the jail is removed  then namespace would 
disappear. but that's sort of different.

Julian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C181946.7040405>