First page Back Continue Last page Graphics
dm-ioctl - DM_DEV_CREATE
Creates a new device.
A name is required. (127 chars).
A UUID is optional (128 chars).
A device number, major & minor, is optional according to DM_PERSISTENT_DEV_FLAG.
- In 2.4 if you request a major number not already in use Device Mapper will take it, and only use when specifically asked.
- In 2.6 only one major number is supported, allocated dynamically during Device Mapper initialisation.
- If you don't request a specific device number, it chooses the lowest available minor number from a major number that was not first used in a specific request.
DM_READONLY_FLAG can be set.