From owner-freebsd-arch@FreeBSD.ORG Tue May 3 15:53:34 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDD7A16A4CE for ; Tue, 3 May 2005 15:53:34 +0000 (GMT) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.202.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 657FE43D49 for ; Tue, 3 May 2005 15:53:34 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.30.114.143]) by comcast.net (sccrmhc14) with ESMTP id <20050503155328014009ohrqe>; Tue, 3 May 2005 15:53:29 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost.127.in-addr.arpa [127.0.0.1])j43FrmOs003864 for ; Tue, 3 May 2005 11:53:48 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)j43FrmNM003863 for freebsd-arch@freebsd.org; Tue, 3 May 2005 11:53:48 -0400 (EDT) (envelope-from rodrigc) Date: Tue, 3 May 2005 11:53:47 -0400 From: Craig Rodrigues To: freebsd-arch@freebsd.org Message-ID: <20050503155347.GA3768@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: Aligning extended attributes API with Mac OSX? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 15:53:34 -0000 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