Bug#796389: swapon -o supported in v2.26
Andreas Henriksson
andreas at fatal.se
Fri Aug 21 23:42:35 BST 2015
Hey,
fwiw:
$ git log e07fdac476cb1c52962e^..e07fdac476cb1c52962e
commit e07fdac476cb1c52962ec82a1b12c6afc111bd08
Author: Karel Zak <kzak at redhat.com>
Date: Mon Oct 20 10:59:08 2014 +0200
swapon: add -o <list> for compatibility with mount
The new option allows to specify swap options by fstab compatible
string. The concept is the same as for mount(8).
swapon -o pri=1,discard=pages,nofail /dev/sda2
The advantage is that tools (like systmed) that parses fstab can call
swapon without translation from fstab options to swapon(8) command
line options.
Signed-off-by: Karel Zak <kzak at redhat.com>
$ git tag --contains e07fdac476cb1c52962ec82a1b12c6afc111bd08 | grep ^v
v2.26
v2.26-rc1
v2.26-rc2
v2.26.1
v2.26.2
v2.27-rc1
Regards,
Andreas Henriksson
More information about the Pkg-systemd-maintainers
mailing list