adding partial-write support for vol2lib