WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: loop-aes  (Read 2076 times)

Offline wdef

  • Jr. Member
  • **
  • Posts: 59
loop-aes
« 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






Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10965
Re: loop-aes
« Reply #1 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.
The only barriers that can stop you are the ones you create yourself.

Offline wdef

  • Jr. Member
  • **
  • Posts: 59
Re: loop-aes
« Reply #2 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


« Last Edit: September 05, 2011, 07:47:38 AM by wdef »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10965
Re: loop-aes
« Reply #3 on: September 05, 2011, 08:04:40 AM »
The loop-aes module (loop.c) does not support it.
The only barriers that can stop you are the ones you create yourself.

Offline wdef

  • Jr. Member
  • **
  • Posts: 59
Re: loop-aes
« Reply #4 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?




Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: loop-aes
« Reply #5 on: September 05, 2011, 09:10:59 AM »
Yes.
10+ Years Contributing to Linux Open Source Projects.

Offline wdef

  • Jr. Member
  • **
  • Posts: 59
Re: loop-aes
« Reply #6 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.

Offline wdef

  • Jr. Member
  • **
  • Posts: 59
Re: loop-aes
« Reply #7 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.