3 ms·
This is fairly straightforward with udev, a couple lines of config should be sufficient.
by microcolonel 6y ago
This is fairly straightforward with udev, a couple lines of config should be sufficient.
- pnutjam 6y agoany directions?
- bartvk 6y agoThis guide is pretty good: http://reactivated.net/writing_udev_rules.html http://reactivated.net/writing_udev_rules.html Some ten-odd years ago, I wrote how to create udev rules to execute a command after connecting a particular USB device: https://www.vankuik.nl/2008-12-19_Linux_USB_device_handling https://www.vankuik.nl/2008-12-19_Linux_USB_device_handling
- microcolonel 6y agoI think it would end up something like SUBSYSTEM=="block", SUBSYSTEMS=="usb", OPTIONS+="ignore_device" But don't quote me on that