[systemd-devel] [PATCH] swap: use swapon -o

Lennart Poettering lennart at poettering.net
Thu May 21 12:04:04 PDT 2015


On Thu, 21.05.15 18:02, Karel Zak (kzak at redhat.com) wrote:

> On Thu, May 21, 2015 at 04:45:44PM +0200, Lennart Poettering wrote:
> > I think it might be a good idea to log a warning if the priority is
> > specified both in s->parameters_frament.priority and in
> > s->parameters_fragment.options.
> 
> This (priority specified by both fields) is standard fstab-generator behaviour.
> Maybe the generator should be also updated to stop generate "Priority:".

Yeah, I agree. It should pass the option string as is, given that we
can do so now, and not parse it in any way and generate secondary
fields from it.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list