commands
dmsetup — Inspect device mappings
List device mapper relationships; no key material needed. Do not change mappings or request keys. Use a fresh private workspace; live operations are VM-only.
Formal Syntax & Structure
linux syntaxlinux
dmsetup ls --treeParameters & Attributes
| Name | Type | Description |
|---|---|---|
| ls | operand | List mappings |
| --tree | option | Tree view |
Return Value
exit status and output
The tree listing shows visible device-mapper dependencies. Inspect diagnostics if the kernel interface is inaccessible; an empty tree does not verify physical storage health.
Working Example
Example Snippetlinux
dmsetup ls --tree