On Tue, 19.04.11 17:28, Albert Strasheim ([email protected]) wrote: > Hello again > > My previous problem with an After= referring to a device seems to have > been caused by a device with a dash in the name. > > I had a service called [email protected] with > > BindTo=dev-%i.device > After=dev-%i.device > > which fails to find dev-dm-0.device because systemd seems to be calling it: > > dev-dm\x2d0.device loaded active plugged /dev/dm-0 > > Is there any way to reconcile these two?
Use %I instead of %i for a wildcard with all special chars escaped. This is documented in more detail in systemd.unit(5). Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
