Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel config -- Zlib support?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Tue Jun 18, 2002 9:23 pm    Post subject: Kernel config -- Zlib support? Reply with quote

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
View user's profile Send private message
syadnom
Guru
Guru


Joined: 09 May 2002
Posts: 531

PostPosted: Wed Jun 19, 2002 4:17 pm    Post subject: hmmm Reply with quote

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
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jun 19, 2002 4:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum