From owner-freebsd-stable@FreeBSD.ORG Fri May 6 11:14:46 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78F8716A51E for ; Fri, 6 May 2005 11:14:44 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 854ED43D6D for ; Fri, 6 May 2005 11:14:43 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1DU0n4-0004uf-0J; Fri, 06 May 2005 14:14:42 +0300 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Eirik =?ISO-8859-1?B?2A==?=verby In-Reply-To: Message from Eirik =?ISO-8859-1?B?2A==?=verby Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 06 May 2005 14:14:41 +0300 From: Danny Braniss Message-ID: cc: stable@freebsd.org Subject: Re: Current status of nullfs and/or unionfs? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2005 11:14:46 -0000 > On 06-05-05 09:25, "Danny Braniss" wrote: > > > > >> Interesting approach. Is this with 4.x or 5.x? How do you union-mount /etc > >> (mount command/fstab entry)? > >> > > > > been doing it since 4.x (i think x < 9) > > Any idea how unionfs will behave if stacked (more mounts on top of each > other)? I was playing with the thought of having a "template" jail directory > which I unionmount into my jails, then perhaps use your trick to union-mount > a md device into certain points in the jail. Got a gut feeling about that? i have the feeling that that will get into trouble :-), but im no expert here. If what you mean is: mount_unionfs /md-0 /jail-0 and then mount_unionfs /md-1 /jail-0/xyz which is not strickly 'stacked', might work and should be easy to try out, but IMHO, breaks the KISS principle :-) and also, im not sure if: mkdir /jail-0/xyz mount_unionfs /md-1 /jail-0/xyz is the same as the above. danny