Skip to content

Document FileSystemType Interface - Value 5 #61

@LSantha

Description

@LSantha

FileSystemType Interface

Document the FileSystemType Interface JNode concept in the wiki.

Value: 5

Concept Summary

Interface for filesystem driver plugins with mount/detection. FileSystemType provides the standard interface that all filesystem drivers must implement, enabling filesystem plugins to integrate with the VFS layer.

Key Files

  • fs/src/fs/org/jnode/fs/FileSystemType.java

Occurrences

~100 references in filesystem package

Wiki Status

NOT documented

Bridges

Filesystem drivers, VFS, Plugin system

Instructions

Skill to Use

Use the [[update-wiki|update-wiki skill]] (load with skill({ name: "update-wiki" })) for understanding JNode internals.

Context Research>

Review FileSystemType.java to understand the plugin interface. Study how filesystem drivers implement this interface and how detection works. Research the relationship between FileSystemType and VirtualFS.

Update index.md

  • Pages table: Add entry for FileSystemType.md
  • Concepts → Pages table: Add "FileSystemType" mapping to [[FileSystemType]]
  • Source Path → Pages table: Add mappings for fs/src/fs/org/jnode/fs/FileSystemType.java
  • Task Routing table: Add relevant task route(s)

Task Routing Suggestions

  1. Adding new filesystem: FileSystemType is the entry point for new filesystem support
  2. Filesystem detection: Understanding detection mechanism is key
  3. Plugin integration: FileSystemType enables filesystem plugins

Wiki Page Structure

# FileSystemType Interface

> Interface for filesystem driver plugins with mount/detection.

## Overview
2-3 paragraph explanation of FileSystemType, its role in filesystem plugins, and how it enables filesystem detection and mounting.

## Key Components
| Class / File | Role |
|---|---|
| `fs/src/fs/org/jnode/fs/FileSystemType.java` | FileSystemType interface |

## How It Works
Explanation of how FileSystemType enables filesystem plugins, how detection works, and how filesystems are mounted.

## Gotchas & Non-Obvious Behavior
- Detection must be reliable and fast
- Multiple filesystems may support the same media type
- Plugin loading must be handled carefully

## Related Pages
- [[VFS-Layer]]
- [[Filesystem-Layer]]
- [[Plugin-System]]

Related Concepts: Filesystem plugin, VFS, Mount, Detection, Plugin system

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions