macOS
brew install device-mapperlocal Homebrew formula metadata
安装
brew install device-mapperlocal Homebrew formula metadata
sudo apk add device-mapperAlpine Linux edge package indexes · device-mapper · 来源: dl-cdn.alpinelinux.org
sudo dnf install device-mapperFedora Rawhide package metadata · device-mapper · 来源: dl.fedoraproject.org
sudo pacman -S device-mapperArch Linux sync databases · device-mapper · 来源: geo.mirror.pkgbuild.com
sudo zypper install device-mapperopenSUSE Tumbleweed package metadata · device-mapper · 来源: download.opensuse.org
sudo apt install dmsetupDebian stable package indexes · dmsetup · 来源: deb.debian.org
概览
Userspace library and tools for logical volume management
历史
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.
安全态势
没有找到 device-mapper 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
blkdeactivate | cli | 全局可执行文件 | |
dmsetup | cli | 全局可执行文件 | |
dmstats | cli | 全局可执行文件 | |
dmvdostats | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | libaio |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 dmsetup来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.