VirtualDevices
Document the VirtualDevices JNode concept in the wiki.
Value: 4
Concept Summary
Software-only devices not backed by hardware (RAM disk, loopback, etc.). VirtualDevices provide the foundation for software-only device types, enabling virtual storage, testing, and other software-based functionality.
Key Files
- core/src/driver/org/jnode/driver/virtual/VirtualDevice.java
- core/src/driver/org/jnode/driver/virtual/VirtualDeviceDriver.java
Occurrences
~80 references in virtual package
Wiki Status
NOT documented
Bridges
Device framework, Block devices, Filesystems
Instructions
Skill to Use
Use the [[update-wiki|update-wiki skill]] (load with skill({ name: "update-wiki" })) for understanding JNode internals.
Context Research
Study VirtualDevice.java and VirtualDeviceDriver.java to understand the virtual device implementation. Review how virtual devices differ from hardware devices, how they're registered with DeviceManager, and how they're used by filesystems. Research how virtual devices integrate with the device framework.
Update index.md
- Pages table: Add entry for VirtualDevices.md
- Concepts → Pages table: Add "VirtualDevices" mapping to [[VirtualDevices]]
- Source Path → Pages table: Add mappings for
core/src/driver/org/jnode/driver/virtual/
- Task Routing table: Add relevant task route(s)
Wiki Page Structure
# VirtualDevices
> Software-only devices not backed by hardware (RAM disk, loopback, etc.).
## Overview
2-3 paragraph explanation of VirtualDevices, their role in JNode, and how they enable software-only device functionality.
## Key Components
| Class / File | Role |
|---|---|
| `core/src/driver/org/jnode/driver/virtual/VirtualDevice.java` | Virtual device interface |
| `core/src/driver/org/jnode/driver/virtual/VirtualDeviceDriver.java` | Virtual device driver |
## How It Works
Explanation of how virtual devices work, how they differ from hardware devices, how they're integrated with the device framework, and how they're used.
## Gotchas & Non-Obvious Behavior
- Virtual devices must appear like real devices to drivers
- Resource management may differ from hardware devices
- Testing may require different handling
## Related Pages
- [[DeviceManager]]
- [[BlockDeviceLayer]]
- [[Filesystem-Layer]]
Related Concepts: Virtual devices, RAM disk, Loopback, Software devices, Device framework
VirtualDevices
Value: 4
Concept Summary
Software-only devices not backed by hardware (RAM disk, loopback, etc.). VirtualDevices provide the foundation for software-only device types, enabling virtual storage, testing, and other software-based functionality.
Key Files
Occurrences
~80 references in virtual package
Wiki Status
NOT documented
Bridges
Device framework, Block devices, Filesystems
Instructions
Skill to Use
Use the [[update-wiki|update-wiki skill]] (load with
skill({ name: "update-wiki" })) for understanding JNode internals.Context Research
Study VirtualDevice.java and VirtualDeviceDriver.java to understand the virtual device implementation. Review how virtual devices differ from hardware devices, how they're registered with DeviceManager, and how they're used by filesystems. Research how virtual devices integrate with the device framework.
Update index.md
core/src/driver/org/jnode/driver/virtual/Wiki Page Structure
Related Concepts: Virtual devices, RAM disk, Loopback, Software devices, Device framework