devicemapper-rs icon indicating copy to clipboard operation
devicemapper-rs copied to clipboard

A Rust library for using Linux devicemapper

Results 39 devicemapper-rs issues
Sort by recently updated
recently updated
newest added

This is a necessary consequence of our design decisions to use 128 bit value for Bytes and 64 bit value for sectors. Given ```b``` where (2^128 - 1) > b...

For integrity support, we will first need high level binding support for dm-integrity in this library. We should probably get a head start on it. @mulkieran Would you prefer to...

Related https://github.com/stratis-storage/project/issues/451

Currently if the systemd-udevd daemon is not running or is unable to respond to uevents the udev synchronization code in devicemapper will hang indefinitely: ``` [2023-05-25T12:04:11Z DEBUG devicemapper::core::dm] Resuming device...

We recently bumped into a problem where stratisd was leaking semaphores on `SIGTERM`. Should we add in signal handling for the semaphore code? @bmr-cymru @mulkieran Curious on your thoughts.

This branch adds the ability for callers to control the `DmOptions` used when creating and setting up devices. This gives users of the crate control over the udev flags used...

The device-mapper udev rules define several environment variables that can be used to control udev rule processing and device visibility for DM devices. These are exposed in `DmUdevFlags` and are...

The [build script](https://github.com/stratis-storage/devicemapper-rs/blob/af06f550ed69f85cdb212cf862785d50221cb7fa/build.rs#L7) uses `device-mapper-sys` for the dm version detection. The dependency is declared [here](https://github.com/stratis-storage/devicemapper-rs/blob/af06f550ed69f85cdb212cf862785d50221cb7fa/Cargo.toml#L38-L40). What happens, is that the `TARGET` is set to the host target - the machine...

bug