Automic VaultAutomic Vault

brew

Install device-mapper with Homebrew, apk, dnf, pacman, zypper, apt

Userspace library and tools for logical volume management. Version 2.03.41 via Homebrew; verified 2026-05-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install device-mapper

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add device-mapper

Alpine Linux edge package indexes · device-mapper · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install device-mapper

Fedora Rawhide package metadata · device-mapper · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S device-mapper

Arch Linux sync databases · device-mapper · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install device-mapper

openSUSE Tumbleweed package metadata · device-mapper · source: download.opensuse.org

Debian aptverified · 92%
sudo apt install dmsetup

Debian stable package indexes · dmsetup · source: deb.debian.org

overview

Package summary

Userspace library and tools for logical volume management

Commands and aliases

  • blkdeactivate
  • dmsetup
  • dmstats
  • dmvdostats

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • Linux 2.6: device-mapper is part of the kernel block-device stack.
  • 2012-06-07: LVM2 source history before this date was maintained in CVS.
  • 2023-06-30: LVM2 and device-mapper userspace source moved to GitLab.

Related projects

  • LVM2 is the primary related userspace project and maintains the current dmsetup and libdevmapper source.
  • EVMS and the original LVM are historical related projects named by the Sourceware device-mapper page.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 2 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
blkdeactivatecliglobal executable
dmsetupcliglobal executable
dmstatscliglobal executable
dmvdostatscliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.03.41
manager updated2026-05-15
local dataok
upstreamnot checked
latest detectednot detected

https://sourceware.org/dm

install metadata

Package metadata

Package keybrew:device-mapper
Version2.03.41
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/device-mapper
Homepagehttps://sourceware.org/dm
Repositoryhttps://gitlab.com/lvmteam/lvm2
Upstream docshttps://sourceware.org/dm
LicenseLGPL-2.1-only
Source archivehttps://sourceware.org/pub/lvm2/releases/LVM2.2.03.41.tgz
Last updated2026-05-15T13:17:20Z
Pulseupdated
Dependencieslibaio
Build dependenciespkgconf
Bottleavailable (on arm64_linux, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedevice-mapper
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

apk95%

device-mapper 2.03.35-r2

Device mapper userspace library and tools from LVM2

https://sourceware.org/lvm2/

sudo apk add device-mapper
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: device-mapper
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Device Mapper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: device-mapper from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

device-mapper-dev 2.03.35-r2

Device mapper userspace library and tools from LVM2 (development files)

https://sourceware.org/lvm2/

sudo apk add device-mapper-dev
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: device-mapper
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Device Mapper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: device-mapper-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

device-mapper-dmeventd 2.03.35-r2

Device-mapper event daemon

https://sourceware.org/lvm2/

sudo apk add device-mapper-dmeventd
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: device-mapper
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Device Mapper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: device-mapper-dmeventd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

device-mapper-dmeventd-openrc 2.03.35-r2

Device-mapper event daemon (OpenRC init scripts)

https://sourceware.org/lvm2/

sudo apk add device-mapper-dmeventd-openrc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: device-mapper
  • normalized package name match
  • Matched by: Device Mapper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: device-mapper-dmeventd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

device-mapper-doc 2.03.35-r2

Device mapper userspace library and tools from LVM2 (documentation)

https://sourceware.org/lvm2/

sudo apk add device-mapper-doc
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: device-mapper
  • normalized package name match
  • Matched by: Device Mapper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: device-mapper-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

device-mapper-event-libs 2.03.35-r2

Device-mapper event daemon shared library

https://sourceware.org/lvm2/

sudo apk add device-mapper-event-libs
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: device-mapper
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Device Mapper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: device-mapper-event-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

device-mapper-libs 2.03.35-r2

Device-mapper shared library

https://sourceware.org/lvm2/

sudo apk add device-mapper-libs
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: device-mapper
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Device Mapper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: device-mapper-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

device-mapper-static 2.03.35-r2

Device-mapper static libraries and binaries

https://sourceware.org/lvm2/

sudo apk add device-mapper-static
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: device-mapper
  • 1 provides
  • normalized package name match
  • Matched by: Device Mapper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: device-mapper-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

device-mapper-udev 2.03.35-r2

Device mapper udev rules

https://sourceware.org/lvm2/

sudo apk add device-mapper-udev
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: device-mapper
  • 1 dependencies
  • normalized package name match
  • Matched by: Device Mapper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: device-mapper-udev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

device-mapper 1.02.215-2.fc45

Device mapper utility

https://www.sourceware.org/dm/

sudo dnf install device-mapper
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: lvm2
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Device Mapper
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: device-mapper from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

device-mapper 2.03.41-1

Device mapper userspace library and tools

http://sourceware.org/dm/

sudo pacman -S device-mapper
  • License: GPL-2.0-only AND LGPL-2.1-only
  • Architecture: x86_64
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Device Mapper
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: device-mapper from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

device-mapper 2.03.38_1.02.212-2.3

Device Mapper Tools

https://www.sourceware.org/lvm2/

sudo zypper install device-mapper
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Category: System/Base
  • Architecture: x86_64
  • Source Package: lvm2-device-mapper
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Device Mapper
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: device-mapper from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Debian apt92%

dmsetup 2:1.02.205-2

Linux Kernel Device Mapper userspace library

https://sourceware.org/lvm2/

sudo apt install dmsetup
  • Section: admin
  • Architecture: amd64
  • Source Package: lvm2
  • 2 dependencies
  • installed executable or alias match
  • Matched by: Dmsetup
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dmsetup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

dmsetup 2:1.02.185-3ubuntu3

Linux Kernel Device Mapper userspace library

https://sourceware.org/lvm2/

sudo apt install dmsetup
  • Section: admin
  • Architecture: amd64
  • Source Package: lvm2
  • 2 dependencies
  • installed executable or alias match
  • Matched by: Dmsetup
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dmsetup from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment