How to check if the block is present in a sparse file (for simple copy-on-write)?

Posted by Vi on Stack Overflow See other posts from Stack Overflow or by Vi
Published on 2010-04-01T20:05:13Z Indexed on 2010/04/01 20:13 UTC
Read the original article Hit count: 357

Filed under:
|
|
|

How to get sparse block size and check if data is present at the given offset in sparse file in reiserfs/ext3 in Linux?

I want to use it to implement simple copy-on-write block device using FUSE.

Or I should better keep a bitmap in a separate file?

© Stack Overflow or respective owner

Related posts about linux

Related posts about filesystem