From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 12 15:47:28 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77270FB6 for ; Fri, 12 Sep 2014 15:47:28 +0000 (UTC) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (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 4B7D72F for ; Fri, 12 Sep 2014 15:47:28 +0000 (UTC) Received: by mail-pd0-f171.google.com with SMTP id p10so1491379pdj.2 for ; Fri, 12 Sep 2014 08:47:28 -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=BBaHArMEsVhoHd34qM8IEnmAn4/Z7hzdpXdFDWhuuqU=; b=Vygkg+q17KbczSBVzaJtaXHcu9GfhbnpOXK5edahS8Blx3ydvo2e3NtiaTlKvLn/RE MShjgR/nBVTFoO7PanwLlNkYqKFRhAyMQdklG2KkoXIXIEInMKpzedgzN1z2GfYgb21+ j14u1zWaL33U3MP7jSpPEXBLLY2er1kjd5gVsF9B4QfiEvcNjfCaEio8j/jS3PcJNMSE wgZtq2QcTwj+w5PHWidQO6fBCGpKUNQGoCwPz5OuxXNN49faXMf5f+0ay9pOTHOjUimH gu6p2CKoUMNHaF2mMgUaV9/pKy42zWUJ1jG0GTkgGh4ZWkf/J7Fde9YMyjrK9ORoj8Xu zn9w== MIME-Version: 1.0 X-Received: by 10.68.109.5 with SMTP id ho5mr13758192pbb.13.1410536847930; Fri, 12 Sep 2014 08:47:27 -0700 (PDT) Received: by 10.66.82.37 with HTTP; Fri, 12 Sep 2014 08:47:27 -0700 (PDT) In-Reply-To: References: <220565922.34288992.1410298180362.JavaMail.root@uoguelph.ca> Date: Fri, 12 Sep 2014 17:47:27 +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: Fri, 12 Sep 2014 15:47:28 -0000 On Fri, Sep 12, 2014 at 2:24 AM, Lionel Cons wro= te: > 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=99re = not likely to >>> >> get anyone to want to use them, at which point the whole =E2=80=9Csh= aring=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 thought >> 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 code= ?). >> (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 the= ir >> 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