Expand description
VFS v2 Filesystem Drivers
This module contains all filesystem drivers that implement the VFS v2 FileSystemOperations interface. Each driver provides a specific filesystem type with its own characteristics and use cases.
§Available Drivers
- tmpfs: Memory-based temporary filesystem with optional size limits
- cpiofs: Read-only CPIO archive filesystem for initramfs
- overlayfs: Union/overlay filesystem combining multiple layers
- initramfs: Helper module for mounting initramfs during boot
- devfs: Device filesystem that automatically exposes all registered devices
- fat32: FAT32 filesystem driver for block devices
- ext2: ext2 filesystem driver for block devices
§Adding New Drivers
To add a new filesystem driver:
- Create a new module implementing
FileSystemOperations - Implement
VfsNodefor your filesystem’s node type - Add a driver struct implementing
FileSystemDriverV2 - Register the driver in the driver manager during initialization
§Driver Registration
All drivers in this module automatically register themselves using
the driver_initcall! macro during kernel initialization.
Modules§
- cpiofs
- CpioFS v2 - CPIO filesystem implementation for initramfs
- devfs
- DevFS - Device filesystem implementation
- ext2
- ext2 Filesystem Implementation
- fat32
- FAT32 Filesystem Implementation
- initramfs
- Initramfs mounting functionality (VFS v2)
- overlayfs
- OverlayFS v2 - Overlay filesystem implementation for VFS v2
- tmpfs
- TmpFS v2 - Memory-based filesystem implementation