假設要查詢的裝置是 /dev/sda 則使用指令如下:
udevadm info --attribute-walk --path=$(udevadm info --query path --name /dev/sda)
參考資料: Writing udev rules howto–udev-rules
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website