Add symlink to device node with hw-assing

Carlo Lobrano c.lobrano at
Thu Oct 1 09:21:14 UTC 2015


there is an open bug (Bug #1496319) about the possibility to assign a
symlink to a device node using hw-assign command and I am working on it. I
had everything done and ready to be submitted for something like:

    "snappy hw-assign <device> <symlink>"

but, then, I thought that it's more common to create a symlink only if some
conditions are met (like VID/PID, etc.), so I've got the idea to change it

    "hw-assign <device> <properties>"

where <properties> would be a string containing part of the Udev rule to
append to the newly created rule, like "ATTRS{idVendor}==...". This way one
can add different rules, not only symlinks.

What do you think about it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the snappy-devel mailing list