From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 10 02:54:15 2014 Return-Path: Delivered-To: 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 3E626A39 for ; Wed, 10 Sep 2014 02:54:15 +0000 (UTC) Received: from kithrup.com (Kithrup.COM [64.142.31.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09C7B3B3 for ; Wed, 10 Sep 2014 02:54:14 +0000 (UTC) Received: from kithrup.com (localhost [127.0.0.1]) by kithrup.com (8.14.4/8.14.4) with ESMTP id s8A2VVLA046427 for ; Tue, 9 Sep 2014 19:31:31 -0700 (PDT) (envelope-from sef@kithrup.com) Received: (from sef@localhost) by kithrup.com (8.14.4/8.14.4/Submit) id s8A2VVfr046426; Tue, 9 Sep 2014 19:31:31 -0700 (PDT) (envelope-from sef) Date: Tue, 9 Sep 2014 19:31:31 -0700 (PDT) From: Sean Eric Fagan Message-Id: <201409100231.s8A2VVfr046426@kithrup.com> To: hackers@freebsd.org Subject: Re: Tool to access ZFS/NFSv4 alternate data streams on FreeBSD? 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, 10 Sep 2014 02:54:15 -0000 In article Jordan K. Hubbard writes: >Well, if someone is willing to add copyfile(3) to FreeBSD (it does all >the magic) then the OS X versions of tar/pax/cpio/… are just forked >versions of the FreeBSD tools, but with copyfile(3) support for handling >(serializing / deserializing) EAs. copyfile(3)'s serialization sucks -- it's not streamable, and it's limited in terms of size. copyfile(3) as an API also has some serious limitations -- callbacks were added at exactly the wrong time (just before blocks were announced). On the other hand, it does work.