Subject: VOP_BMAP question
To: None <>
From: Juergen Hannken-Illjes <>
List: tech-kern
Date: 12/19/2003 22:13:22
How does VOP_BMAP() handle fragments?

Given a file with holes obtained from ftruncate(), what does VOP_BMAP()
return in its argument "bnp" if it finds a fragment?

Is it the block number of the fragment or will it return (daddr_t)-1?

Is it always ok to write a full block to "bnp"?
Juergen Hannken-Illjes - - TU Braunschweig (Germany)