Fundamentals 5 min read

Understanding dm Devices in Android: Linux Storage Stack Explained

The article explains how Android’s mount command shows numerous dm devices, detailing the Linux storage stack layers, using the OPPO Reno3 as a case study to illustrate the creation and purpose of dm devices, and poses why dm‑0 disappears from Android versions after Q.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Understanding dm Devices in Android: Linux Storage Stack Explained

When you run the mount command on your phone, you see many devices mounted as dm devices. What exactly are they and what principles are behind them? Taking OPPO Reno3 as an example:

First, please look at the Linux Storage Stack Diagram. The parts marked with red boxes are what we'll explain today...

Finally, let's explain the meaning of dm devices in the first diagram.

A thinking question:

dm devices are created starting from number 0, so why can't we see dm-0 in Android versions after Android Q?

Kernelstorage stackAndroid storagedm devicesLinux storage
OPPO Kernel Craftsman
Written by

OPPO Kernel Craftsman

Sharing Linux kernel-related cutting-edge technology, technical articles, technical news, and curated tutorials

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.