Start_udev - more loop devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux