Skip to content

Delete symlinks before removing devices #746

Description

@DemiMarie

Before destroying a device-mapper device, devicemapper-rs should delete the symlink for that device under /dev/mapper. This avoids race conditions by ensuring that opening /dev/mapper/somedevice always returns the correct device if it succeeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions