Mark Shellenbaum wrote:
> As for displaying the attributes via 'ls', there is a separate
> effort by the Utilities Group to tackle this problem. There are
> two things that this project team can suggest:
As one datapoint, MacOS doesn't display anything for extended attributes
unless you use "ls -lo". And then if you do, sample output is:
% touch foo
% chflags uchg,opaque,nodump,uappend foo
% ls -lo foo
-rw-r--r-- 1 hugh wheel uappnd,uchg,nodump,opaque 0 Jun 7 21:08 foo
(there are many other flags)
Note that "-o" is already used for something else on Solaris, however.
> - The Utilities Team may choose to take advantage of the nvpair
> format returned by fgetattr(). This will allow them to format
> and display (name and value) all available system attributes.
Maybe a good idea, but also maybe incompatible with the "ls" format
above. Not that this should necessarily stop this choice.
Hugh.