#27081·serenity

DeviceMapper: No device nodes (files) are created for partitions

Author: spholzCreated Sep 30, 2026Updated Sep 30, 2026
Labelsenhancement

DeviceMapper currently only creates device nodes for entire storage devices (so /dev/hda etc.). If you want to mount a partition, you need to manually create a device file with mknod /dev/hdXpY b 100 Y first.

The DeviceMapper.ini configuration file format will probably need to be extended to support multiple placeholders per path (one for the storage device letter and one for the partition number). Additionally, I don't think the kernel currently exposes information about which partition block device corresponds to which storage block device. SysFS only contains a list of all block devices.