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

Implement Default for Conf #8

Closed
lu-zero opened this issue Dec 7, 2021 · 4 comments
Closed

Implement Default for Conf #8

lu-zero opened this issue Dec 7, 2021 · 4 comments

Comments

@lu-zero
Copy link
Collaborator

lu-zero commented Dec 7, 2021

mdev.c assumes the final rule is a catch-all default that creates the device according to the information provided by the kernel.
Would be good to make so Conf::default() fits the correct behavior.

@lu-zero
Copy link
Collaborator Author

lu-zero commented Dec 7, 2021

It is needed to implement rust-italia/mdev#15

@mdnmdn
Copy link
Contributor

mdnmdn commented Dec 7, 2021

For the cach-all default rule:

  • filter should be a regex as .* ?
  • user & group empy string?

@lu-zero
Copy link
Collaborator Author

lu-zero commented Dec 8, 2021

user & group should be root

@lu-zero
Copy link
Collaborator Author

lu-zero commented Dec 13, 2021

Addressed in #9

@lu-zero lu-zero closed this as completed Dec 19, 2021
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

2 participants