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.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

AllocationSize

...

AllocationSize (8 bytes): The size, in bytes, that the newly created file MUST have reserved on disk.