Module fuse_backend_rs::api::vfs

source ·
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§

Constants§

Traits§

Functions§

  • Validate a path component. A well behaved FUSE client should never send dot, dotdot and path components containing slash (‘/’). The only exception is that LOOKUP might contain dot and dotdot to support NFS export.

Type Aliases§