[systemd-devel] Udev rules for interfaces

Adi Ml maladi1747 at gmail.com
Fri Dec 25 09:01:47 UTC 2020


Hi,

I am trying to generate rules in udev to block mass storage. It seems like
it only checks the device itself (its class is 00), but not its interface
classes (one of those is 08, a mass storage). It seems like there is only
attr{bDeviceClass} but there is attr{bInterfaceClass} only when I specify
the interface number.


How is it possible to set the rules against its interfaces too?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20201225/a90c0716/attachment.htm>


More information about the systemd-devel mailing list