kibi@arya:~$ /sbin/modinfo loop
filename: /lib/modules/3.16.0-4-amd64/kernel/drivers/block/loop.ko
alias: devname:loop-control
alias: char-major-10-237
alias: block-major-7-*
license: GPL
depends:
intree: Y
vermagic: 3.16.0-4-amd64 SMP mod_unload modversions
parm: max_loop:Maximum number of loop devices (int)
parm: max_part:Maximum number of partitions per loop device (int)
Si on n'est pas sûr, on peut se douter que cela provient de drivers/block/loop.c puis vérifier l'option correspondante dans drivers/block/Makefile, il s'agit de CONFIG_BLK_DEV_LOOP, puis consultation du help text correspondant dans drivers/block/Kconfig :
config BLK_DEV_LOOP
tristate "Loopback device support"
---help---
Saying Y here will allow you to use a regular file as a block
device; you can then create a file system on that block device and
mount it just as you would mount other block devices such as hard
drive partitions, CD-ROM drives or floppy drives. The loop devices
are block special device files with major number 7 and typically
called /dev/loop0, /dev/loop1 etc.
[...]
[^] # Confirmé
Posté par Cyril Brulebois (site web personnel) . En réponse au message Module loop. Évalué à 3.
C'est bien cela. Complément d'information :
Si on n'est pas sûr, on peut se douter que cela provient de
drivers/block/loop.cpuis vérifier l'option correspondante dansdrivers/block/Makefile, il s'agit deCONFIG_BLK_DEV_LOOP, puis consultation du help text correspondant dansdrivers/block/Kconfig:Debian Consultant @ DEBAMAX