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:45:27 PDT 2007
>Date: Sun, 01 Jul 2007 16:54:28 +0100
>From: Jeremy Harris <jgh at wizmail.org>
>
>Don Cragun wrote:
>> 4. Technical Description
>> ... ... ...
>> This fasttrack case adds two new options ("-/ flag" and "-% timestamp")
>> to the ls utility to display the new system attributes and to allow the
>> file creation timestamp attribute to be used (as well as the atime,
>> ctime, and mtime timestamps) for sorting the list of files displayed.
>
>Linux seems to have a new command in this region: "lsattr".
>Ref: http://linux.about.com/library/cmd/blcmdl1_lsattr.htm
>
>Was this approach considered? Do we risk incompatibility?
The project team considered this approach and decided that ls is the
appropriate utility to list file attributes whether those attributes be
one of the three original timestamps, the file mode bits, or ACLs
already handled by ls or the new creation time timestamp and the new
extended system attributes.
There is no incompatibility. If lsattr proves to be popular, there is
no reason why this version of ls and lsattr cannot coexist. And, the
output from any ls command in a script today is unchanged by this
proposal. The ls output changes only if one of the new options appears
when the command is invoked.
- Don
>
>- Jeremy Harris
More information about the opensolaris-arc
mailing list