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
|