Date: Thu, 29 Apr 1999 06:44:45 +1000 (EST) From: John Birrell <jb@cimlogic.com.au> To: dot@dotat.at (Tony Finch) Cc: hackers@FreeBSD.ORG Subject: Re: Adding desktop support Message-ID: <199904282044.GAA28992@cimlogic.com.au> In-Reply-To: <E10cV9P-0007en-00@fanf.noc.demon.net> from Tony Finch at "Apr 28, 1999 3:17:23 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Tony Finch wrote: > adrian@freebsd.org wrote: > > > >If you want to do it for data, then you would have to make mime-type > >(or whatever you use to slap on a file type) part of the filesystem > >entry. > > What about using the magic directory, as used by file(1) and Apache's > mod_mime_magic? I have a separate proposal for magic(5) as used by file(1). For each file type, add a comment: #"file.xpm" immediately before the first magic value of each type. Since it is a comment, file(1) will ignore it, whereas other applications can look for it as a special case. It's a kludge, but it should work. I'm still prototyping that. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904282044.GAA28992>