table of contents
other versions
- jessie 3.16.56-1+deb8u1
BMAP(9) | The Linux VFS | BMAP(9) |
NAME¶
bmap - find a block number in a fileSYNOPSIS¶
sector_t
bmap(struct inode * inode,
sector_t block);
ARGUMENTS¶
inodeinode of file
block
block to find
DESCRIPTION¶
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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |