loopdev
Setup and control loop devices.
Provides rust interface with similar functionalty to the linux utility losetup
.
Examples
use LoopControl;
let lc = open.unwrap;
let ld = lc.next_free.unwrap;
println!;
ld.attach.unwrap;
// ...
ld.detach.unwrap;