Skip to main content

File System Ontology

Storage Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 09 November 2026
Audio Overview
SEMANTIC LIBRARY — FILE SYSTEM ONTOLOGY
FLOW ALGEBRA v1.0 — CONSTRUCTED MAPPING

CATEGORY: Computational Entities > Storage Entities
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/storage-entities/file-system-ontology-2.html
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE COPYRIGHT: © Mark Anthony Higgins, 11 October 2025
SOURCE REVISED: 02 August 2026
MAPPING DATE: 09 November 2026
STATUS: Independently constructed Flow Algebra mapping; the full embedded specification was not accessible in the retrieved page text. This is not a verbatim extraction.

1. PURPOSE
Represent a file system as a stateful, constrained mapping from named paths and file identifiers to stored objects, metadata, permissions and physical/logical storage blocks. Model namespace operations, allocation, consistency, persistence and recovery.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = {request, path, object_id, operation, caller, payload, timestamp}
R_t = {namespace rules, path resolution, allocation rules, access control, consistency rules, recovery rules}
B_t = {mount boundary, quota, capacity, permissions, supported operations, failure domain}
K_t = {directory tree, inode/object table, block map, free space map, journal, snapshots, access history}

3. CORE ENTITIES
FileSystem, Volume, MountPoint, Directory, File, Path, DirectoryEntry, FileIdentifier, Metadata, Permission, Owner, Block, Extent, FreeSpaceMap, Journal, Transaction, Snapshot, Device, Process, User, Error.

4. RELATIONSHIP GRAPH
FileSystem --mounted_at--> MountPoint
FileSystem --manages--> Volume
Directory --contains--> DirectoryEntry
DirectoryEntry --references--> FileIdentifier
FileIdentifier --has_metadata--> Metadata
FileIdentifier --maps_to--> Block/Extent
FileSystem --maintains--> FreeSpaceMap
FileSystem --records--> Journal
Process --requests--> FileSystemOperation
User --authorised_by--> Permission
Snapshot --captures--> FileSystemState

5. FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | constraints(x, B_t, K_t) = true}
a_t = argmax[x in V_t] P(x | I_t, R_t, B_t, K_t)
S_(t+1) = update(S_t, a_t, observed_result)
If V_t = empty, return a typed failure without mutating committed state.

6. OPERATION FLOWS
CREATE: resolve parent -> check permission and name uniqueness -> allocate identifier -> insert directory entry -> commit metadata.
READ: resolve path -> check read permission -> map logical offsets to extents -> retrieve blocks -> verify result.
WRITE: resolve target -> check write permission and quota -> allocate/modify blocks -> update metadata -> commit according to durability policy.
RENAME: resolve source and destination -> validate namespace and permissions -> atomically update entries when supported -> commit.
DELETE: resolve entry -> check permission -> unlink entry -> reclaim object and blocks only when reference/lifecycle rules permit.
MOUNT: validate device and file system -> check compatibility and access -> attach namespace -> expose root.
RECOVER: inspect persisted metadata/journal -> replay or roll back incomplete transactions as appropriate -> verify consistency -> expose recovered state.

7. FORMAL INVARIANTS
INV-01: Every live directory entry resolves to a valid object identifier.
INV-02: A block is not allocated to incompatible owners without an explicit sharing mechanism.
INV-03: A caller cannot perform an operation lacking required authorisation.
INV-04: Allocated space plus available space and reserved/overhead space is bounded by volume capacity.
INV-05: Committed namespace and metadata updates satisfy the file system's declared consistency model.
INV-06: Path resolution cannot escape the authorised namespace boundary.
INV-07: Recovery guarantees must not exceed the actual durability mechanism.

8. INFERENCE RULES
IF target path is absent AND operation is READ THEN outcome = NOT_FOUND.
IF permission check fails THEN outcome = ACCESS_DENIED.
IF requested allocation exceeds available capacity or quota THEN outcome = NO_SPACE_OR_QUOTA.
IF metadata references missing extents THEN outcome = CONSISTENCY_ERROR.
IF an incomplete journal transaction is detected THEN invoke recovery policy before declaring a consistent mounted state.
IF a directory contains an entry THEN its target must be resolvable or explicitly marked invalid.

9. RECURSIVE PROCESSING ENGINE
function RESOLVE(directory, components):
  if components is empty: return directory
  check traversal permission(directory)
  entry = lookup(directory, head(components))
  if entry absent: return NOT_FOUND
  if entry is a symbolic link: apply bounded link-resolution policy
  return RESOLVE(entry.target, tail(components))

Recursive traversal terminates on exhausted components, detected cycles, depth limits or access failures. This illustrative procedure is explanatory; the formal flow is governed by the constraints above.

10. EXECUTION GUARANTEE AND LIMITS
A successful flow requires valid input, permitted operation, available resources, and a supported commit mechanism. No guarantee of crash durability, atomicity across devices, or data recovery is implied without an explicitly defined file-system implementation and persistence policy.

11. TRI-MAPPING
ENTITY: FileSystem / Directory / File / Block / Metadata
RELATION: contains / references / maps_to / authorised_by / persists_to
PROCESS: resolve / validate / allocate / read / write / commit / recover

12. EXAMPLE EXECUTION
Input: CREATE /research/flows/example.txt
Resolve /research/flows -> validate parent and caller -> verify unused name -> allocate identifier and storage as needed -> commit entry and metadata -> return object identifier and status.
Failure branches: missing parent, access denied, duplicate name, quota exhausted, I/O failure.

13. CITATION AND PROVENANCE
Source title: File System Ontology
Source URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/storage-entities/file-system-ontology-2.html
Source authors: Mark Anthony Higgins — Sky Recursive AI
Mapping: Constructed Flow Algebra representation prepared 09 November 2026.
This mapping must not be described as a complete transcription of the source's hidden or inaccessible embedded specification.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ