btrfs-progs: docs: update swapfile Added size to mkswapfile example

Let's show users how to set the size of their new swapfile.

Pull-request: #601
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
softwarecreations 2023-03-16 12:39:15 +02:00 committed by David Sterba
parent 02ffc977be
commit 36fcaa1a7b

View File

@ -47,7 +47,7 @@ Since version 6.1 it's possible to create the swapfile in a single command
.. code-block:: bash
# btrfs filesystem mkswapfile swapfile
# btrfs filesystem mkswapfile --size 2G swapfile
# swapon swapfile
Please note that the UUID returned by the *mkswap* utility identifies the swap