pub struct OverlayFSDriver;
Expand description
Driver for creating OverlayFS instances
This driver implements the FileSystemDriver trait to allow OverlayFS to be created through the standard filesystem driver infrastructure. Currently, OverlayFS instances are typically created programmatically rather than through driver parameters due to the complexity of specifying multiple layer mount points.
Trait Implementations§
Source§impl FileSystemDriver for OverlayFSDriver
impl FileSystemDriver for OverlayFSDriver
Source§fn create_from_memory(
&self,
_memory_area: &MemoryArea,
) -> Result<Arc<dyn FileSystemOperations>, FileSystemError>
fn create_from_memory( &self, _memory_area: &MemoryArea, ) -> Result<Arc<dyn FileSystemOperations>, FileSystemError>
Create a file system from a memory area Read more
Source§fn create_from_params(
&self,
_params: &dyn FileSystemParams,
) -> Result<Arc<dyn FileSystemOperations>, FileSystemError>
fn create_from_params( &self, _params: &dyn FileSystemParams, ) -> Result<Arc<dyn FileSystemOperations>, FileSystemError>
Create a file system with structured parameters Read more
Source§fn filesystem_type(&self) -> FileSystemType
fn filesystem_type(&self) -> FileSystemType
Get the type of the file system
Source§fn create_from_block(
&self,
_block_device: Box<dyn BlockDevice>,
_block_size: usize,
) -> Result<Arc<dyn FileSystemOperations>, FileSystemError>
fn create_from_block( &self, _block_device: Box<dyn BlockDevice>, _block_size: usize, ) -> Result<Arc<dyn FileSystemOperations>, FileSystemError>
Create a file system from a block device Read more
fn create(&self) -> Result<Arc<dyn FileSystemOperations>, FileSystemError>
Source§fn create_from_option_string(
&self,
options: &str,
) -> Result<Arc<dyn FileSystemOperations>, FileSystemError>
fn create_from_option_string( &self, options: &str, ) -> Result<Arc<dyn FileSystemOperations>, FileSystemError>
Create a file system with option string Read more