From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 17 11:27:14 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C09F86B for ; Wed, 17 Sep 2014 11:27:14 +0000 (UTC) Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F15AF78 for ; Wed, 17 Sep 2014 11:27:14 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id fp1so1984063pdb.0 for ; Wed, 17 Sep 2014 04:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=4xbgvA/j23WWguSYrIt0yaTrECe16VrCNOdcUB0gfi8=; b=GaAmZ4QGKVzi3pG1E2RwSwBOrDugCnGJP4SROK+fkbTxhz4eXJrwxPlTF/HiioCIbg Q7xje2MK97Y706Dj+psclz+gwc6GcrA7Y6FSwxxkpopp9ZSVeXBRocZZ0bQj59OTjIQW b4i57JGLptIAlRg6lysv8UE906cYsP/KiyYNrszZzopqXhVaTH8P3LVepkaFSYOxse4U 7ZNmrn//lSM4A4YtO5ADyuCoaU+4N2nBKTkcaIjIjTSQfiLNm13ABjIFtGu6CnBwkLHm Cr22lNf4WbKS0wui646u5oOrcdKLAhKM51qFSzlk6ch4F4oGY9EXKEwLmrayL6dnqphm gclw== MIME-Version: 1.0 X-Received: by 10.68.109.5 with SMTP id ho5mr60758168pbb.13.1410953233936; Wed, 17 Sep 2014 04:27:13 -0700 (PDT) Received: by 10.66.82.37 with HTTP; Wed, 17 Sep 2014 04:27:13 -0700 (PDT) In-Reply-To: References: <220565922.34288992.1410298180362.JavaMail.root@uoguelph.ca> Date: Wed, 17 Sep 2014 13:27:13 +0200 Message-ID: Subject: Re: Tool to access ZFS/NFSv4 alternate data streams on FreeBSD? From: Simon Toedt To: Lionel Cons Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Freebsd hackers list , Richard Yao , Rick Macklem , Jordan Hubbard , Jan Bramkamp X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2014 11:27:14 -0000 On Mon, Sep 15, 2014 at 12:17 PM, Lionel Cons wr= ote: > On 12 September 2014 17:47, Simon Toedt wrote: >> On Fri, Sep 12, 2014 at 2:24 AM, Lionel Cons = wrote: >>> On 9 September 2014 23:29, Rick Macklem wrote: >>>> Simon Toedt wrote: >>>>> On Tue, Sep 9, 2014 at 1:47 PM, Rick Macklem >>>>> wrote: >>>>> > Jordan Hubbard wrote: >>>>> >> Yep. I was just describing the experience that OS X went through >>>>> >> in >>>>> >> implementing extattrs / legacy resource fork support. To recap it >>>>> >> very briefly: Having NFSv4 support extattrs (or even named >>>>> >> streams, >>>>> >> if you want to go that far) is the comparatively easy part. It=E2= =80=99s >>>>> >> backing them up / copying them around that gets more involved, and >>>>> >> if you can=E2=80=99t back up certain attributes then you=E2=80=99r= e not likely to >>>>> >> get anyone to want to use them, at which point the whole =E2=80=9C= sharing=E2=80=9D >>>>> >> aspect kind of takes a back seat. >>>>> >> >>>>> > Yep. I strongly suspect you are correct. >>>>> > >>>>> > The question then becomes: >>>>> > - Do we wait and see if someone chooses to get around to doing all >>>>> > the hard userland work. >>>>> >>>>> Solaris tools already have support for this. Also AT&T AST from David >>>>> Korn have support for O_XATTR, too. >>>>> >>>> Hopefully others will correct me if I have this incorrect, but I thoug= ht >>>> CDDL code could only be used for optional components of FreeBSD? >>>> I suspect tar and friends are considered core components and that code >>>> for this would have to be written by someone (ie. couldn't use CDDL co= de?). >>>> (I'm assuming that these tools are in OpenSolaris.) >>> >>> I don't think you FreeBSD should *copy* the code. But it can be used >>> for reference how the extended tar headers for filesystem forks should >>> look like. That's all. >>> >>>> >>>> Be aware that most of FreeBSD's development is done by volunteers in t= heir >>>> spare time, so I have no idea if someone is interested in doing this. >>> >>> If anyone can get the kernel parts I think we can sponsor someone to >>> do the userland work. >> >> How much money would CERN offer? :) >> >> Simon > > Depends. First I need to have more support (2nd funding pillar) and > then write a proposal. Short: Paperwork. Long: More paperwork. > But given the number of projects here which rely on O_XATTR there > isn't a way around it so funding should be easy to obtain. Our institute volunteers for testing! is there a task or todo list yet? Simon