From: arisawa <arisawa@ar.aichi-u.ac.jp>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Pjpeg in /sys/lib/mimetype
Date: Sun, 16 Nov 2014 09:20:11 +0900 [thread overview]
Message-ID: <8623766F-C1A7-4D9E-910E-F5B92171CD92@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <FD816AF6-F68E-4D0B-AF9F-889BA07D395F@ar.aichi-u.ac.jp>
Hello,
I believe the line:
.jpg image pjpeg - y
should be removed.
I found another curiosity in the file.
term% grep compress /sys/lib/mimetype
.Z - - compress m
.taz application x-tar compress m
.trz application x-tar compress m
.z - - compress m
.Z - - compress m
term%
Does this mean that file suffixes are case sensitive in determining the mime type?
If so, should files with suffix “.JPG” be renamed to “.jpg” ?
Kenji Arisawa
2014/11/14 21:13、arisawa <arisawa@ar.aichi-u.ac.JP> のメール:
> Hello,
>
> It is curious for me that ".jpg" has two entries 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 thought that the file provides conventional way to determine mime type from file suffix.
> If so, what is the mime type for "foo.jpg"?
>
> Kenji arisawa
>
>
next prev parent reply other threads:[~2014-11-16 0:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 12:13 arisawa
2014-11-16 0:20 ` arisawa [this message]
2014-11-17 13:40 ` Steffen Nurpmeso
2014-11-17 14:20 ` lucio
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=8623766F-C1A7-4D9E-910E-F5B92171CD92@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).