blkdeactivate

This package contains the supporting userspace utility, dmsetup,

Install

All systems
curl cmd.cat/blkdeactivate.sh
Debian Debian
apt-get install dmsetup
Ubuntu
apt-get install dmsetup
Alpine
apk add device-mapper
Arch Arch Linux
pacman -S device-mapper
image/svg+xml Kali Linux
apt-get install dmsetup
CentOS
yum install device-mapper
Fedora
dnf install device-mapper
Windows (WSL2)
sudo apt-get update sudo apt-get install dmsetup
Raspbian
apt-get install dmsetup
Docker
docker run cmd.cat/blkdeactivate blkdeactivate powered by Commando

device-mapper

This package contains the supporting userspace utility, dmsetup,

for the kernel device-mapper.

dmsetup

Linux Kernel Device Mapper userspace library

The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) Team's implementation of a minimalistic kernel-space driver that handles volume management, while keeping knowledge of the underlying device layout in user-space. This makes it useful for not only LVM, but EVMS, software raid, and other drivers that create "virtual" block devices. This package contains a utility for modifying device mappings.