On Mi, 15.05.19 12:12, Ulrich Windl (Ulrich.Windl@xxxxxxxxxxxxxxxxxxxx) wrote: > >>> Lennart Poettering <lennart@xxxxxxxxxxxxxx> schrieb am 15.05.2019 um 12:04 > in > Nachricht <20190515100400.GB22945@gardel-login>: > > On Mi, 15.05.19 12:01, Ulrich Windl (Ulrich.Windl@xxxxxx‑regensburg.de) > wrote: > > > >> > Writing a generator is not a typical user would do. It's what a > >> > developer of a package would do, and yes, in that case, when you write > >> > code you need a bit more understanding of the underpinnings and need > >> > to do more work. > >> > >> systemd.generator(7) could really need some (better/realistic) examples. > > > > I think you assume generators are something they inherently are not. > > Even if so, a better example might clarify things. Just referring to a binary > generator like systemd-fstab-generator is not really helpful to teach how to > write a generator. You don't like scripts as generators, but I think still they > would make a good example what a generator is supposed to do and what not. Well, there can always be more examples, but "generators" are inherently an advanced concept: if you are writing a generator, then you already should be pro enough to be able to consult the sources of the various generators shipped with systemd. i.e. it's not a beginners topic, it's a very low-level, technicallly advanced one. Lennart -- Lennart Poettering, Berlin _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel