.\" 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 "SD_OPEN" "" "06 October 2005" "" "" .SH NAME sd_open \- open a scsi disk device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int sd_open (struct inode * \fIinode\fB, struct file * \fIfilp\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinode\fB\fR only i_rdev member may be used .TP \fB\fIfilp\fB\fR only f_mode and f_flags may be used .SH "DESCRIPTION" .PP Returns 0 if successful. Returns a negated errno value in case of error. .SH "NOTE" .PP This can be called from a user context (e.g. fsck(1) ) or from within the kernel (e.g. as a result of a mount(1) ). In the latter case \fIinode\fR and \fIfilp\fR carry an abridged amount of information as noted above.