Hugh McIntyre <lists at mcintyreweb.com> wrote:
> 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.
This has been taken from FreeBSD.
The -o flag is a SysV option that has been around for more than 20 years.
This option is part of the POSIX standard.
Unfortunately FreeBSD did choose -o for printing file flags.
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily