]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mkswap: improve --file option for use on btrfs
authorKarel Zak <kzak@redhat.com>
Wed, 29 Jan 2025 11:05:10 +0000 (12:05 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Jan 2025 12:45:28 +0000 (13:45 +0100)
commitec3ecd0141c62a93a8ff221746251e96bdbe2975
tree7fbd7624c86b317e7b48af9ab4e639ac89af3052
parente903d2a2930a56b2e4d3b2aacf36db71ba626e68
mkswap: improve --file option for use on btrfs

We will now try to set the "nocow" attribute, but will ignore it if it
is not supported.

Suggested-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/mkswap.8.adoc
disk-utils/mkswap.c
sys-utils/swapon.8.adoc