Subject: Re: Re: compressed vnd
To: tech-kern <tech-kern@netbsd.org>
From: Wei Lu <w.lu@tuhh.de>
List: tech-kern
Date: 05/25/2005 13:45:51
Yes, thanks for the notice. my automatic patch generating script is wrong. the corrected version is in
http://w2w.sourceforge.net/compressed_vnd.patch

======= 2005-05-25 11:22:23 You wrote =======

>On Wed, May 25, 2005 at 12:36:27AM +0100, Wei Lu wrote:
>> Cliff Wright <cliff@snipe444.org>  released a patch of vnd pseudo-device driver to support compressed filesystem image. I like it very much.
>> 
>> However, there was a little problem on his patch. When ppp_deflate or ipsec or opencrypto is not compiled in the kernel, the compiling of modified vnd device fails becuz zlib object is not included.
>> 
>> the revised patch (generated on my NetBSD/i386 2.0.2) is as follows:
>> _______________________
>> 
>> --- /usr/src/sys/conf/files	2005-05-25 01:06:24.000000000 +0200
>> +++ /usr/src/sys/conf/files.orig	2004-08-30 11:24:33.000000000 +0200
>> @@ -1269,7 +1269,7 @@
>>  file	net/route.c
>>  file	net/rtsock.c
>>  file	net/slcompress.c		sl | ppp | strip | (irip & irip_vj)
>> -file	net/zlib.c			(ppp & ppp_deflate) | ipsec | opencrypto | vnd
>> +file	net/zlib.c			(ppp & ppp_deflate) | ipsec | opencrypto
>
>Is, maybe, your patch backwards?
>	-is