I created a swap file on an ec2 instance following this procedure: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/
When I run sudo findmnt --verify
I get the following error:
swap
[W] non-bind mount source /swapfile is a directory or regular file
Is the procedure on amazon's site wrong?