Re: Max number of loop devices OR "efficient search of Debian documentation"
Tom H a écrit :
>>
>> My current instance is attempting to modify the max number of loop devices.
>> One pellet of Google buckshot reminded me that it can be reset for the next
>> re-boot under /etc/modprobe.d . But I want to reset it on the fly.
>
> 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.
>
> But if loop is compiled as module
>
> # rmmod loop
> # modprobe loop max_loop=<number_loop_devices_minus_one>
One more general piece of information about module parameters : some may
be modified on the fly by writing into
/sys/module/<module>/parameters/<parameter>. But it appears that
/sys/module/loop/parameters/max_loop is read only.
Reply to: