[systemd-devel] [PATCH] swap: introduce Discard property

Jan Synacek jsynacek at redhat.com
Mon Sep 29 04:23:30 PDT 2014


Jan Synacek <jsynacek at redhat.com> writes:
> Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> writes:
>> On Wed, Sep 24, 2014 at 02:29:05PM +0200, Jan Synacek wrote:
>>> Process possible "discard" values from /etc/fstab.
>> Hm, wouldn't it be enough to simply pass through the options like with
>> mounts, using the Options= option? This might be less work and be more
>> flexible.
>>
>> Zbyszek
>
> Swap options are special in that they're processed and used by the
> swapon(8) command. You cannot pass swapon -o <options>, as you can to
> ordinary mounts. And how many options for swapon, that at the same time
> can be specified in /etc/fstab, do we really care about? I'm not sure.

Ping, could anybody comment, please?

-- 
Jan Synacek
Software Engineer, Red Hat


More information about the systemd-devel mailing list