It should be implemented differently; compression should be
in a file-basis, not on a device-basis. This way, if a bit or
byte falls over on your disk, it will just cause one (part of a)
file to get corrupted.
For example, use a file system with 8K blocks. The file system
should use 1K blocks internally. Compress every 8K block independently,
and store the compressed 8K blocks in several 1K blocks.
I splitted bash in 8K blocks, and gzipped -9 every 8K block.
The total nr. of blocks was 128, while the normal bash is 221 blocks.
It's not to bad; gzip -9 on bash itself creates a bash.gz of 106
blocks.
Mike.
-- + Miquel van Smoorenburg + Cistron Internet Services + Living is a | | miquels@cistron.nl (SP6) | Independent Dutch ISP | horizontal | + miquels@drinkel.ow.org + http://www.cistron.nl/ + fall +