device_add_disk (9) - Linux Manuals
device_add_disk: add partitioning information to kernel list
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.
COPYRIGHT