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 requested a major number not already in use Device Mapper will take it, and only use it when specifically asked. This code was never ported to 2.6, which is limited to a single major number but has so many minor numbers nobody seems to care any more.
- If you don't request a specific device number, it chooses the lowest available minor number.