blkdev_get_by_path man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

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.11	 November 2013		 BLKDEV_GET_BY_PATH(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net