1GET_GENDISK(9) Block Devices GET_GENDISK(9)
23
4
NAME
6get_gendisk - get partitioning information for a given device
7
SYNOPSIS
9struct gendisk * get_gendisk(dev_t devt, int * partno);
10
ARGUMENTS
12devt
13device to get partitioning information for
1415
partno
16returned partition index
17
DESCRIPTION
19This function gets the structure containing partitioning information
20for the given device devt.
21
COPYRIGHT
23Kernel Hackers Manual 2.6. June 2019 GET_GENDISK(9)