View previous topic :: View next topic |
Author |
Message |
sailer_sh n00b
Joined: 17 Jan 2005 Posts: 15
|
Posted: Sat Jan 22, 2005 4:27 pm Post subject: How to change the value of kernel about loop device? |
|
|
I have more 600+ ISO files, and want to mount them in dirs, but I found that Gentoo system can only mount 256 ISO files, is it restrict of the kernel? How can I change the kernel for mount the all ISO files? |
|
Back to top |
|
|
ivanl n00b
Joined: 15 Jan 2005 Posts: 35 Location: Singapore
|
Posted: Sat Jan 22, 2005 7:08 pm Post subject: |
|
|
I'm afraid you're going to be limited by 256, though I may be wrong.
What is happening here is that, each time you mount an .ISO, you are using a loop device. See Code: | /usr/src/linux/Documentation/devices.txt | and search for the word 'loop'. Also .
In Unix, all devices are numbered with a major number and a minor number. For loops, it is major #7. Minor numbers go from 0 to 255. Hence limited to 256 loops. |
|
Back to top |
|
|
sailer_sh n00b
Joined: 17 Jan 2005 Posts: 15
|
Posted: Sun Jan 23, 2005 5:46 am Post subject: |
|
|
ivanl wrote: | I'm afraid you're going to be limited by 256, though I may be wrong.
What is happening here is that, each time you mount an .ISO, you are using a loop device. See Code: | /usr/src/linux/Documentation/devices.txt | and search for the word 'loop'. Also .
In Unix, all devices are numbered with a major number and a minor number. For loops, it is major #7. Minor numbers go from 0 to 255. Hence limited to 256 loops. |
So it looks I cannot mount my 600+ ISO files...
|
|
Back to top |
|
|
dfy Tux's lil' helper
Joined: 05 Apr 2004 Posts: 79
|
Posted: Sun Jan 23, 2005 11:22 am Post subject: |
|
|
Yep, looks like it - I'd suggest you write yourself a bash script or ncurses program that allows you to easily mount/umount what you need at the moment . |
|
Back to top |
|
|
|