FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
ns_fuse Namespace Reference

FUSE filesystem operation utilities. More...

Functions

Value< bool > is_fuse (fs::path const &path_dir_mount)
 Checks if a directory is a fuse filesystem mount point.
 
void wait_fuse (fs::path const &path_dir_filesystem)
 Waits for the given directory to not be fuse.
 
Value< int > unmount (fs::path const &path_dir_mount)
 Un-mounts the given fuse mount point.
 

Detailed Description

FUSE filesystem operation utilities.

Provides utilities for FUSE filesystem management including mount/unmount operations, mount point validation, and filesystem state checking. Handles both lazy and force unmounting with automatic cleanup and error handling for FUSE-based filesystems.

Function Documentation

◆ is_fuse()

Value< bool > ns_fuse::is_fuse ( fs::path const & path_dir_mount)
inline

Checks if a directory is a fuse filesystem mount point.

Parameters
path_dir_mountPath to the directory to check
Returns
Value<bool> A boolean with the result, or the respective internal error

Definition at line 50 of file fuse.hpp.

Here is the caller graph for this function:

◆ unmount()

Value< int > ns_fuse::unmount ( fs::path const & path_dir_mount)
inline

Un-mounts the given fuse mount point.

Parameters
path_dir_mountPath to the mount point to un-mount
Returns
Value<void> Nothing on success, or the respective error

Definition at line 90 of file fuse.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wait_fuse()

void ns_fuse::wait_fuse ( fs::path const & path_dir_filesystem)
inline

Waits for the given directory to not be fuse.

Parameters
path_dir_filesystemPath to the directory to wait for
Returns
void This function does not return a value. It waits until the filesystem is no longer a FUSE mount or timeout occurs.

Definition at line 68 of file fuse.hpp.

Here is the call graph for this function:
Here is the caller graph for this function: