Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: wdef on September 05, 2011, 05:31:08 AM

Title: loop-aes
Post by: wdef on September 05, 2011, 05:31:08 AM
Hi TC folk,

I'm somewhat out of touch.  I read somewhere that loop-aes support was dropped in Tc3.x onwards. In tc2.x the kernel had been patched for loop-aes and the loop driver was not separate as a module.

Is the loop driver now a module in the base?
What was the rationale behind no longer patching either the kernel or the loop driver for loop-aes?

Thanks

Phil





Title: Re: loop-aes
Post by: curaga on September 05, 2011, 06:54:45 AM
Loop-aes was not updated for unlimited, dynamic loops, while the kernel one was. I think I opened a feature request at that time against loop-aes, but I think there's been no response at all.

In short, no more 256 limit, and less ram usage with less loops.
Title: Re: loop-aes
Post by: wdef on September 05, 2011, 07:40:02 AM
Loop-aes was not updated for unlimited, dynamic loops, while the kernel one was.

Sorry do you mean the loop-aes kernel patch does not support an unlimited number of loop devices, or are you talking about the loop-aes patched losetup, or ..?

Thanks


Title: Re: loop-aes
Post by: curaga on September 05, 2011, 08:04:40 AM
The loop-aes module (loop.c) does not support it.
Title: Re: loop-aes
Post by: wdef on September 05, 2011, 09:07:20 AM
The loop-aes module (loop.c) does not support it.

Am I right in thinking that TC v3.x creates eight loop devices by default on boot /dev/loop0, /dev/loop1 ... , doesn't use the max_loop boot code anymore, but creates extra loop devices on demand after boot?



Title: Re: loop-aes
Post by: roberts on September 05, 2011, 09:10:59 AM
Yes.
Title: Re: loop-aes
Post by: wdef on September 05, 2011, 09:26:47 AM
Hi Robert, I am out of date.

I might try and find out why the loop-aes patches don't support this.

There's a comment in the loop.c sources that says tools have to be able to talk to this feature to make it work.
Title: Re: loop-aes
Post by: wdef on September 08, 2011, 03:49:23 AM
FYI I emailed loop-AES developer Jari Ruusu about this and his response doesn't look promising. I doubt that support for this behavior will be included in loop-AES any time soon.