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

Re: losetup: cannot find an unused loop device , kernel config of loopback device



Hi,

> Can someone tell me where I should look for the kernel for the
> loopback setting?

Quite exactly a year ago i learned the hard way that it's
CONFIG_BLK_DEV_LOOP which on amd64 should be set to "m" to get /dev/loop*.
See its description at
  https://sources.debian.org/src/linux/5.10.46-1/drivers/block/Kconfig/#L174

But i'm somewhat puzzled by this statement at the end
  "Most users will answer N here."

A code search yields no BLK_DEV_LOOP=n
  https://codesearch.debian.net/search?q=package%3Alinux+BLK_DEV_LOOP%3Dn&literal=0
but lots of "y" and "m".

(Wasn't there a way to inquire the running kernel's configuration ?)

-----------------------------------------------------------------------

I see that tomas@tuxteam.de did not Cc you. In case you are not subscribed,
i repeat what he wrote:

> Could you please do a quick
>  sudo losetup -a
> and perhaps
>   ls /dev/loop*
> and tell us the result?
> [...] Perhaps they are all used?

Have a nice day :)

Thomas


Reply to: