Registry / other / loopdev

loopdev

JSON →
library0.4.0rscratesunverified

Setup and control loop devices

# Cargo.toml [dependencies] loopdev = "0.4.0"
INSTALL
IMPORT
SIG · LOOPDEV
L
loopdev
otherrustv0.4.0
harness data pending
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.

LoopDevice
use loopdev::LoopDevice;

Creates a new loop device.

use loopdev::LoopDevice; fn main() { let device = LoopDevice::new(); println!("Loop device created"); }
Debug
Known issues
gotchaRequires root or appropriate permissions to create loop devices.
fix
Run with sudo or ensure user has CAP_SYS_ADMIN.
affects: >=0.1.0
Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
loopdev — cargo add loopdev · libregistry