Subject: VOP_BMAP question
To: None <tech-kern@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
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 - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)