On Fri, Aug 17, 2007 at 09:24:26AM -0400, erik quanstrom wrote:
> ron wrote:
>> On 8/17/07, Douglas A. Gwyn <[EMAIL PROTECTED]> wrote:
>>> What do you mean by "extended attributes"?
>>> I haven't noticed them on the Unix systems I use.
>>>
>> maybe I'm missing the question, but on my linux:
>> 
>> man -k extended | grep attrib | wc
>>     21     183    1417
>> libattr             (rpm) - Dynamic library for extended attribute support
>> fgetxattr [getxattr] (2)  - retrieve an extended attribute value
>> flistxattr [listxattr] (2)  - list extended attribute names
>> (etc. It's a lot like read but, as usual, it needs  a new set of
>> system calls ... 5 of them.
>> And ls can't show them,  but ... we have getfattr/setfattr
>>        The output format of getfattr -d is as follows:
>>                1:  # file: somedir/
>>                2:  user.name0="value0"
>>                3:  user.name1="value1"
>>                4:  user.name2="value2"
>>                5:  ...
>> 
>> 
>> it's everywhere. But it was too hard to put in in some normal way, so
>> it went in from the side.
>> 
>> ron
> 
> hey, how do you grep for stuff in extended attributes?
> 
> - erik

grepfattr, I should think.  (Now with ANSI color support!)

Reply via email to