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

#8 UDEV rules /lib/udev/... vs /etc/udev/... #13

Open
dulhaver opened this issue Sep 25, 2016 · 1 comment
Open

#8 UDEV rules /lib/udev/... vs /etc/udev/... #13

dulhaver opened this issue Sep 25, 2016 · 1 comment

Comments

@dulhaver
Copy link

dulhaver commented Sep 25, 2016

apparently another thing where the course is outdated?

on my trusty 64 machine the rules are found in /lib/udev/rules.d/ while /etc/udev/rules.d/ (apart from a README) is empty.

Can it be that /lib/udev/rules.d/ are the default rules and /etc/udev/rules.d/ is meant for putting your own custom rules?

Also ... does anybody really understand the how .rules files work? When I look at them it's more like "yea, sure ... whatever"

@dulhaver
Copy link
Author

dulhaver commented Sep 25, 2016

that's the explanation apparently:

`cat /lib/udev/rules.d/README

...
These are not conffiles. If you want to override the behaviour, you
can do one of two things:

  1. Write your own rules in /etc/udev/rules.d that assign the name,
    symlinks, permissions, etc. that you want. Pick a number higher
    than the rules you want to override, and yours will be used.

  2. Copy the file to /etc/udev/rules.d and edit it there; you
    should generally only do this if you want to prevent a program
    from being run.

still, hard time to understand this really. was Anybody able to solve LAB 8.1 without looking at the solution?

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