Subject: Re: Re: compressed vnd
To: Wei Lu <w.lu@tuhh.de>
From: Florian Stoehr <netbsd@wolfnode.de>
List: tech-kern
Date: 05/25/2005 16:31:17
On Wed, 25 May 2005, Wei Lu wrote:

> 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

I wrote a userlevel program to pack/unpack compressed files for this vnd. 
I already discussed and corrected the code with hubertf - if someone wants 
to take this for further discussion or system integration, please contact 
me.

-Florian