Re: [systemd-devel] Two conditional mount units for the same mount point

2017-10-25 Thread Jan Kundrát
On středa 25. října 2017 9:25:49 CEST, Lennart Poettering wrote: My recommendation would be to generate the mount unit dynamicly using a "generator". Doh, right! This actually made the code a bit more straightforward and flexible. Thanks for your suggestion. With kind regards, Jan

Re: [systemd-devel] Later activation of the HW watchdog

2017-10-25 Thread Lennart Poettering
On Di, 24.10.17 17:10, Jan Kundrát (jan.kund...@cesnet.cz) wrote: > Hi, > is it possible to change systemd's global settings for RuntimeWatchdogSec at > runtime? I would like to have the early boot "guarded" by the HW watchdog > started by my platform code, and for systemd to take over only after

Re: [systemd-devel] Why do passive target units have to exist?

2017-10-25 Thread Lennart Poettering
On Mi, 25.10.17 04:52, 林自均 (johnl...@gmail.com) wrote: > Hi Lennart, > > Yes, it makes sense to me. Thank you for your explanation. > > However, I still have a question about it. If the general goal is to > minimize synchronization points, why don't we convert more active targets > into passive

Re: [systemd-devel] Two conditional mount units for the same mount point

2017-10-25 Thread Lennart Poettering
On Di, 24.10.17 17:27, Jan Kundrát (jan.kund...@cesnet.cz) wrote: > I would like to mount one of two partitions to a common mount point based on > an option passed on the kernel's command line. I tried to implement this > with two cfg-A.mount and cfg-B.mount units with an appropriate >