table of contents
other versions
GET_GENDISK(9) | Block Devices | GET_GENDISK(9) |
NAME¶
get_gendisk - get partitioning information for a given device
SYNOPSIS¶
struct gendisk * get_gendisk(dev_t devt, int * partno);
ARGUMENTS¶
dev_t devt
device to get partitioning information for
int * partno
returned partition index
DESCRIPTION¶
This function gets the structure containing partitioning information for the given device devt.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |