Man Page: blkdev_get_by_path
Operating Environment: centos
Section: 9
BLKDEV_GET_BY_PATH(9) The Linux VFS BLKDEV_GET_BY_PATH(9)NAMEblkdev_get_by_path - open a block device by nameSYNOPSISstruct block_device * blkdev_get_by_path(const char * path, fmode_t mode, void * holder);ARGUMENTSpath path to the block device to open mode FMODE_* mask holder exclusive holder identifierDESCRIPTIONOpen 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.CONTEXTMight sleep.RETURNSPointer to block_device on success, ERR_PTR(-errno) on failure.COPYRIGHTKernel Hackers Manual 3.10 June 2014 BLKDEV_GET_BY_PATH(9)
| Related Man Pages |
|---|
| revoke(2) - osx |
| ldi_open_by_devid(9f) - sunos |
| ldi_open_by_name(9f) - sunos |
| device_contract(4) - opensolaris |
| ldi_open_by_name(9f) - opensolaris |
| Similar Topics in the Unix Linux Community |
|---|
| Set hard block limit for user using quota |
| Best performance UNIX just for HOST Virtualization? |
| How to increment version inside a file? |
| Tar Command |
| CentOS7 restoring file capabilities |