Active Topics

 


Reply
Thread Tools
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#1
These two modules enable dm-loop:

http://my.arava.co.il/~matan/770/dm-mod.ko
http://my.arava.co.il/~matan/770/dm-loop.ko


To use it you need dmsetup package which is available from debfarm repository. After installing the package add a symlink from dmlosetup to dmsetup, and run something like:

dmlosetup 0 /z/debian.img

Then mount /dev/dm-0 /opt


In my (very unscientific) tests it is about 4 times faster than loop, and very close to direct access speed.
 

The Following 21 Users Say Thank You to Matan For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#2
Matan,

you rock.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#3
Originally Posted by Matan View Post
....run something like:

dmlosetup 0 /z/debian.img
Just a slight correction, the 0 is wrong, it should be loop0 instead:

Code:
dmlosetup loop0 /media/mmc1/debian.img
Originally Posted by Matan View Post
In my (very unscientific) tests it is about 4 times faster than loop, and very close to direct access speed.
OpenOffice loads at least 2x as fast, which is a huge improvement.

Thanks so much! I've already incorporated the Matan TurboLoop (c) into my next version of Easy Debian...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#4
Matan: Can I probe what patch you used for the 2.6.21 kernel to get this compiled?, as it's not part of the 2.6.21 kernel by default. Reason is that I would like to compile some .o's that would follow kernel updates for Deblet.

Your work is immensely useful both for qole's Easy Debian and for my "Deblet-in-a-file" (I've just managed to compile dmsetup.static, may be interesting as well for qole), where I make a Deblet system boot entirely from a file on a vfat partition.
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 

The Following 2 Users Say Thank You to Stskeeps For This Useful Post:
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#5
I'm using iodine in an airport, so I won't include a link, but dm-loop project has patches for 2.6.20 which apply cleanly to 2.6.21-omap1.
 

The Following 2 Users Say Thank You to Matan For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#6
Originally Posted by Matan View Post
I'm using iodine in an airport...
Yikes. Now there's a man who likes his free wi-fi, no matter how slow.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#7
Deblet-in-a-file now also uses dm-loop thanks for the great work Matan.
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 

The Following 3 Users Say Thank You to Stskeeps For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#8
Matan: Do you think you could build these modules for the Maemo 5 kernel?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#9
I am usually not interested in software without hardware to run on, so I do not expect to install Maemo 5 SDK until (and if) a Maemo 5 tablet is available.

There are patches that should apply to modern kernel, see here:

http://osdir.com/ml/linux.kernel.dev.../msg00038.html

I believe that anyone who has the SDK installed can easily patch and compile the kernel.
 

The Following 3 Users Say Thank You to Matan For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#10
I discovered last night that the lack of a dm-loop in Fremantle is the least of my problems. I am finding it very difficult to test my Easy Debian scripts in the SDK when there's not even a "mount" command...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:14.