:: Re: [DNG] Why does systemd do such …
Top Pagina
Delete this message
Reply to this message
Auteur: Rainer Weikusat
Datum:  
Aan: dng
Onderwerp: Re: [DNG] Why does systemd do such stupid things
Adam Borowski <kilobyte@???> writes:
> On Tue, Nov 08, 2016 at 04:00:10PM +0000, Rainer Weikusat wrote:
>> It's pretty easy to fix this:
>>
>>     - assign a sequence number to each driver load event reflecting
>>           the device detection order

>>
>>     - use a module loading program (really a modprobe wrapper)
>>           utilizing these sequence numbers to work out the order modules
>>           should be loaded in

>>
>> The implementation I'm using does this by creating a file whose name is
>> the sequence number of the driver to load next in a subdirectory of
>> /dev. Concurrently started driver loaders use dnotify[*] to watch this
>> directory and 'do their thing' once their sequence number
>> appears. Afterwards, the instance which finished its work delete its
>> sequence number file and creates the next one.
>
> This would work only if every of your network cards uses a different driver.


This works. It doesn't solve the problem of Dell cross-connecting
different NICs of the same type but it's not supposed to.