[systemd-devel] Match section of .link file not working

Lennart Poettering lennart at poettering.net
Mon Aug 25 10:25:12 PDT 2014

On Sun, 24.08.14 06:49, Simon Peeters (peeters.simon at gmail.com) wrote:

> >> This should be the value of ID_PATH property, not sysfs path. Check with
> >>
> >> udevadm info --query
> >> property /sys/devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1:1.0/net/wlv3
> >
> > oops, I confused ID_PATH with DEVPATH, now i feel like an idiot.

ID_PATH is basically the "reduced + stable" part of the full sysfs path.

> Ok, so there is only one problem now:
> ID_PATH is the same for all my vif interfaces, and i need to select
> only one of them.

This is some embedded device with your hw connected to some platform

Currently the ID_PATH logic doesn't understand platform busses (since it
is not clear how "stable" they are). This has come up before, and could
probably be fixed. Maybe we should assume that platform busses are
always enuemrated in a stable way, dunno.

Kay probably has something useful to say here. Kay?


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list