BLKDEV_GET man page on Oracle

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

BLKDEV_GET(9)			 The Linux VFS			 BLKDEV_GET(9)

NAME
       blkdev_get - open a block device

SYNOPSIS
       int blkdev_get(struct block_device * bdev, fmode_t mode,
		      void * holder);

ARGUMENTS
       bdev
	   block_device to open

       mode
	   FMODE_* mask

       holder
	   exclusive holder identifier

DESCRIPTION
       Open bdev with mode. If mode includes FMODE_EXCL, bdev is open with
       exclusive access. Specifying FMODE_EXCL with NULLholder is invalid.
       Exclusive opens may nest for the same holder.

       On success, the reference count of bdev is unchanged. On failure, bdev
       is put.

CONTEXT
       Might sleep.

RETURNS
       0 on success, -errno on failure.

COPYRIGHT
Kernel Hackers Manual 3.8.	   June 2014			 BLKDEV_GET(9)
[top]

List of man pages available for Oracle

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