Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 11:53:47 -0400
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        freebsd-arch@freebsd.org
Subject:   Aligning extended attributes API with Mac OSX?
Message-ID:  <20050503155347.GA3768@crodrigues.org>

next in thread | raw e-mail | index | archive | help
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@crodrigues.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050503155347.GA3768>