Hi,

one point for man 1 getextattr and against me:

The abort on the first file without attributes could be a feature,
if one is willing to count a non-existing requested attribute as
an error.
Option -f overrides this early abort. So my change proposal about
line 376 is not needed. (It was not complete anyway.)

-----------------------------------------------------------------

One could discuss whether a missing attribute is really an error.
Linux, which has more experience with using xattr, only issues
warnings but does not indicate error:

  $ getfattr -n user.uerg x x
  x: user.uerg: No such attribute
  y: user.uerg: No such attribute
  $ echo $?
  0

In contrast to a missing file:

  $ getfattr -n user.uerg xyz x
  getfattr: xyz: No such file or directory
  x: user.uerg: No such attribute
  $ echo $?
  1


Have a nice day :)

Thomas

Reply via email to