# VFS Virtual File System — DragonOS dev 文档

备注

AI Translation Notice

This document was automatically translated by hunyuan-turbos-latest model, for reference only.

- Source document: kernel/filesystem/vfs/index.rst

- Translation time: 2025-06-29 09:58:04

- Translation model: hunyuan-turbos-latest

Please report issues via Community Channel

# VFS Virtual File System

In DragonOS, VFS acts as an adapter that abstracts the differences between specific file systems, providing a unified file operation interface to the outside.

VFS is the core of DragonOS’s file system, offering a standardized set of file system interfaces that enable DragonOS to support multiple different file systems. The main functions of VFS include:

- Providing a unified file system interface

- Offering file system mount and unmount mechanisms (MountFS)

- Providing file abstraction (File)

- Providing file system abstraction (FileSystem)

- Offering IndexNode abstraction

- Providing file system caching and synchronization mechanisms (not yet implemented)

- Supporting the mounting of disk devices onto the file system (currently supports EXT4 and vfat types of virtio disks)

Table of Contents

- Design
- VFS API Documentation
- Design

Other Versions v: V0.2.0

Tags
  V0.1.0
  V0.1.1
  V0.1.10
  V0.1.2
  V0.1.3
  V0.1.4
  V0.1.5
  V0.1.6
  V0.1.7
  V0.1.8
  V0.1.9
  V0.2.0
  V0.3.0
  V0.4.0

Branches
  master