Add symlink to device node with hw-assing

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


Hello,

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
in

    "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: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20151001/9649560d/attachment.html>


More information about the snappy-devel mailing list