[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Size limit for compressing files



On Thu, Feb 15, 2001 at 09:57:51AM +0000, Julian Gilbey wrote:
> Policy says compress it "unless it is small".  4k is an arbitrary
> choice AFAIK.

Not quite so. It is based on the common block size of the file system.
If you have a block size of 4 kb, all files between 1 and 4096 bytes will
occupy the same space: one block. So compressing them doesn't make any
sense.

(But then, you are right, as the block size can be chosen at file system
creation time.)

Marcus



Reply to: