Skip to content

Instantly share code, notes, and snippets.

@SeyedMostafaAhmadi
Last active November 28, 2023 06:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SeyedMostafaAhmadi/3e05e98baaac341a1fd0f7a85f9dff8f to your computer and use it in GitHub Desktop.
Save SeyedMostafaAhmadi/3e05e98baaac341a1fd0f7a85f9dff8f to your computer and use it in GitHub Desktop.
How to reload udev rules without reboot?
# When i was faced with this warning in lvm when i run lvm command it works but it took
# WARNING: Device /dev/dm-20 not initialized in udev database even after waiting 10000000 microseconds.
# It look my problem is solved by reloading udev rules without reboot with this command:
udevadm control --reload-rules && udevadm trigger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment