xfs
[Top] [All Lists]

Re: how to use attr_multi() properly ?

To: "VR" <vreikine@xxxxxxxxx>
Subject: Re: how to use attr_multi() properly ?
From: nscott@xxxxxxxxxx
Date: Fri, 1 Feb 2008 15:10:07 +1100 (EST)
Cc: xfs@xxxxxxxxxxx
Importance: Normal
In-reply-to: <61a567a60801311439n668ed585t7c03a803da57244f@mail.gmail.com>
References: <61a567a60801311439n668ed585t7c03a803da57244f@mail.gmail.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: SquirrelMail/1.4.8-4.el4.centos
> Hi,
> ...
> Could you please advise on how to call attr_multi() to get a bunch of
> attributes at once properly, or is it better just do attr_get() in a
> loop ?

Its better to just use attr_get in a loop (attr_multi on Linux is just
a userspace wrapper around the xattr syscalls, and is provided for IRIX
compatibility only).

cheers.

--
Nathan


<Prev in Thread] Current Thread [Next in Thread>