2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/udevadm
2017-07-09 14:13:09 +00:00

16 lines
373 B
Plaintext

# udevadm
# udev management tool
# Reload udev rules without reboot
udevadm control --reload-rules && udevadm trigger
# Get sysfs path of a device
udevadm info -q path -n /dev/sda
# Get a list of attributes for a specific device
udevadm info -a -p $(udevadm info -q path -n /dev/sdb)
# Get an entry for each action taken by KERNEL and UDEV
udevadm monitor --property