Skip Navigation

Learning udev

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?

Comments

4