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?
  • eldavi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 days ago

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