While grepping for xz/zstd I've noticed that the project is effectively re-implementing kmod.
Note I didn't look too closely at the code, although it's not hard to imagine that it has are bugs and other unwanted creatures lurking within.
Perhaps more importantly a) the contents/implementation of modules.dep varies across kmod and busybox and b) the man page explicitly suggests against using third party tools to parse said files
From man modules.dep
...
Its text counterpart is located in the same directory with the name
modules.dep. The text version is maintained only for easy of reading by
humans and is in no way used by any kmod tool.
These files are not intended for editing or use by any additional
utilities as their format is subject to change in the future. You
...
While grepping for xz/zstd I've noticed that the project is effectively re-implementing kmod.
Note I didn't look too closely at the code, although it's not hard to imagine that it has are bugs and other unwanted creatures lurking within.
Perhaps more importantly a) the contents/implementation of modules.dep varies across kmod and busybox and b) the man page explicitly suggests against using third party tools to parse said files
From
man modules.dep