[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Acl-Devel] attr_list(3) on XFS, headers and such



On Fri, 2002-03-29 at 02:48, Andreas Gruenbacher wrote:
> On Fri, 29 Mar 2002, Ben Martin wrote:
> 
> > I noticed that in the recent rpms for attr-devel there is a man
> > page for attr_list again, though there doesn't seem to be a declaration
> > in the headers for this function and nothing in the sources defining it.
> >
> > Should this function exist in a 2.4.18+ environment?
> 
> Looking at the version history, it seems attr_list has again been added to
> the CVS repository after having been deleted: <http://oss.sgi.com/cgi-bin/
> cvsweb.cgi/linux-2.4-xfs/cmd/attr/man/man3/attr_list.3>.
> 
> I am sure the XFS developers will respond in a few hours, when their
> working day starts.
> 
> Anyway, this function was there for backwards compatibility with Irix; I
> don't know the details about why it was removed. On Linux you should use
> the listxattr system call (see <http://acl.bestbits.at/man/man.shtml>).

ok, I have converted to the xattr(2) functions instead of the attr_list,
attr_get(), attr_set(). The only real difference still existing is that
previously I had been getting the "user.whatever" EA and presenting them
as "whatever" which was very handy for caching stuff like MD5 and
width/height of image files (both of which ferris can generate for you
if there is no existing EA). But that shouldn't be too hard to add into
my code prepending and chopping the user. part.

Thanks for the info.

> 
> 
> Cheers,
> Andreas.
-- 
-----------------------------------------------------
http://witme.sourceforge.net/libferris.web/