• Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
No Result
View All Result
Home Tutorials

“Accidentally Deleted” udev rules.d: Restore udev Rules in /etc/udev/rules.d/ or /lib/udev/hwdb.d/

by Sick Codes
November 30, 2021
in Tutorials
0
“Accidentally Deleted” udev rules.d: Restore udev Rules in /etc/udev/rules.d/ or /lib/udev/hwdb.d/

While trying to symlink some udev rules out of `/etc/udev/rules.d/`, I used a wildcard and removed all the rules.

There is an exact copy of the rules.d inside of /lib/udev/rules.d/

So you can just copy them across:

sudo cp -r --no-clobber /lib/udev/rules.d/* /etc/udev/rules.d/

Or if you did it the other way, e.g. you accidentally delete files from /lib/udev/rules.d/, you can just swap etc and lib in the command above. Very important, note the * symbol!

Hope this helps!

Next Post
How to downgrade linux-lts back to 5.10 on Arch Linux/Manjaro from 5.15, and keep it there!

How to downgrade linux-lts back to 5.10 on Arch Linux/Manjaro from 5.15, and keep it there!

Fix DIVD-2022-00002 - Grafana Upgrade Mitigation

Fix DIVD-2022-00002: Grafana versions 8.0.0-beta1 through 8.3.0 installed via dpkg/deb package. Mitigation:

macOS recovery image on linux

How to create a macOS recovery USB installer without macOS (on Linux/Windows)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects

© 2017-2021 Sick.Codes

@sickcodes

@sickcodes

@sickcodes

Discord Server

sickcodes.slack.com

t.me/sickcodeschat

./contact_form