2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/udevadm

16 lines
373 B
Plaintext
Raw Normal View History

2017-07-09 14:13:09 +00:00
# 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