table of contents
other versions
- stretch 4.9.168-1
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 handling
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |