[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] [w@...112...: Re: nbd-client started at boot (for root device) is not persistent]



> On 28 Nov 2016, at 17:41, Wouter Verhelst <w@...112...> wrote:
> 
> What I'm suggesting is that the parent process negotiates everything,
> but that it does the fork() call only just before doing the NBD_DO_IT
> ioctl(). At that point, we've already negotiated, and there is very
> little that can go wrong anymore. The child process will need to wait a
> short while to avoid the obvious race (although a second might indeed be
> overdoing it), but beyond that it should be good.

I will admit to not following this in complete detail, but this sounds
to me like a systemd problem / thinko, rather than an nbd client
thinko.

I suppose it would be possible to specify some sort of external command
that could be run when (re)mounting, or (if run under systemd) send it
some form of message ...

-- 
Alex Bligh







Reply to: