[systemd-devel] Requiring hardware device and escaping device names

Kai Hendry hendry at webconverger.com
Tue Mar 25 19:56:38 PDT 2014


On 25 March 2014 18:01, Kai Hendry <hendry at webconverger.com> wrote:
> Requires=dev-input-by\x2did-usb\x2d13ba_0001\x2devent\x2dkbd.device

On #systemd IRC I was recommended After=, and I think it's working as it should!
After=dev-input-by\x2did-usb\x2d13ba_0001\x2devent\x2dkbd.device

> Is Requires= incorrect? Is my escaping correct? Do I need to actually
> escape in the first place?
> Btw I quickly put together a escaping and un-escaping tool here:
> http://systemd.dabase.com/
> I'd really appreciate a review.

I still don't quite understand why systemd can't take
"/dev/input/by-id/usb-13ba_0001-event-kbd" and realise it's a device.
I.e. the need for it to be escaped.

Kind regards,


More information about the systemd-devel mailing list