[OT] File type on UNIX

retard re at tard.com.invalid
Mon Sep 20 13:33:42 PDT 2010


Tue, 21 Sep 2010 02:40:18 +0800, KennyTM~ wrote:

> On Sep 21, 10 01:43, "Jérôme M. Berger" wrote:
>> KennyTM~ wrote:
>>> Your definition of Unix is wrong then. Unix *only* specifies the API
>>> (system interface and headers) and the command-line utilities. You
>>> *are* confusing Unix and the distro.
>>>
>>> Ref: http://www.opengroup.org/onlinepubs/9699919799/
>>
>> 	That's not UNIX, that's POSIX! And by that definition, Windows
>> would be UNIX too...
>>
>> 		Jerome
> 
> Looks like we have no point keep discussing on this since we have
> different view on what Unix means.
> 
> My points are just:
>   - in the CLI the type of regular file is usually irrelevant. - Unix
>   (i.e. POSIX) doesn't specify how should the desktop component
> of the operating system determine the type of a regular file. Free
> desktop environments (e.g. Gnome, KDE, XFCE) stores the file type as
> MIME type.

The post by Jonathan M Davis ( http://www.digitalmars.com/webnews/
newsgroups.php?art_group=digitalmars.D&article_id=117660 ) was the most 
informative post in this thread. You should both study that carefully.


More information about the Digitalmars-d mailing list