.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "GET_GENDISK" "9" "09 October 2005" "" "" .SH NAME get_gendisk \- get partitioning information for a given device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct gendisk * get_gendisk (dev_t \fIdev\fB, int * \fIpart\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR device to get partitioning information for .TP \fB\fIpart\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP This function gets the structure containing partitioning information for the given device \fIdev\fR\&.