Start_udev - more loop devices

Bob Marcan bob at interstudio.homeunix.net
Thu Dec 16 09:27:58 UTC 2004


Kenneth Lee wrote:

>I modified start_udev with the following:
>	if [ -x $MAKEDEV ]; then
>		$MAKEDEV -x $( 
>			for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15;
>do
>				echo cpu/$i/microcode;
>			done;
>			for i in 1 2 3 4 5 6; do echo tty$i;done;
>			for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 \
>				 ; do echo loop$i; done;
>			for i in 0 1 2 3; do echo lp$i; echo
>parport$i;done;
>			echo net/tun ppp console null zero;
>			for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 \
>				 16 17 18 19 20 21 22 23 24 25 26 27 28
>29 \
>				 30 31; do echo md$i;done;
>		);
>		[ -a /dev/MAKEDEV ] || ln -s $MAKEDEV /dev/MAKEDEV;
>		cp -a /etc/udev/devices/* /dev/ >/dev/null 2>&1 || :
>	fi
>
>Notice that loop now goes up to 15, for a total of 16 loop devices.  If
>I modify this to go up to 31, I get errors at startup that say the loop
>device cannot be created.  What do I have to do?  In my dev directory, I
>previously created devices up to loop63.
>
>Thanks,
>
>Ken Lee
>
>
>  
>
Do you have

options loop max_loop=???

in your /etc/modprobe.conf ?

-- 
 Bob Marcan, Consultant                mailto:bob.marcan at hermes-plus.si
 S&T Hermes Plus d.d.                  tel:           +386 (1) 5895-300
 Slandrova ul. 2                       fax:           +386 (1) 5895-202
 1231 Ljubljana - Crnuce, Slovenia     url:   http://www.hermes-plus.si





More information about the fedora-list mailing list