centos man page for blkdev_get_by_path

Query: blkdev_get_by_path

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

BLKDEV_GET_BY_PATH(9)						   The Linux VFS					     BLKDEV_GET_BY_PATH(9)

NAME
blkdev_get_by_path - open a block device by name
SYNOPSIS
struct block_device * blkdev_get_by_path(const char * path, fmode_t mode, void * holder);
ARGUMENTS
path path to the block device to open mode FMODE_* mask holder exclusive holder identifier
DESCRIPTION
Open the blockdevice described by the device file at path. mode and holder are identical to blkdev_get. On success, the returned block_device has reference count of one.
CONTEXT
Might sleep.
RETURNS
Pointer to block_device on success, ERR_PTR(-errno) on failure.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 BLKDEV_GET_BY_PATH(9)
Related Man Pages
device_create(9) - centos
ldi_open_by_dev(9f) - sunos
ldi_open_by_devid(9f) - sunos
ldi_close(9f) - opensolaris
ldi_open_by_dev(9f) - opensolaris
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
CentOS 6 ran out of space, need to reclaim it