__ADD_DISK(9) | Block Devices | __ADD_DISK(9) |
NAME¶
__add_disk - add partitioning information to kernel list
SYNOPSIS¶
void __add_disk(struct gendisk * disk, const struct attribute_group ** groups, bool register_queue);
ARGUMENTS¶
disk
per-device partitioning information
groups
Additional per-device sysfs groups
register_queue
register the queue if set to true
DESCRIPTION¶
This function registers the partitioning information in disk with the kernel.
FIXME¶
error handling
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |