.\" 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 "LAST_LBA" "9" "09 October 2005" "" "" .SH NAME last_lba \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp u64 last_lba (struct block_device * \fIbdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbdev\fB\fR block device .SH "DESCRIPTION" .PP Returns last LBA value on success, 0 on error. This is stored (by sd and ide-geometry) in the part[0] entry for this disk, and is the number of physical sectors available on the disk.