Difference between revisions of "Special:Badtitle/NS1198:Ploop/format/2/en"
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 06:00, 24 September 2016
- 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 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).