Registry / other / fuser

fuser

JSON →
library0.17.0rscratesunverified

Filesystem in Userspace (FUSE) for Rust.

other
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use fuser::Filesystem;

Mounts a minimal FUSE filesystem at /tmp/mount.

use fuser::{Filesystem, MountOption, Request, ReplyEmpty}; use std::ffi::OsStr; struct MyFS; impl Filesystem for MyFS { fn init(&mut self, _req: &Request, _config: &mut fuser::Config<'_>) -> Result<(), libc::c_int> { Ok(()) } } fn main() -> Result<(), Box<dyn std::error::Error>> { let mountpoint = "/tmp/mount"; fuser::mount2(MyFS, mountpoint, &[MountOption::AutoUnmount])?; Ok(()) }
Debug
Known footguns
gotchaRequires FUSE kernel module and appropriate permissions (often root).
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
10 hits · last 30 days
gptbot
3
claudebot
3
Resources