macOS
brew install device-mapperlocal Homebrew formula metadata
brew
Userspace library and tools for logical volume management. Version 2.03.41 via Homebrew; verified 2026-05-15.
install
brew install device-mapperlocal Homebrew formula metadata
sudo apk add device-mapperAlpine Linux edge package indexes · device-mapper · source: dl-cdn.alpinelinux.org
sudo dnf install device-mapperFedora Rawhide package metadata · device-mapper · source: dl.fedoraproject.org
sudo pacman -S device-mapperArch Linux sync databases · device-mapper · source: geo.mirror.pkgbuild.com
sudo zypper install device-mapperopenSUSE Tumbleweed package metadata · device-mapper · source: download.opensuse.org
sudo apt install dmsetupDebian stable package indexes · dmsetup · source: deb.debian.org
overview
Userspace library and tools for logical volume management
history
device-mapper is the Linux kernel block-device mapping framework and its companion userspace tools and library. In package-manager terms, the Homebrew formula exposes dmsetup, dmstats, and libdevmapper from the LVM2-maintained userspace code rather than a standalone application.
The Sourceware device-mapper page describes device-mapper as a Linux kernel component present since kernel 2.6 and required by LVM2 and EVMS. Its userspace code, including dmsetup and libdevmapper, is maintained alongside the LVM2 source package, tying the package's release history to LVM2 rather than to an independent device-mapper release stream.
The LVM2 Sourceware page records that LVM2 needs device-mapper support in the kernel, libdevmapper, and the LVM2 userspace tools. It also documents the source-control migration: the primary copy moved from CVS before June 7, 2012, and the Git repository moved to GitLab on June 30, 2023.
device-mapper became a baseline Linux storage dependency because it sits underneath logical volume management and related block-device targets. It is packaged across Linux distributions as device-mapper or dmsetup, and Homebrew's formula gives macOS users access to the same userspace tooling for inspection, build, and compatibility workflows.
Package users mostly meet device-mapper through dmsetup and libdevmapper. The tools are used to create, inspect, deactivate, and report mapped block devices, while higher-level systems such as LVM2 build logical-volume workflows on top of the same kernel/userspace interface.
device-mapper matters to package nerds because it is infrastructure plumbing: small command-line tools, a C library, kernel interfaces, and release coupling to LVM2. Its formula is less about a user-facing app and more about making Linux storage primitives available to scripts, tests, ports, and dependent packages.
security posture
No matching local secret-handling manifest was found for device-mapper. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
blkdeactivate | cli | global executable | |
dmsetup | cli | global executable | |
dmstats | cli | global executable | |
dmvdostats | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:device-mapper |
|---|---|
| Version | 2.03.41 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/device-mapper |
| Homepage | https://sourceware.org/dm |
| Repository | https://gitlab.com/lvmteam/lvm2 |
| Upstream docs | https://sourceware.org/dm |
| License | LGPL-2.1-only |
| Source archive | https://sourceware.org/pub/lvm2/releases/LVM2.2.03.41.tgz |
| Last updated | 2026-05-15T13:17:20Z |
| Pulse | updated |
| Dependencies | libaio |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_linux, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | device-mapper |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
device-mapper 2.03.35-r2
Device mapper userspace library and tools from LVM2
sudo apk add device-mapperdevice-mapper-dev 2.03.35-r2
Device mapper userspace library and tools from LVM2 (development files)
sudo apk add device-mapper-devdevice-mapper-dmeventd 2.03.35-r2
Device-mapper event daemon
sudo apk add device-mapper-dmeventddevice-mapper-dmeventd-openrc 2.03.35-r2
Device-mapper event daemon (OpenRC init scripts)
sudo apk add device-mapper-dmeventd-openrcdevice-mapper-doc 2.03.35-r2
Device mapper userspace library and tools from LVM2 (documentation)
sudo apk add device-mapper-docdevice-mapper-event-libs 2.03.35-r2
Device-mapper event daemon shared library
sudo apk add device-mapper-event-libsdevice-mapper-libs 2.03.35-r2
Device-mapper shared library
sudo apk add device-mapper-libsdevice-mapper-static 2.03.35-r2
Device-mapper static libraries and binaries
sudo apk add device-mapper-staticdevice-mapper-udev 2.03.35-r2
Device mapper udev rules
sudo apk add device-mapper-udevdevice-mapper 1.02.215-2.fc45
Device mapper utility
https://www.sourceware.org/dm/
sudo dnf install device-mapperdevice-mapper 2.03.41-1
Device mapper userspace library and tools
sudo pacman -S device-mapperdevice-mapper 2.03.38_1.02.212-2.3
Device Mapper Tools
https://www.sourceware.org/lvm2/
sudo zypper install device-mapperdmsetup 2:1.02.205-2
Linux Kernel Device Mapper userspace library
sudo apt install dmsetupdmsetup 2:1.02.185-3ubuntu3
Linux Kernel Device Mapper userspace library
sudo apt install dmsetupsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.