Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, pacman, zypper, apt 安装 device-mapper

查看 device-mapper 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install device-mapper

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add device-mapper

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

Fedora dnf已验证 · 92%
sudo dnf install device-mapper

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

Arch Linux pacman已验证 · 92%
sudo pacman -S device-mapper

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

openSUSE zypper已验证 · 92%
sudo zypper install device-mapper

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

Debian apt已验证 · 92%
sudo apt install dmsetup

Debian stable package indexes · dmsetup · 来源: deb.debian.org

概览

软件包摘要

Userspace library and tools for logical volume management

命令和别名

  • blkdeactivate
  • dmsetup
  • dmstats
  • dmvdostats

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 device-mapper 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 2 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
blkdeactivatecli全局可执行文件
dmsetupcli全局可执行文件
dmstatscli全局可执行文件
dmvdostatscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.03.41
管理器更新时间2026-05-15
本地数据OK
上游not checked
检测到的最新版本未检测到

https://sourceware.org/dm

安装元数据

软件包元数据

软件包键brew:device-mapper
版本2.03.41
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/device-mapper
主页https://sourceware.org/dm
仓库https://gitlab.com/lvmteam/lvm2
上游文档https://sourceware.org/dm
许可证LGPL-2.1-only
源码归档https://sourceware.org/pub/lvm2/releases/LVM2.2.03.41.tgz
最后更新2026-05-15T13:17:20Z
Pulseupdated
依赖libaio
构建依赖pkgconf
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • installed executable or alias match
  • 匹配方式: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 依赖
  • installed executable or alias match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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