In some cases, a cluster does not compress well. For instance, a cluster with only one block of data will not compress into less than one block. (At the time of writing, `fragments' are not supported in the ext2 filesystem, so the minimum allocation grain size is a block.) Sometimes compressed data occupies more bytes than if uncompressed. In such cases we just leave the cluster as it was. For instance if cluster #1 does not compress well, the compressed file would look like this:
block# bytes ------ ----- [0] compressed data <- cluster #0 [1] missing block [2] missing block [3] missing block [4] data <- cluster #1 [5] data (does not compress well) [6] data [7] data [8] compressed data <- cluster #2 [9] compressed data [10] missing block
Go to the first, previous, next, last section, table of contents.