On Sun, May 18, 2014 at 11:14 AM, Brian <a...@cityscape.co.uk> wrote:
> On Sun 18 May 2014 at 09:40:29 -0400, Tom H wrote:
>>
>> If you have loop compiled in to the kernel, as I do below, you can
>> only change the number of loop devices at boot by using
>> "max_loop=<number_of_loop_devices" on the kernel cmdline.
>>
>> # grep BLK_DEV_LOOP /boot/config-3.15-rc5
>> CONFIG_BLK_DEV_LOOP=y
>> CONFIG_BLK_DEV_LOOP_MIN_COUNT=16
>>
>> But if the above grep returns "CONFIG_BLK_DEV_LOOP=m", you can:
>>
>> # rmmod loop
>> # modprobe loop max_loop=<number_loop_devices_minus_one>
>
> This can be automated to apply during booting by putting 'loop' into
> /etc/modules and 'options loop max_loop=<number_loop_devices_minus_one>'
> into a file in /etc/modprobe.d/. This works (for me) under sysvint and
> systemd.

The OP had said "... it can be reset for the next re-boot under
/etc/modprobe.d . But I want to reset it on the fly. ..."


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAOdo=Sw8-nSQG+Tbj-znkPS=grxr+umvsslrjxrqqz+gd_f...@mail.gmail.com

Reply via email to