Getting names of all kernel modules used by a particular module -


in output of lsmod command, used by column not have name of kernel modules used module. example, consider following part-output of lsmod command:

  module                  size  used  xen_blkfront           16512  4   ext3                  137007  1   jbd                    54383  1 ext3  mbcache                 7438  1 ext3 

in above output, ext3 module used 1 module, name not there. similarly, xen_blkfront module used 4 modules, there no names modules. but, jdb , mbcache modules used ext3 module. so, there way these missing module names ?

i need because kernel not allow me rmmod ext3 module saying "error: module ext3 in use".

the "used by" column shows not number of referencing modules, numer of times any kernel code has taken reference module.

for file systems , device drivers, typically happens when file/device opened.

the source of references not tracked.


Comments

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -