Skip to content

Only load loop module if it is not already loaded in the kernel

clayton craft requested to merge fix/673_loop_module into master

This checks for /sys/modules/loop before modprobing the loop module. My understanding is that if this module is built into the kernel, that this directory is still created. For a kernel without loop built in, losetup.py will try to load the module using modprobe.

fixes #673 (closed)

Merge request reports

Loading