.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "OPEN_BDEV_EXCL" "" "06 October 2005" "" "" .SH NAME open_bdev_excl \- open a block device by name and set it up for use .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct block_device * open_bdev_excl (const char * \fIpath\fB, int \fIflags\fB, int \fIkind\fB, void * \fIholder\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpath\fB\fR special file representing the block device .TP \fB\fIflags\fB\fR MS_RDONLY for opening read-only .TP \fB\fIkind\fB\fR usage (same as the 4th paramter to blkdev_get) .TP \fB\fIholder\fB\fR owner for exclusion .SH "DESCRIPTION" .PP Open the blockdevice described by the special file at \fIpath\fR, claim it for the \fIholder\fR and properly set it up for \fIkind\fR usage. .SH "DESCRIPTION" .PP Open the blockdevice described by the special file at \fIpath\fR, claim it for the \fIholder\fR and properly set it up for \fIkind\fR usage.