xfs
[Top] [All Lists]

Re: dmapi attributes question

To: John Groves <John@xxxxxxxxxx>
Subject: Re: dmapi attributes question
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Mon, 28 Mar 2005 11:29:23 -0600
Cc: linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
The namespace is called "trusted" on Linux, though XFS still uses ATTR_ROOT to
indicate this namespace.  Other than that, I can't help right now.

Dean


>From:  John Groves <John@xxxxxxxxxx>
>
>When I set an attribute via dmapi, I haven't figured out how to retrieve 
>it with attr or getfattr.  "getfattr -d" shows nothing unless there were 
>attributes that I set via attr or setfattr (which show up as user 
>attributes, even if set by root; I get an error if I put a '$' in front 
>of the name, which I thought was the way to designate a root attribute). 
>
>I can retrieve the dmapi attributes via dmapi, however, so I know 
>they're there.  I'm using the latest CVS 2.4 kernel and xfs-cmds code 
>(as of last week some time, that is).
>
>I don't think I fully understand attribute namespaces.  I would expect 
>the dmapi attributes to be in root space, I suppose (in part because I 
>can't see them in the user namespace).  The attr man page says use the 
>"-R" arg to access root attributes, but I get this message: "attr_get: 
>Operation not supported".  The man page for getfattr doesn't mention 
>root space attributes at all.
>
>I can certainly just do my own little dmapi attribute retrieval program 
>that uses dmapi to get attributes, but I would like to understand where 
>dmapi attributes reside.
>
>Thanks for any enlightenment,
>John Groves
>
>


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