get_gendisk(9) centos man page | unix.com

Man Page: get_gendisk

Operating Environment: centos

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 3.10 June 2014 GET_GENDISK(9)
Related Man Pages
device_create_vargs(9) - centos
pdisk(8) - opendarwin
device_create_vargs(9) - suse
di_lnode_devinfo(3devinfo) - sunos
di_lnode_devt(3devinfo) - sunos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
How to increment version inside a file?
Tar Command
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq