[Unison-hackers] Unison and extended attributes (xattr) on Tiger?
Alan Schmitt
alan.schmitt at polytechnique.org
Fri Jun 23 12:24:03 EDT 2006
On 23 juin 06, at 16:12, Geoffrey Alan Washburn wrote:
> Extended attributes are now used to implement resource forks (as of
> MacOS 10.4), and extended attributes are available on Linux and
> several
> other Unixes (for ACLs among other things) so it would probably make
> things a bit cleaner to remove the resource fork code and add extended
> attribute support.
About the resource fork part, I'm not 100% sure. I think I read there
is unified access through the xattr functions, but that the storage
of resource forks is the same as before.
> I'm not aware of any limits on the size of the data an extended
> attribute can hold (other than perhaps size_t). Looking at the man
> pages, I can't see anything about a limit on the length of an
> attribute
> name. It is probably reasonable to assume they are less than 255 UTF8
> characters.
There is a recommendation not to have attributes bigger than 4KB, but
it is not a hard limit it seems.
Alan
--
Alan Schmitt <http://alan.petitepomme.net/>
The hacker: someone who figured things out and made something cool
happen.
.O.
..O
OOO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20060623/8b405db6/PGP-0001.pgp
More information about the Unison-hackers
mailing list