9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kenji Arisawa <arisawa@ar.aichi-u.ac.jp>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] pjpeg in /sys/lib/memetype
Date: Fri, 14 Nov 2014 16:20:26 +0900	[thread overview]
Message-ID: <3FF3989A-C56A-4049-8351-5BD5CE98A733@ar.aichi-u.ac.jp> (raw)

Hello 9fans,

It is curious for me that ".jpg" has two lines in /sys/lib/mimetype.
term% grep jpeg /sys/lib/mimetype
.jfif		image		jpeg		-		y
.jfif-tbnl	image		jpeg		-		y
.jpe		image		jpeg		-		y
.jpeg		image		jpeg		-		y
.jpg		image		jpeg		-		y
.jpg		image		pjpeg		-		y
term%

The file is currently consulted by only two applications: mail and httpd.
I have thought that the file provides conventional way to determine mime type from file suffix. If so, what is the mime time for "foo.jpg"?

Kenji Arisawa




                 reply	other threads:[~2014-11-14  7:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FF3989A-C56A-4049-8351-5BD5CE98A733@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).