Aligning extended attributes API with Mac OSX?

Craig Rodrigues rodrigc at crodrigues.org
Tue May 3 08:53:34 PDT 2005


Hi,

An extended attributes API was just added to Mac OSX 10.4.
This API looks very similar to FreeBSD's.
Right now there is no POSIX standard for extended attributes,
but EA are useful for many different types of things.

I don't know if EA are widely used in applications on FreeBSD,
but what do people think about aligning our API with
Mac OSX?

Here are the man pages for some of the API's:

http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/listxattr.2.html
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/setxattr.2.html
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/removexattr.2.html#//apple_ref/doc/man/2/removexattr
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/getxattr.2.html#//apple_ref/doc/man/2/getxattr 


The FreeBSD equivalents are documented in extattr(2).

-- 
Craig Rodrigues        
rodrigc at crodrigues.org


More information about the freebsd-arch mailing list