Learning udev (www.youtube.com)
submitted 2 months ago* (last edited 2 months ago) by to c/linux@lemmy.ml
 

I am reading up on udev, about its purpose, history and implementation. I have read the Wikipedia article and next I'm going to read the man pages. Meanwhile, I watched this video (Invidious link here) to see an example of what udev rules can do. I just have some questions regarding this video specifically:

  1. Following the principle of least privilege, shouldn't I create a separate group - usb or whatever - rather than using wheel this way, which gives it double roles?
  2. Why don't I just chmod and chown the /dev file(s) in question, if udev already provides persistent device naming (=the raw device won't have a different designation at next disconnect-connect)? Or does the designation change perhaps?
you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 2 months ago

you're going to learn it better than 90% of people out there if you do all of this. lol

  • source