EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Write and Read Offset Cluster Aligment

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#22756
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.
#22757
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

Reply

Statistics

Topic viewed 2766 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!