From owner-freebsd-stable@FreeBSD.ORG Fri May 6 10:45:34 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 9B3FA16A4CE for ; Fri, 6 May 2005 10:45:34 +0000 (GMT) Received: from anduin.net (anduin.net [212.12.46.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ED7443D7C for ; Fri, 6 May 2005 10:45:34 +0000 (GMT) (envelope-from ltning@anduin.net) Received: from eirik.unicore.no ([213.225.74.166] helo=[10.0.16.10]) by anduin.net with esmtpa (Exim 4.50 (FreeBSD)) id 1DU0Kq-000Cud-Th; Fri, 06 May 2005 12:45:33 +0200 User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Fri, 06 May 2005 12:45:23 +0200 From: Eirik =?ISO-8859-1?B?2A==?=verby To: Danny Braniss Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit 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 10:45:34 -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? /Eirik > in initdiskless (5.x) we have: > > if [ -e /conf/union ]; then > kldload unionfs > mount_md 4096 /conf/etc > chmod 755 /conf/etc > mount_unionfs /conf/etc /etc > ls -R /etc > /dev/null > touch /etc/.sentinel > md_created_etc=created > fi > > danny > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >