blk_alloc_devt(9) centos man page | unix.com

Man Page: blk_alloc_devt

Operating Environment: centos

Section: 9

BLK_ALLOC_DEVT(9)						   Block Devices						 BLK_ALLOC_DEVT(9)

NAME
blk_alloc_devt - allocate a dev_t for a partition
SYNOPSIS
int blk_alloc_devt(struct hd_struct * part, dev_t * devt);
ARGUMENTS
part partition to allocate dev_t for devt out parameter for resulting dev_t
DESCRIPTION
Allocate a dev_t for block device.
RETURNS
0 on success, allocated dev_t is returned in *devt. -errno on failure.
CONTEXT
Might sleep.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 BLK_ALLOC_DEVT(9)
Related Man Pages
di_lnode_name(3devinfo) - opensolaris
makedev(3) - freebsd
device_create_with_groups(9) - centos
di_lnode_devinfo(3devinfo) - sunos
major(3) - freebsd
Similar Topics in the Unix Linux Community
How to increment version inside a file?
DB2 convert digits to binary format
Tar Command
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it