View previous topic :: View next topic |
Author |
Message |
Sivar Apprentice
Joined: 25 May 2002 Posts: 266 Location: USA
|
Posted: Tue Jun 18, 2002 9:23 pm Post subject: Kernel config -- Zlib support? |
|
|
I notice that in the Library Routines section of the kernel config (menuconfig) that one can choose Zlib compression/decompression support. Will this allow the system to use kernel level zlib routines whenever a person runs gzip, or is it just for HTTP compression, or what?
Additionally, zlib decompression appears like three or four times in the kernel source. Will this add it yet again or use one of the existing copies? (there is no help yet, it seems to be a brand new option) _________________ The greatest deeds are still undone, the greatest songs are still unsung... |
|
Back to top |
|
|
syadnom Guru
Joined: 09 May 2002 Posts: 531
|
Posted: Wed Jun 19, 2002 4:17 pm Post subject: hmmm |
|
|
i wont lie to you, im not SURE, but i think this just allows the kernel to compress the libraries to make it smaller, i dont think it has anything to do with using gzip... |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jun 19, 2002 4:24 pm Post subject: |
|
|
Looking at /usr/src/linux/lib/config.in:
Code: | if [ "$CONFIG_CRAMFS" = "y" -o \
"$CONFIG_PPP_DEFLATE" = "y" -o \
"$CONFIG_JFFS2_FS" = "y" -o \
"$CONFIG_ZISOFS_FS" = "y" ]; then
define_tristate CONFIG_ZLIB_INFLATE y
...
if [ "$CONFIG_PPP_DEFLATE" = "y" -o \
"$CONFIG_JFFS2_FS" = "y" ]; then
define_tristate CONFIG_ZLIB_DEFLATE y |
It seems that decompression is included automatically if you use CramFS, PPP deflate, JFFS2, or the compressed CD-ROM extensions. Compressions in included automatically only with PPP deflate and JFFS2. |
|
Back to top |
|
|
|