Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Guy on October 06, 2009, 06:13:40 AM

Title: max_loop=255
Post by: Guy on October 06, 2009, 06:13:40 AM
Can I leave out "max_loop=255" from grub in Tiny Core 2.4, or do I still need to have it in?
Title: Re: max_loop=255
Post by: bmarkus on October 06, 2009, 06:18:27 AM
Depends on how many extensions you are planning to mount (loading extensions to RAM do not use loop device). Default value is 80, you may need more but this is up to your TC use.

I would keep it, it doesn't use much resources.
Title: Re: max_loop=255
Post by: Guy on October 06, 2009, 06:38:10 AM
I got the idea that the default value has changed from 80 to 255 in the latest version. Am I wrong?
Title: Re: max_loop=255
Post by: curaga on October 06, 2009, 07:01:38 AM
No, it hasn't been changed, yet at least.
Title: Re: max_loop=255
Post by: bmarkus on October 06, 2009, 07:03:51 AM
No, it hasn't been changed, yet at least.

This is why max_loop=255 boot option is there.
Title: Re: max_loop=255
Post by: Guy on October 06, 2009, 08:43:40 AM
I found where I got this idea.

Release Candidates -> tinycore_2.4rc1

one of the changes

* Updated /dev/loop to 255 loop devices.

http://forum.tinycorelinux.net/index.php?topic=3083.0

If I look in /dev/loop, there are now 255 loop devices.

In light of this, can I leave out "max_loop=255" from grub in Tiny Core 2.4, or do I still need to have it in?
Title: Re: max_loop=255
Post by: bmarkus on October 06, 2009, 08:53:52 AM
In light of this, can I leave out "max_loop=255" from grub in Tiny Core 2.4, or do I still need to have it in?

Try it  ;)
Title: Re: max_loop=255
Post by: curaga on October 06, 2009, 08:57:01 AM
Yes, it is still needed, if you need over 80 loops. The devices being there is just for convenience, their existence doesn't guarantee the kernel has those devices (ie. I could create hda, hdb, hdc, hdd and still not have four disks)
Title: Re: max_loop=255
Post by: Guy on October 07, 2009, 01:00:38 AM
Thanks for your answers.

With this latest version I am installing all extensions again, as so many are being changed.

I am running with the minimum, as more will be changed over the coming weeks.

I figured it is quicker to ask than to download 80 extensions.
Title: Re: max_loop=255
Post by: curaga on October 07, 2009, 04:30:55 AM
You can check which extensions have been updated (and update them) with the TCE update tool. Boot in "base norestore nolocal", and either run the tool from the menu, or in text mode as "upgrade_tce.sh".