On Wed, 27.03.13 17:52, Thomas Weißschuh (tho...@t-8ch.de) wrote: > + if (startswith(u, "/dev/"))
Looks like we want is_device_path for this? > + fprintf(f, > + "BindsTo=%s\n" > + "After=%s\n" > + "Before=umount.target\n", > + d, d); > + else > + fprintf(f, > + "RequiresMountsFor=%s\n", > + u); > + > fprintf(f, > "\n[Service]\n" > "Type=oneshot\n" Oh, and could you add a full http URL path to the bug in the commit msg? otherwise it's not clear if that's fdobz or rhbz or any other. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel