Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 10:52:33 -0800
From:      Tim Kientzle <tim@kientzle.com>
To:        Jordan Hubbard <jkh@mail.turbofuzz.com>
Cc:        Freebsd hackers list <freebsd-hackers@freebsd.org>, Richard Yao <ryao@gentoo.org>, Rick Macklem <rmacklem@uoguelph.ca>, Pedro Giffuni <pfg@freebsd.org>, Cedric Blancher <cedric.blancher@gmail.com>
Subject:   Re: O_XATTR support in FreeBSD?
Message-ID:  <CA8B630F-4210-4E23-82D3-D2E3E4EB5C12@kientzle.com>
In-Reply-To: <BC41DB59-5868-432D-9452-00F420934E12@mail.turbofuzz.com>
References:  <820263347.19772534.1385247218007.JavaMail.root@uoguelph.ca> <BC41DB59-5868-432D-9452-00F420934E12@mail.turbofuzz.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 23, 2013, at 3:41 PM, Jordan Hubbard <jkh@mail.turbofuzz.com> =
wrote:

> I would start with libc and ask if it had anything similar to =
copyfile(3) =85

But less broken, please.

Libarchive uses copyfile() to fetch/restore extended attribute bundles
on Mac OS, but it=92s a pretty ugly API.  In particular, there=92s no =
way
to fetch/restore an EA bundle directly to/from memory; you must go
through an intermediate file on disk, which is slow and race-prone.

Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA8B630F-4210-4E23-82D3-D2E3E4EB5C12>