.\" 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 "BMAP" "" "06 October 2005" "" "" .SH NAME bmap \- find a block number in a file .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp sector_t bmap (struct inode * \fIinode\fB, sector_t \fIblock\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinode\fB\fR inode of file .TP \fB\fIblock\fB\fR block to find .SH "DESCRIPTION" .PP Returns the block number on the device holding the inode that is the disk block number for the block of the file requested. That is, asked for block 4 of inode 1 the function will return the disk block relative to the disk start that holds that block of the file.