2.2.13.2.6 SMB2_CREATE_ALLOCATION_SIZE
The SMB2_CREATE_ALLOCATION_SIZE context is specified on an SMB2 CREATE Request (section 2.2.13) when the client is setting the allocation size of a file that is being newly created or overwritten. The Data in the Buffer field of the SMB2_CREATE_CONTEXT MUST be as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AllocationSize |
|||||||||||||||||||||||||||||||
... |
AllocationSize (8 bytes): The size, in bytes, that the newly created file MUST have reserved on disk.