Get partitioning information for a given device
struct gendisk * get_gendisk(dev_t devt, int * partno);
devt
device to get partitioning information for
partno
returned partition index
This function gets the structure containing partitioning information for the given device devt.