From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 15 10:17:42 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 4B2DA8A5 for ; Mon, 15 Sep 2014 10:17:42 +0000 (UTC) Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) (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 1EA6CBF8 for ; Mon, 15 Sep 2014 10:17:42 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id v10so6038232pde.3 for ; Mon, 15 Sep 2014 03:17:41 -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=n3QmchMtVLKRO+ERzbNV0xPt8ekOAmcMF9YxZqmMqbA=; b=gVks4K/ZElM90O44FVr+E3ZsCZflPciqMZjcI6tQTITcNz0L5/uOCRRmHWAIzX/QJ5 8joaAV6IGtEmfFfVG+09WkWt1QBvSA9HP7IN+2TfjREG/0T/EEfuCKlUlTePO5bUCP+u b1mt4GPfPZTOsaCw9sG87XhAnA9AO84fcCHWERqIZDkGGgNv9GN0/eWlg1wSBbPZF9kR fhW0orMJ6HG2V6G+kCejeBD9YvqrYZ4lvb/jYwcVx/hms8TCDrZYehBGo19NDyEX2OfR zDjbT5qBkw+C+ozuY5jxbVxehAlmw2W7eGzbuKXBTaUZpuNo9jGfhq20ZzzdNRef4Wh0 kJJA== MIME-Version: 1.0 X-Received: by 10.70.131.231 with SMTP id op7mr19813962pdb.91.1410776261464; Mon, 15 Sep 2014 03:17:41 -0700 (PDT) Received: by 10.70.132.2 with HTTP; Mon, 15 Sep 2014 03:17:41 -0700 (PDT) In-Reply-To: References: <220565922.34288992.1410298180362.JavaMail.root@uoguelph.ca> Date: Mon, 15 Sep 2014 12:17:41 +0200 Message-ID: Subject: Re: Tool to access ZFS/NFSv4 alternate data streams on FreeBSD? From: Lionel Cons To: Simon Toedt 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: Mon, 15 Sep 2014 10:17:42 -0000 On 12 September 2014 17:47, Simon Toedt wrote: > On Fri, Sep 12, 2014 at 2:24 AM, Lionel Cons w= rote: >> 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=9Cs= haring=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 though= t >>> 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 cod= e?). >>> (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 th= eir >>> 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. Lionel