ls(1) new command line options '-/' and '-%': CIFS system attributes support [PSARC/2007/394 FastTrack timeout 07/11/2007]

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Tue Jul 3 10:23:54 PDT 2007


Darren J Moffat <Darren.Moffat at sun.com> wrote:

> > Yes.  The project team chose not to do that because it could break
> > scripts that are using ls to process ACLs.
>
> Is the syntax of the -v an -V ACL display defined in PSARC/2006/043 
> actually intended to be and given a taxonomy that allows for parsing ? 
> That arc case doesn't actually say what stability the output has.
>
> Also given that it is really still quite new and currently only applies 
> to ZFS and NFSv4 anyway (for -V) I think the risk of extending it is 
> minimal and would be my preferred outcome.
>
> One has to know what the underlying filesystem actually is to know what 
> output style you will get from -v and -V (UFS,TMPFS,NFSv3 will give very 
> different output than NFSv4 and ZFS) means that parsing the output of 
> ls(1) is very complex and IMO unlikely to be reliable anyway.

If I understand you correctly, you like to propose to add an optional argument
to -V. This is something POSIX does not like.

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



More information about the opensolaris-arc mailing list