FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
fuse.hpp File Reference

A library for operations on fuse filesystems. More...

#include <cstring>
#include <filesystem>
#include <expected>
#include <sys/vfs.h>
#include <sys/mount.h>
#include <thread>
#include "subprocess.hpp"
#include "env.hpp"
#include "../std/expected.hpp"
Include dependency graph for fuse.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ns_fuse
 FUSE filesystem operation utilities.
 

Macros

#define FUSE_SUPER_MAGIC   0x65735546
 

Functions

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

Detailed Description

A library for operations on fuse filesystems.

Author
Ruan Formigoni

Definition in file fuse.hpp.

Macro Definition Documentation

◆ FUSE_SUPER_MAGIC

#define FUSE_SUPER_MAGIC   0x65735546

Definition at line 24 of file fuse.hpp.