1__ADD_DISK(9) Block Devices __ADD_DISK(9)
23
4
NAME
6__add_disk - add partitioning information to kernel list
7
SYNOPSIS
9void __add_disk(struct gendisk * disk, bool register_queue);
10
ARGUMENTS
12disk
13per-device partitioning information
1415
register_queue
16register the queue if set to true
17
DESCRIPTION
19This function registers the partitioning information in disk with the
20kernel.
21
FIXME
23error handling
24
COPYRIGHT
26Kernel Hackers Manual 3.10 June 2019 __ADD_DISK(9)