From owner-freebsd-arch@FreeBSD.ORG Tue May 3 19:00:24 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 209B416A4D6 for ; Tue, 3 May 2005 19:00:24 +0000 (GMT) Received: from delight.idiom.com (delight.idiom.com [216.240.32.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2921043D94 for ; Tue, 3 May 2005 19:00:12 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id C55B51EFB50; Tue, 3 May 2005 12:00:07 -0700 (PDT) Received: from [192.168.2.3] (home.elischer.org [216.240.48.38]) by idiom.com (8.12.11/8.12.11) with ESMTP id j43J05HW041622; Tue, 3 May 2005 12:00:07 -0700 (PDT) (envelope-from julian@elischer.org) Message-ID: <4277CA33.3060706@elischer.org> Date: Tue, 03 May 2005 12:00:03 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050424 X-Accept-Language: en, hu MIME-Version: 1.0 To: Craig Rodrigues References: <20050503155347.GA3768@crodrigues.org> In-Reply-To: <20050503155347.GA3768@crodrigues.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-arch@freebsd.org Subject: Re: 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 19:00:24 -0000 Craig Rodrigues wrote: > Hi, > > An extended attributes API was just added to Mac OSX 10.4. > This API looks very similar to FreeBSD's. though one is ascii and the other is UTF8 and one is name:value and the other is name=value > 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). >