Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using busybox/kmod directly #226

Open
evelikov opened this issue Jul 2, 2023 · 0 comments
Open

Consider using busybox/kmod directly #226

evelikov opened this issue Jul 2, 2023 · 0 comments

Comments

@evelikov
Copy link
Contributor

evelikov commented Jul 2, 2023

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
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant