swapon: add --fstab command line option

Let's add --fstab mount option for compatibility with mount(8).

Addresses: https://github.com/util-linux/util-linux/issues/2017
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2023-01-16 13:47:36 +01:00
parent e53463ea40
commit a5a9b54429
6 changed files with 18 additions and 9 deletions

View file

@ -59,6 +59,7 @@ _swapon_module()
--discard
--ifexists
--fixpgsz
--fstab
--priority
--summary
--show