table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
GET_GENDISK(9) | Block Devices | GET_GENDISK(9) |
NAME¶
get_gendisk - get partitioning information for a given deviceSYNOPSIS¶
struct
gendisk * get_gendisk(dev_t devt,
int * partno);
ARGUMENTS¶
devtdevice to get partitioning information
for
partno
returned partition index
DESCRIPTION¶
This function gets the structure containing partitioning information for the given device devt.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |