[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linking binfmt_misc with mime-types



On Wed, Oct 06, 1999 at 08:38:31PM +1000, Brian May wrote:
> - gcc looks at the file extension to determine what type the input file is.
> - gimp does the same.
> - magicfilter (do I need to say more?)
> - can't remember what xv does.
> - lots more - I am not wide awake at the moment ;-)

All those deal only with a limited set of files.

For these purpose, hard coding a convention of file suffixes is absolutely
acceptable.
 
> Currently, the file extension is used for a lot of things, but
> I think the filename should be for user identification of the
> file, and not for system identification.

Exactly. All those above are user programs :P

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de,     marcus@gnu.org    PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       brinkmd@debian.org


Reply to: