From owner-freebsd-fs@FreeBSD.ORG Fri Sep 3 06:36:42 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 258AB1065817 for ; Fri, 3 Sep 2010 06:36:42 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6E84B8FC0C for ; Fri, 3 Sep 2010 06:36:40 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA10898; Fri, 03 Sep 2010 09:36:38 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OrPt8-0006xz-LR; Fri, 03 Sep 2010 09:36:38 +0300 Message-ID: <4C809776.6000204@icyb.net.ua> Date: Fri, 03 Sep 2010 09:36:38 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100822 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Phillip Nordwall References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: ZFS mount_unionfs or ZFS overlay X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 06:36:42 -0000 on 03/09/2010 00:45 Phillip Nordwall said the following: > I'm trying to do a mount_unionfs of a zfs file system over another > filesystem and am getting an Operation not supported. If I try to do a zfs > mount -O (for an overlay) I get the following error: no overlay mounts > support on FreeBSD, ignoring. > > I'm thinking about digging into the code (guided by The Design and > Implementation of the FreeBSD Operating Sytem) to find out how to make zfs > union mounts work, but I figured I should ask here if there is a good reason > why it is not currently implemented. To be able to work as upper layer in unionfs a filesystem should have support for "whiteouts". This hint should get you started. -- Andriy Gapon