Well, it's been a total failure

retard re at tard.com.invalid
Wed Sep 15 13:51:19 PDT 2010


Wed, 15 Sep 2010 15:48:32 -0400, Nick Sabalausky wrote:

> "Jonathan M Davis" <jmdavisProg at gmx.com> wrote in message
> news:mailman.225.1284568096.858.digitalmars-d at puremagic.com...
>>
>> If you're on a non-Windows system, the mime-type becomes far more
>> important than
>> the extension. Most programs in Linux (and I believe MacOS X as well)
>> don't care
>> about the extension. They just look at the mime type. Extensions become
>> almost
>> entirely a thing for the user. So, whether your file is useable becomes
>> more of
>> an issue of known mime type than known extension. Still, you don't
>> generally
>> want to just be making up extensions.
>>
>>
> I didn't think unix file systems had a concept of mime type.

Yep, they don't. The new file systems like reiserfs have support for 
arbitrary metadata fields, IIRC. But for example the standard Linux 
distributions have their mime/extension associations in /etc/mime.types


More information about the Digitalmars-d mailing list