table of contents
other versions
DEVICE_ADD_DISK(9) | Block Devices | DEVICE_ADD_DISK(9) |
NAME¶
device_add_disk - add partitioning information to kernel listSYNOPSIS¶
void
device_add_disk(struct device * parent,
struct gendisk * disk);
ARGUMENTS¶
parentparent device for the disk
disk
per-device partitioning information
DESCRIPTION¶
This function registers the partitioning information in disk with the kernel. FIXME: error handlingCOPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |