.TH "devfs_register_blkdev" 9 "devfs_register_blkdev" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME devfs_register_blkdev \- Optionally register a conventional block driver. .SH SYNOPSIS .B "int" devfs_register_blkdev .BI "(unsigned int " major "," .BI "const char *" name "," .BI "struct block_device_operations *" bdops ");" .SH ARGUMENTS .IP "major" 12 The major number for the driver. .IP "name" 12 The name of the driver (as seen in /proc/devices). .IP "bdops" 12 The \fBblock_device_operations\fP structure pointer. .SH "DESCRIPTION" This function will register a block driver provided the "devfs=only" option was not provided at boot time. Returns 0 on success, else a negative error code on failure.