loop devices run out
![](https://seccdn.libravatar.org/avatar/2d352cd4b589f9f4fd2f6ceffac8d903.jpg?s=120&d=mm&r=g)
Hello all, On suse10.0 I use to mount dvd ISO's with, mount -o loop '/what(1)' '/where' and point MPlayer to the right place. If I needed to chance a dvd I just did a new mount -o loop '/what(2)' '/where' and the new movie will play no problem. I do the same in 10.1 but the movie does not change. A couple more mount commands, 8 in total, and a error pops up about no more loop devices. The loop(name escapes me now) command shows /dev/loop0-7 all full, -d complains about device busy although I did unmount the iso's. Mplayer only plays the dvd mounted on /dev/loop0 Any help getting the previous effect or how to set other loop device, ie /dev/loop1-7 to my dvd mount point? Kind Regards Trenton -- Changing the face of mathematics. Master Maths George Postnet Suite #109 Private Bag X6590 George 6529 South Africa +27(0)82 871 6125
![](https://seccdn.libravatar.org/avatar/9c6dd5d02b6268ddce65c31248b42967.jpg?s=120&d=mm&r=g)
Well, by default there are only 8 loop devices compiled in standard kernels. There are several ways to overcome the problem: 1) unmount the unused ISOs (recommended, easiest way) 2) use FUSE (Filesystem in User Space doesn't have this stupid limitation, requires kernel 2.6.14+) 3) compile your own kernel with more loop devices (I think 256 is a theoretical maximum for v2.6 kernels)
![](https://seccdn.libravatar.org/avatar/a9970bdbb04154a18b3513cd397f49eb.jpg?s=120&d=mm&r=g)
On Thu, 2006-09-28 at 21:49 +0200, Alexey Eremenko wrote:
Well, by default there are only 8 loop devices compiled in standard kernels.
There are several ways to overcome the problem: 1) unmount the unused ISOs (recommended, easiest way) 2) use FUSE (Filesystem in User Space doesn't have this stupid limitation, requires kernel 2.6.14+) 3) compile your own kernel with more loop devices (I think 256 is a theoretical maximum for v2.6 kernels)
Hi, there are better ways, depending on what you have running: If the loop-software is built in the kernel, then edit the file /boot/grub/menu.lst, and add as kernel option: max_loop=256 If the loop-software is built as a module, then edit the file /etc/modprobe.conf, and add the line: "loop max_loop=256" Hans -- pgp-id: 926EBB12 pgp-fingerprint: BE97 1CBF FAC4 236C 4A73 F76E EDFC D032 926E BB12 Registered linux user: 75761 (http://counter.li.org)
![](https://seccdn.libravatar.org/avatar/16984e26fd55577c1d274b4950ca36b4.jpg?s=120&d=mm&r=g)
On Thursday 28 September 2006 14:39, Trenton Carr wrote:
Hello all,
On suse10.0 I use to mount dvd ISO's with,
mount -o loop '/what(1)' '/where'
and point MPlayer to the right place. If I needed to chance a dvd I just did a new
Don't know about your loop problem, but MPlayer (as well as VLC) is capable of playing DVD ISOs directly, without the need to mount them. Just open it as a file.
![](https://seccdn.libravatar.org/avatar/16984e26fd55577c1d274b4950ca36b4.jpg?s=120&d=mm&r=g)
On Thursday 28 September 2006 16:50, Alexey Eremenko wrote:
Don't know about your loop problem, but MPlayer (as well as VLC) is capable
of
playing DVD ISOs directly, without the need to mount them. Just open it as
a file.
even if it is encoded in non-DVD video format, like MPEG4-DivX ?
No.
participants (4)
-
Alexey Eremenko
-
Hans Witvliet
-
Scott Jones
-
Trenton Carr