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. -- 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/5378bb14.4080...@plouf.fr.eu.org