get_gendisk(9) suse man page | unix.com

Man Page: get_gendisk

Operating Environment: suse

Section: 9

GET_GENDISK(9)							   Block Devices						    GET_GENDISK(9)

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
Kernel Hackers Manual 2.6. July 2010 GET_GENDISK(9)
Related Man Pages
pdisk(8) - mojave
di_lnode_devinfo(3devinfo) - opensolaris
di_lnode_name(3devinfo) - opensolaris
pdisk(8) - netbsd
di_lnode_devt(3devinfo) - sunos
Similar Topics in the Unix Linux Community
Getting command output to putty window title.
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
Tar Command
Shopt -s histappend