Ferret File System

From Woozle Writes Code
Revision as of 15:35, 6 July 2021 by Woozle (talk | contribs) (Created page with "==About== Ferret File System (FFS) is actually two ideas which can work together or separately: ''storage agnosticism'' and ''file format agnosticism''. ===Storage Agnosti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

Ferret File System (FFS) is actually two ideas which can work together or separately: storage agnosticism and file format agnosticism.

Storage Agnosticism

Traditional filesystems present "drives" or "volumes" that more or less correspond to physical devices, each with its own invariable maximum capacity. This is the metaphor used across all interfaces, including user (GUI, CLI) and application (API).

FFS presents the user with a single storage space that unifies all storage to which the system has access but tracks the availability characteristics of each file. Immediately obvious attributes include:

  • location: What is the physical or metaphorical "place" from which a file is being accessed?
    • Examples: a particular device, a LAN, a building, "the internet"
  • frequency: How often does the file need to be accessed from that location?
    • Examples:
      • archival storage (rarely accessed)
      • social media archive (may vary dynamically)
      • local work (needed a lot by one or more devices, less in demand elsewhere)
      • playing media (immediate read access; write access can be slower or restricted; make local temporary copy)
  • criticality: How important is it to make sure that this file is not lost?
    • This can range from "temporary copy" to "mission-critical".

Ideally, FFS would determine the attributes of each file based on usage-patterns, but this will be done by a separate agent. There will also be an interface by which to set the initial (expected) availability attributes as well as to override the agent's algorithmic determinations.

FFS will move files around as needed to accommodate changing needs, as usage shifts and storage-device-space availability changes (due to being filled up, becoming unreliable, or other characteristics). It will also keep more extra copies, on different storage devices, of more critical data.

File Format Agnosticism

Traditional filesystems make certain assumptions about what metadata they need to track for each file – typically: creation date, modification date, file "extension" – which leaves applications to figure out how to present additional metadata they may need to store. This results in a proliferation of "file formats" which need to be understood in order to access that metadata or alter the file's contents without making it unusable.

FFS provides a mechanism for storing arbitrary semantic metadata. writing in progress