EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Write and Read Offset Cluster Aligment

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
Posted: 12/08/2012 11:41:03
by Sebasstien Arcand (Basic support level)
Joined: 09/22/2010
Posts: 6

Does the offset of write and read operations of file system callback driver are cluster aligned? Our implementation of the file system callback driver must write to physical device. I understand that I have to sector align the buffer if it's smaller than the physical disk cluster size but I'm not sure about the offset provided by the driver? Does it's always aligned with the virtual disk cluster size? So the virtual disk cluster size must be the same as physical disk.
Posted: 12/08/2012 13:37:04
by Eugene Mayevski (Team)

In CBFS offsets and buffer sizes are not aligned to anything, as the application can call Write method for 3 bytes or 33333 bytes and your code will receive the same buffer of the same size that the originator application has passed.

Sincerely yours
Eugene Mayevski



Topic viewed 2990 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!