GET_GENDISK

Section: Block Devices (9)
Updated: February 2011
Index Return to Main Contents
 

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.  

COPYRIGHT