ADD_DISK(9) Block Devices ADD_DISK(9)

NAME add_disk - add partitioning information to kernel list

SYNOPSIS void add_disk(struct gendisk * disk);

ARGUMENTS disk per-device partitioning information

DESCRIPTION This function registers the partitioning information in disk with the kernel.

FIXME error handling

COPYRIGHT Kernel Hackers Manual 2.6. July 2015 ADD_DISK(9)