[media-types] How about "filesystem/" types?

Tomasz Sobczyk <tomasz@fumu-no-kagomeko.kueea.info> Sun, 26 January 2020 02:59 UTC

Return-Path: <tomasz@fumu-no-kagomeko.kueea.info>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E1A212008D for <media-types@ietfa.amsl.com>; Sat, 25 Jan 2020 18:59:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.665
X-Spam-Level:
X-Spam-Status: No, score=0.665 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fumu-no-kagomeko.kueea.info
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id brqR0Rj7eHQk for <media-types@ietfa.amsl.com>; Sat, 25 Jan 2020 18:59:55 -0800 (PST)
Received: from pechora6.dc.icann.org (pechora6.icann.org [192.0.46.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0121C12001E for <media-types@ietf.org>; Sat, 25 Jan 2020 18:59:54 -0800 (PST)
Received: from fumu-no-kagomeko.kueea.info (87-206-171-188.dynamic.chello.pl [87.206.171.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pechora6.dc.icann.org (Postfix) with ESMTPS id DEABA1E0529 for <media-types@iana.org>; Sun, 26 Jan 2020 02:59:53 +0000 (UTC)
Received: from [192.168.0.2] (honden.fumu-no-kagomeko.kueea.info [192.168.0.2]) by fumu-no-kagomeko.kueea.info (Postfix) with ESMTPSA id 019BF50975 for <media-types@iana.org>; Sun, 26 Jan 2020 03:59:28 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.10.3 fumu-no-kagomeko.kueea.info 019BF50975
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fumu-no-kagomeko.kueea.info; s=20170310; t=1580007569; bh=UgassathnmWiDTu7ZwvYUqv50QeTMOzViu76+DnGTiI=; h=To:From:Subject:Date; b=LMQk5wPC2AfH2M/RWfL+hri+wB08a0LB3XYtQl5IWZ00bOXl41u5w7XRPX1lL71cq PaRBJu/1dvU1RaCBhZ9d6KRaqz/uc9k1gFgiikAwPzYmZwD1xyJgFsDbvqMCSSrJWc udomsKTEQCW6+JcnR5/XGdGkC0F7D8AJ229CM0oCTrfmAavjUB9hvaK0F4g72YO7jO 30AuiKlxe10Ds7QMaiTMYegIptornirH89KDx/3qyKxig2ReBGqGZp4cR77Uigfa4t DrDCnXD41S6WU6XRX+TxKH4Y6ZT/zCtD5HdCLuuhaWmT6/3xXtHKRBGlVD0YkGQfWi g8wo4+UKu0KtQ==
To: media-types@iana.org
From: Tomasz Sobczyk <tomasz@fumu-no-kagomeko.kueea.info>
Message-ID: <e06909e9-cafa-1b71-11d6-4dc17b6d647e@fumu-no-kagomeko.kueea.info>
Date: Sun, 26 Jan 2020 03:59:25 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.2 (pechora6.dc.icann.org [192.0.46.72]); Sun, 26 Jan 2020 02:59:54 +0000 (UTC)
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/xP9Tmf2JfxwpcN3YTk6Du7IUPQU>
X-Mailman-Approved-At: Sun, 26 Jan 2020 09:24:39 -0800
Subject: [media-types] How about "filesystem/" types?
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 26 Jan 2020 03:03:13 -0000

Hello,

I would like to propose and hear your opinions about a top-level type
for all kinds of filesystem images. These would also include formats
that are commonly referred to as "archives", because these "archives" are
technically filesystem images where file data hassimply been compressed.

These "archives" could be mounted, but that is unpractical due to the fact
the compression method does not allow for random access and the formats are
not suited for file editing. The term "archive" comes from their purpose -
they are used for archival, the word has no connection to the format itself.

I would like to propose it because of the following reasons:

1. There are quite a lot of filesystem formats used in transit,
    most notably ZIP, RAR and ISO 9660 images.
2. There are common operations that one does on a filesystem,
    namely filesystems can be browsed, mounted, one can add a file,
    remove a file, extract a file from a filesystem, etc.
3. Filesystems are collections of various resources, which does not
    necessarily need to have anything in common. Filesystems may contain
    files that are completely unrelated to each other.
4. Personally, I think that there should be as less as possible subtypes
    under "application", because every resource is meant for some kind of
    application. "application" is basically "other" or "uncategorized".
    Having a whole bunch of types there defeats the purpose of a top-level
    type in my opinion. We might as well just use flat strings.

My proposed top-level type name is "filesystem". All subtypes under this 
type
would be required to define a structured syntax name suffix, maybe with
a common prefix like "fs!". For example, given "filesystem/zip" would 
exists,
there would be an "application/epub+fs!zip". An application which does not
undersand "application/epub+fs!zip" could infer that its a (ZIP) filesystem
and maybe present a filesystem browser to the user, for example. Generally,
the resource could be passed to some external filesystem browser application
that could support an arbitrary amount of filesystem images. The presence of
"+fs!" would indicate that this browser might be able to work with it.

What do you think?

Tomasz