table of contents
other versions
DEVICE_ADD_DISK(9) | Block Devices | DEVICE_ADD_DISK(9) |
NAME¶
device_add_disk - add partitioning information to kernel list
SYNOPSIS¶
void device_add_disk(struct device * parent, struct gendisk * disk);
ARGUMENTS¶
parent
parent 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¶
June 2017 | Kernel Hackers Manual 4.9. |