Le vendredi 29 mars 2013 à 16:07 +0100, Lennart Poettering a écrit :
> 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.

You can use https://bugzilla.novell.com/show_bug.cgi?id=730496 for
instance (I have similar patch I had on my list to upstream again, since
I sent a early version before RequiresMountsFor was written but forgot).


-- 
Frederic Crozat <fcro...@suse.com>
SUSE

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to