WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Default "max_loop" command-line parameter is off by one  (Read 2778 times)

Frank

  • Guest
Default "max_loop" command-line parameter is off by one
« on: January 24, 2010, 07:49:34 PM »
TinyCore Base uses "max_loop=255" as a default boot command-line parameter. That gives the loop devices /dev/loop0 thru /dev/loop254. Using "max_loop=256" instead would give an additional loop device, namely /dev/loop255. Not a big gain, I admit, but one that comes for free. -- Just for the record: further increasing the "max_loop" number does not give additional loop devices.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Default "max_loop" command-line parameter is off by one
« Reply #1 on: January 24, 2010, 09:59:17 PM »
Got it. Thanks.
10+ Years Contributing to Linux Open Source Projects.