Reference

add_disk(9)

add partitioning information to kernel list

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

History