1GET_GENDISK(9)                   Block Devices                  GET_GENDISK(9)
2
3
4

NAME

6       get_gendisk - get partitioning information for a given device
7

SYNOPSIS

9       struct gendisk * get_gendisk(dev_t devt, int * partno);
10

ARGUMENTS

12       devt
13           device to get partitioning information for
14
15       partno
16           returned partition index
17

DESCRIPTION

19       This function gets the structure containing partitioning information
20       for the given device devt.
21
23Kernel Hackers Manual 2.6.         June 2019                    GET_GENDISK(9)
Impressum