Finding newly allocated blocks

Siddharth Aggarwal saggarwa at
Thu Aug 26 08:54:12 PDT 2004


I am writing this pseudo disk driver for FreeBSD and for write operations,
I'd like to distinguish between newly allocated blocks versus overwritten
blocks, because there are different actions I want to take for write
operations involving newly allocated blocks and for write operations
involving previously written blocks. Is it possible to make this
distinction in the strategy routine? I'm not sure if my question is clear,
so I could give more details.


More information about the freebsd-fs mailing list