WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Frank

  • Guest
Default "max_loop" command-line parameter is off by one
« on: January 24, 2010, 04: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

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