Re: [systemd-devel] how to bind to other drivers using systemd

2015-10-13 Thread Harald Hoyer
On 13.10.2015 14:08, Panu Matilainen wrote: > On 09/30/2015 08:43 PM, Flavio Leitner wrote: >> On Tue, Sep 29, 2015 at 12:30:54AM +0300, Mantas Mikulėnas wrote: >>> I wonder if this could be handled with a generic Type=oneshot, >>> ExecStart=driverctl bind foo... >> >> Could you elaborate more on

Re: [systemd-devel] how to bind to other drivers using systemd

2015-10-13 Thread Harald Hoyer
On 13.10.2015 14:08, Panu Matilainen wrote: > On 09/30/2015 08:43 PM, Flavio Leitner wrote: >> On Tue, Sep 29, 2015 at 12:30:54AM +0300, Mantas Mikulėnas wrote: >>> I wonder if this could be handled with a generic Type=oneshot, >>> ExecStart=driverctl bind foo... >> >> Could you elaborate more on

Re: [systemd-devel] how to bind to other drivers using systemd

2015-10-13 Thread Panu Matilainen
On 10/13/2015 03:24 PM, Harald Hoyer wrote: On 13.10.2015 14:08, Panu Matilainen wrote: On 09/30/2015 08:43 PM, Flavio Leitner wrote: On Tue, Sep 29, 2015 at 12:30:54AM +0300, Mantas Mikulėnas wrote: I wonder if this could be handled with a generic Type=oneshot, ExecStart=driverctl bind

Re: [systemd-devel] how to bind to other drivers using systemd

2015-10-13 Thread Panu Matilainen
On 09/30/2015 08:43 PM, Flavio Leitner wrote: On Tue, Sep 29, 2015 at 12:30:54AM +0300, Mantas Mikulėnas wrote: I wonder if this could be handled with a generic Type=oneshot, ExecStart=driverctl bind foo... Could you elaborate more on that? If driverctl is an utility, we could use scripts,

Re: [systemd-devel] how to bind to other drivers using systemd

2015-10-13 Thread Panu Matilainen
On 10/13/2015 03:28 PM, Harald Hoyer wrote: On 13.10.2015 14:08, Panu Matilainen wrote: On 09/30/2015 08:43 PM, Flavio Leitner wrote: On Tue, Sep 29, 2015 at 12:30:54AM +0300, Mantas Mikulėnas wrote: I wonder if this could be handled with a generic Type=oneshot, ExecStart=driverctl bind

Re: [systemd-devel] how to bind to other drivers using systemd

2015-09-30 Thread Flavio Leitner
On Tue, Sep 29, 2015 at 12:30:54AM +0300, Mantas Mikulėnas wrote: > I wonder if this could be handled with a generic Type=oneshot, > ExecStart=driverctl bind foo... Could you elaborate more on that? If driverctl is an utility, we could use scripts, yeah. The issue is how to identify the device.

Re: [systemd-devel] how to bind to other drivers using systemd

2015-09-29 Thread Panu Matilainen
On 09/28/2015 09:55 PM, Kay Sievers wrote: On Mon, Sep 28, 2015 at 8:48 PM, Flavio Leitner wrote: On Mon, Sep 28, 2015 at 08:06:50PM +0200, Kay Sievers wrote: On Sun, Sep 27, 2015 at 11:37 PM, Flavio Leitner wrote: I am looking for guidance on how to

Re: [systemd-devel] how to bind to other drivers using systemd

2015-09-28 Thread Kay Sievers
On Sun, Sep 27, 2015 at 11:37 PM, Flavio Leitner wrote: > I am looking for guidance on how to properly resolve driver binding > with systemd (which seems to me the best place to do that). This seems to be a too exotic and niche use case, nothing general-purpose enough to

Re: [systemd-devel] how to bind to other drivers using systemd

2015-09-28 Thread Flavio Leitner
On Mon, Sep 28, 2015 at 08:06:50PM +0200, Kay Sievers wrote: > On Sun, Sep 27, 2015 at 11:37 PM, Flavio Leitner wrote: > > I am looking for guidance on how to properly resolve driver binding > > with systemd (which seems to me the best place to do that). > > This seems to be a

Re: [systemd-devel] how to bind to other drivers using systemd

2015-09-28 Thread Kay Sievers
On Mon, Sep 28, 2015 at 8:48 PM, Flavio Leitner wrote: > On Mon, Sep 28, 2015 at 08:06:50PM +0200, Kay Sievers wrote: >> On Sun, Sep 27, 2015 at 11:37 PM, Flavio Leitner wrote: >> > I am looking for guidance on how to properly resolve driver binding >> >

Re: [systemd-devel] how to bind to other drivers using systemd

2015-09-28 Thread Mantas Mikulėnas
I wonder if this could be handled with a generic Type=oneshot, ExecStart=driverctl bind foo... -- Mantas Mikulėnas On Sep 28, 2015 21:48, "Flavio Leitner" wrote: > On Mon, Sep 28, 2015 at 08:06:50PM +0200, Kay Sievers wrote: > > On Sun, Sep 27, 2015 at 11:37 PM, Flavio