linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cryptoloop extended for compressors.
@ 2003-09-10 16:21 Luca Barbato
  2004-01-19 16:29 ` gcloop: compressed loopback support for 2.6 Luca Barbato
  0 siblings, 1 reply; 6+ messages in thread
From: Luca Barbato @ 2003-09-10 16:21 UTC (permalink / raw)
  To: cryptoapi-devel; +Cc: linux-kernel

Hi, I'm porting cloop ideas from the 2.4 kernel to 2.6 and I'm basically 
extending the current cryptoloop to support compressors and not just 
ciphers. If someone interested wants take a look 
http://dev.gentoo.org/~lu_zero/gcloop contains some patch snapshots, and 
userspace utilities.

It isn't yet completed and the ucl module (that I'm using as 
decompressor) needs to incorporate libucl.a currently, you should copy 
it to crypto/ (probably one of the worst thing to do, but works fine for 
testing).

Regards

lu

-- 
Luca Barbato
Developer
Gentoo Linux				http://www.gentoo.org/~lu_zero




^ permalink raw reply	[flat|nested] 6+ messages in thread

* gcloop: compressed loopback support for 2.6
  2003-09-10 16:21 cryptoloop extended for compressors Luca Barbato
@ 2004-01-19 16:29 ` Luca Barbato
  2004-01-19 16:41   ` Mike Fedyk
  0 siblings, 1 reply; 6+ messages in thread
From: Luca Barbato @ 2004-01-19 16:29 UTC (permalink / raw)
  To: cryptoapi-devel; +Cc: linux-kernel

Hi,
The kernel modules and the userspace tools seems to work fine enough.

Patches, and documentation are available at
http://dev.gentoo.org/~lu_zero/gcloop/
http://www.gentoo.org/proj/en/releng/gcloop

lu

-- 
Luca Barbato
Developer
Gentoo Linux				http://www.gentoo.org/~lu_zero




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcloop: compressed loopback support for 2.6
  2004-01-19 16:29 ` gcloop: compressed loopback support for 2.6 Luca Barbato
@ 2004-01-19 16:41   ` Mike Fedyk
  2004-01-19 23:15     ` Luca Barbato
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Fedyk @ 2004-01-19 16:41 UTC (permalink / raw)
  To: Luca Barbato; +Cc: cryptoapi-devel, linux-kernel

On Mon, Jan 19, 2004 at 05:29:21PM +0100, Luca Barbato wrote:
> Hi,
> The kernel modules and the userspace tools seems to work fine enough.
> 
> Patches, and documentation are available at
> http://dev.gentoo.org/~lu_zero/gcloop/
> http://www.gentoo.org/proj/en/releng/gcloop

Is/will knoppix be using this this as well or is this a fork?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcloop: compressed loopback support for 2.6
  2004-01-19 16:41   ` Mike Fedyk
@ 2004-01-19 23:15     ` Luca Barbato
  2004-01-19 23:25       ` Mike Fedyk
  0 siblings, 1 reply; 6+ messages in thread
From: Luca Barbato @ 2004-01-19 23:15 UTC (permalink / raw)
  To: Mike Fedyk; +Cc: cryptoapi-devel, linux-kernel

Mike Fedyk wrote:
> On Mon, Jan 19, 2004 at 05:29:21PM +0100, Luca Barbato wrote:
> 
> 
> 
> Is/will knoppix be using this this as well or is this a fork?
> 
This started as fork from the cloop-0.6x.
Now the file format is almost the same, but the code is quite different: 
the only thing that remains is the the basic logic and the block unpacker.
The current code is currently under testing for gentoo livecd and other 
projects that use the same tecnology, at least that I'm aware.
If Klaus thinks that gcloop is good enough for his knoppix I'd be glad.

Currently gcloop-0.99 uses 32bit indexes since my target are livecd, for 
livedvd would be better use the newer cloop-2.0/1.0 file format with 
64bit indexes.

gcloop isn't file format compatible with the old cloop-0.68 fileformat 
since I had to use in a different way the index and I prefer ucl instead 
of zlib.

lu

-- 
Luca Barbato
Developer
Gentoo Linux				http://www.gentoo.org/~lu_zero



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcloop: compressed loopback support for 2.6
  2004-01-19 23:15     ` Luca Barbato
@ 2004-01-19 23:25       ` Mike Fedyk
       [not found]         ` <400C6AA2.4000307@gentoo.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Fedyk @ 2004-01-19 23:25 UTC (permalink / raw)
  To: Luca Barbato; +Cc: cryptoapi-devel, linux-kernel

On Tue, Jan 20, 2004 at 12:15:24AM +0100, Luca Barbato wrote:
> gcloop isn't file format compatible with the old cloop-0.68 fileformat 
> since I had to use in a different way the index and I prefer ucl instead 
> of zlib.

Maybe you can merge ucl into cloop 2.x, and support both (one compression
scheme per image, of course) in the same codebase?

Has cloop been ported to 2.6?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gcloop: compressed loopback support for 2.6
       [not found]         ` <400C6AA2.4000307@gentoo.org>
@ 2004-01-20  0:23           ` Mike Fedyk
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Fedyk @ 2004-01-20  0:23 UTC (permalink / raw)
  To: Luca Barbato; +Cc: linux-kernel

> >On Tue, Jan 20, 2004 at 12:15:24AM +0100, Luca Barbato wrote:
> >>gcloop isn't file format compatible with the old cloop-0.68 fileformat 
> >>since I had to use in a different way the index and I prefer ucl instead 
> >>of zlib.

> Mike Fedyk wrote:
> >Maybe you can merge ucl into cloop 2.x, and support both (one compression

On Tue, Jan 20, 2004 at 12:39:14AM +0100, Luca Barbato wrote:
> >scheme per image, of course) in the same codebase?
> gcloop supports arbitrary compressor you just have to make the cryptoapi 
> module of it, 

That's good.

> and obviously change the userspace tools, the only 

Hmm, so I presume that gcloop has its own userspace utilities...

> restraint is the file format, the changes I made are due the need to 
> avoid high penality on uncompressible blocks

Interesting.

> , with some effort I can 
> make the parser support all the formats (gcloop, cloop-0.68, 
> cloop-1.0/2.0) but would enlarge the code a bit or make it slower.

It would be good to have all of these competing formats handled, dicesions
on which format(s) should be used for future versions before it's integrated
into mainline.

> >
> >Has cloop been ported to 2.6?
> >
> not that I know.

Boooo, bad knoppix! ;)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-01-20  0:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-10 16:21 cryptoloop extended for compressors Luca Barbato
2004-01-19 16:29 ` gcloop: compressed loopback support for 2.6 Luca Barbato
2004-01-19 16:41   ` Mike Fedyk
2004-01-19 23:15     ` Luca Barbato
2004-01-19 23:25       ` Mike Fedyk
     [not found]         ` <400C6AA2.4000307@gentoo.org>
2004-01-20  0:23           ` Mike Fedyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).