BMAP

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

bmap - find a block number in a file  

SYNOPSIS

"SYNOPSIS"

sector_t bmap (struct inode * inode, sector_t block);  

ARGUMENTS

inode
inode 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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:25 GMT, October 06, 2005