I was looking at the attr and it left me a bit puzzled.
(1) Of minor consideration, was the statement about 'values can be up
to 64KB'... But there is no mention of how many names can be present
or if there is a cumulative maximum on the names or on the data. I thought
I remembered there was, but all I found was limits on single datums.
(2) A more confusing issue was the bit describing XFS as having 2
namespaces, but later the selectors for the names spaces are given as
[none] = user, [R] = root, and [S] = Security -- making it sound like 3
namespaces. So, how many attrib namespaces are their, 2 or 3?
(3) Adding a bit more to pique my curiosity, I noticed that
file ACL's were in the root-namespace, not the security attribute namespace.
Wouldn't it make more sense if access control was considered a security
Another point of confusion was on the attrib manpage where it says:
The list option present in the IRIX version of this command is
ported. getfattr provides a mechanism to retrieve all of the
(4) What does that mean? i.e.:
when I use attr -l:
> attr -l openssh-6.1p1-hpn13v14.diff.gz
Attribute "DOSATTRIB" has a 56 byte value for openssh-6.1p1-hpn13v14.diff.gz
Attribute "SAMBA_PAI" has a 25 byte value for openssh-6.1p1-hpn13v14.diff.gz
or addint the -q switch with -l:
> attr -ql openssh-6.1p1-hpn13v14.diff.gz
Does "not supported" mean that it is working by accident and may be
removed ... because....[_________???______]?
getfattr is suggested as a replacement, but
(5) how can it be used to list the lengths? and
(6) how can it be used to list the Security or Root namespaces?
Sorry for all the Q's, but it seemed like there were some missing pieces...