Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-for

2015-05-18 Thread Lennart Poettering
On Mon, 18.05.15 12:30, Karel Zak (k...@redhat.com) wrote: > Currently we have no way how to specify dependencies between fstab > entries (or another units) in the /etc/fstab. It means that users are > forced to bypass fstab and write .mount units manually. > > The patch introduces new systemd fs

Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-for

2015-05-18 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing l

[systemd-devel] [PATCH] fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-for

2015-05-18 Thread Karel Zak
Currently we have no way how to specify dependencies between fstab entries (or another units) in the /etc/fstab. It means that users are forced to bypass fstab and write .mount units manually. The patch introduces new systemd fstab options: x-systemd.requires= - to specify dependence an another

Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-for

2015-05-15 Thread Lennart Poettering
On Fri, 15.05.15 12:41, Karel Zak (k...@redhat.com) wrote: > +static int write_requires_after(FILE *f, const char *opts) { > +_cleanup_free_ char *arg = NULL, *unit = NULL; > +int r; > + > +assert(f); > +assert(opts); > + > +r = fstab_filter_options(opts, "x

[systemd-devel] [PATCH] fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-for

2015-05-15 Thread Karel Zak
Currently we have no way how to specify dependencies between fstab entries (or another units) in the /etc/fstab. It means that users are forced to bypass fstab and write .mount units manually. The patch introduces new systemd fstab options: x-systemd.requires= - to specify dependence an another