[Kernel-handbook-general] Possible typo?

James Howells james at howells.uk.net
Thu Aug 26 03:42:15 UTC 2010


Hi guys,

Great book but I'm playing with modules and I came across what I thought I 
needed in Chapter 5 (Managing the kernel modules).

For your second bit of quoted text on the page, you state:

-----------------------------
     loop max_int=32
     sbp2
-----------------------------

for specifying boot-time options (ironically, it's 32 loop devices I'm trying 
to create!) but in the next quoted section:

-----------------------------
     # modinfo loop
     filename:       /lib/modules/2.6.18-3-686/kernel/drivers/block/loop.ko
     license:        GPL
     alias:          block-major-7-*
     vermagic:       2.6.18-3-686 SMP mod_unload 686 REGPARM gcc-4.1
     depends:        
     parm:           max_loop:Maximum number of loop devices (1-256) (int)
-----------------------------

The "parm" section states "max_loop". Is the "max_int" option in your example 
a typo?

Thanks,

James



More information about the Kernel-handbook-general mailing list