Module fuse_backend_rs::api::vfs[][src]

Expand description

A union file system which combines multiple backend file systems into one.

A simple union file system with limited functionality, which

  1. uses pseudo fs to maintain the directory structures
  2. supports mounting a file system at “/” or and subdirectory
  3. supports mounting multiple file systems at different paths
  4. remounting another file system at the same path will evict the old one
  5. doesn’t support recursive mounts. If /a is a mounted file system, you can’t mount another file systems under /a.

Its main usage is to avoid virtio-fs device hotplug. With this simple union fs, a new backend file system could be mounted onto a subdirectory, instead of hot-adding another virtio-fs device. This is very convenient to manage container images at runtime.

Structs

A union fs that combines multiple backend file systems.

Data struct to store inode number for the VFS filesystem.

vfs init options

Enums

Vfs error definition

Constants

Maximum inode number supported by the VFS for backend file system

Traits

BackendFileSystem abstracts all backend file systems under vfs

Type Definitions

Type that implements BackendFileSystem and Sync and Send D refers to the type of asynchronous event driver

Vfs backend file system index

Vfs result