.\" 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 "MEGARAID_SYSFS_SHOW_LDNUM" "9" "09 October 2005" "" "" .SH NAME megaraid_sysfs_show_ldnum \- display the logical drive number for this device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp ssize_t megaraid_sysfs_show_ldnum (struct device * \fIdev\fB, struct device_attribute * \fIattr\fB, char * \fIbuf\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR -- undescribed -- .TP \fB\fIattr\fB\fR -- undescribed -- .TP \fB\fIbuf\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP Display the logical drive number for the device in question, if it a valid logical drive. For physical devices, ``-1'' is returned The logical drive number is displayed in following format .PP .PP \fIparam\fR dev : device object representation for the scsi device \fIparam\fR buf : buffer to send data to