WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: max_loop=255  (Read 4372 times)

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
max_loop=255
« 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?
Many people see what is. Some people see what can be, and make a difference.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: max_loop=255
« Reply #1 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: max_loop=255
« Reply #2 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?
Many people see what is. Some people see what can be, and make a difference.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: max_loop=255
« Reply #3 on: October 06, 2009, 07:01:38 AM »
No, it hasn't been changed, yet at least.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: max_loop=255
« Reply #4 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: max_loop=255
« Reply #5 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?
Many people see what is. Some people see what can be, and make a difference.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: max_loop=255
« Reply #6 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  ;)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: max_loop=255
« Reply #7 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)
The only barriers that can stop you are the ones you create yourself.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: max_loop=255
« Reply #8 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.
« Last Edit: October 07, 2009, 01:03:05 AM by Guy »
Many people see what is. Some people see what can be, and make a difference.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: max_loop=255
« Reply #9 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".
The only barriers that can stop you are the ones you create yourself.