Name

get_gendisk — get partitioning information for a given device

Synopsis

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

Arguments

devt

device to get partitioning information for

partno

returned partition index

Description

This function gets the structure containing partitioning information for the given device devt.