|
| |||||||||
Cogofs can exclude already compressed files, by default files have a suffix of .gz, .bz2 are excluded from compression. You can edit the cogofs behavior by editing the file /etc/cogo.conf.
[*]
.gz
.bz2
.zip
.bz
.jar
.Z
.tgz
.jpg
The [*] section represent the global configuration, this means files ended with the above will not be compressed. You can also specify different types of files for specific file systems by editing /etc/cogo.conf by specifying the file system path (the lower file system).
[*]
.gz
.bz2
.zip
.bz
.jar
.Z
.tgz
.jpg
[/mnt/myfiles]
.sxw
.sxc
This will cause the file system /mnt/myfiles not to compress .sxw and .sxc files and also the global lists of file name suffix.