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

Don Cragun don.cragun at sun.com
Tue Jul 3 09:54:05 PDT 2007


>Date: Mon, 02 Jul 2007 13:17:06 +0100
>From: Darren J Moffat <Darren.Moffat at sun.com>
>
>Project team:
>
>I really like that the project team chose to extend ls(1) rather than 
>doing what other systems did by introducing an additional tool, 
>particularly given that ls(1) can fully display acls now.

Thanks.

>
>Was consideration given to just extending the meaning of -V so that it 
>also displayed system attribute info as well as the verbose ACL ?

Yes.  The project team chose not to do that because it could break
scripts that are using ls to process ACLs.

>
>The syntax "-/" seems strange to me but I guess no stranger than what we 
>already have with "-@".  When I saw the title of the case and this new 
>option I first match this to "dir /p" from MS-DOS era.
>
>As an aside had I been choosing a non alphanumeric char for this I would 
>have picked '$' since it has to me some connection to system from other 
>OSes that I've used.  But as I said just an aside.

The project team considered -$, but quickly abandonded it due to the
special handling users have to perform to keep '$' from being evaluated
by the shells as a variable expansion request.

>
>-- 
>Darren J Moffat



More information about the opensolaris-arc mailing list