Changes

Jump to: navigation, search

Special:Badtitle/NS1198:Ploop/format/2/en

641 bytes added, 06:00, 24 September 2016
Importing a new version from external source
* Image consists of cluster blocks (default cluster block size is 1 MB).
* First there are some cluster blocks with BAT (Block Allocation Table), then there are some cluster blocks with data.
* First 64 bytes of the first cluster block is a header, described in [https://src.openvz.org/projects/OVZL/repos/ploop/browse/include/ploop1_image.h ploop1_image.h]
* The rest of BAT is just an array of 4 byte slots.
* If a slot N contains value M, then a request to a cluster-block N of a /dev/ploopXXX device is redirected to a cluster-block M in an image file. N is counted from 0, while M is counted from 1 (0 means block is not yet allocated).
1,433
edits

Navigation menu