module deps / location

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

 



Hi,

I have some comments on locatemodule() and resdeps() in dracut-functions.

resdeps() shouldn't need to loop to find all the module dependencies. 
"modprobe --show-depends" will show all the dependencies of a module,
both direct and indirect.

And in locatemodule(), I can't understand why it tries to continue if
the full path from "modprobe --showdepends" does not exist.  I would
expect it to just give up (and perhaps suggest re-running depmod),
rather than searching for the module in other locations.  Can anyone
give me a hint?

Thanks
Alan
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux