Scroll to navigation

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

May 2024 Kernel Hackers Manual 2.6.