get_gendisk
Prev | Chapter 14. Block Devices | Next

## 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`.

Prev | Up | Next
add_disk | Home | bdget_disk