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

Re: how to creat a loop mount point



On Wed, Dec 15, 2004 at 10:57:01AM +0100, belahcene wrote:
> I want to mount  other CD's ( sarge 9  to sarge 15 ), so I think I have 
> to creat  /dev/loop8, ....  /dev/loop14,
> How to do it please

  modprobe loop max_loop=256
  C=8; for C in `seq 8 255`; do mknod /dev/loop$C b 7 $C; done


If you add to your /etc/modules:

  loop max_loop=256


it will load at boot time

If you only want 14, change the numbers.



Reply to: