From owner-freebsd-arch@FreeBSD.ORG Tue May 3 16:48:08 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 9E86C16A4CE for ; Tue, 3 May 2005 16:48:08 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC9C843D76 for ; Tue, 3 May 2005 16:48:07 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.21] (rat.samsco.home [192.168.254.21]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j43GpDBm056647; Tue, 3 May 2005 10:51:13 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4277AAE7.8070006@samsco.org> Date: Tue, 03 May 2005 10:46:31 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050321 X-Accept-Language: en-us, en 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 X-Spam-Status: No, score=-2.2 required=3.8 tests=ALL_TRUSTED,REMOVE_PAGE autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org 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 16:48:08 -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. > 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). > Evaluating the OSX model and aligning with it is something that is going to be looked at in the coming months for sure. Scott