From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 12 00:24:13 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 443F6782 for ; Fri, 12 Sep 2014 00:24:13 +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 19652B25 for ; Fri, 12 Sep 2014 00:24:13 +0000 (UTC) Received: by mail-pd0-f171.google.com with SMTP id p10so11459864pdj.2 for ; Thu, 11 Sep 2014 17:24:12 -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=nNhIveQ0OEksg0ii7XxqO1h/ZxR8sOPmik64qZmUV0Q=; b=YMCg403/60FX2Vn0VyKveKtjViqLIMiQ9hUn9zhEu+/dGv9O7C3YVh9KLimXurO4pW gniclKwUzUYYeikBVI1Pj6JLO58k8OAknlQUy3Re6Th+REyaWrPquIqbNKyYXtFcQOif zjU65h3tnquAWaA+DaxZJmKNHs8qqqRIIJW1TV0OXh5aNNEh68bT4eEzdbPpBr1kkD+/ RkNAJtIjRlXJQX2rDI8ILQJZiBdTl9mxA1sa6n/TKDQ+qboHtr84FMEv6jJPMsXNeHsp qfU0pgRwGJKHr74ZL4HSTaXXw2h8sseZsKijtcL1OmIukWMBa1SU/NNZqfnqeEYrSpfx C1EA== MIME-Version: 1.0 X-Received: by 10.68.203.5 with SMTP id km5mr6143522pbc.91.1410481452651; Thu, 11 Sep 2014 17:24:12 -0700 (PDT) Received: by 10.70.132.2 with HTTP; Thu, 11 Sep 2014 17:24:12 -0700 (PDT) In-Reply-To: <220565922.34288992.1410298180362.JavaMail.root@uoguelph.ca> References: <220565922.34288992.1410298180362.JavaMail.root@uoguelph.ca> Date: Fri, 12 Sep 2014 02:24:12 +0200 Message-ID: Subject: Re: Tool to access ZFS/NFSv4 alternate data streams on FreeBSD? From: Lionel Cons To: Rick Macklem Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Freebsd hackers list , Simon Toedt , Jordan Hubbard , Richard Yao , 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 00:24:13 -0000 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 n= ot likely to >> >> get anyone to want to use them, at which point the whole =E2=80=9Csha= ring=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 thei= r > 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. Lionel