mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-09 10:47:09 +00:00
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:
parent
02ffc977be
commit
36fcaa1a7b
@ -47,7 +47,7 @@ Since version 6.1 it's possible to create the swapfile in a single command
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
# btrfs filesystem mkswapfile swapfile
|
# btrfs filesystem mkswapfile --size 2G swapfile
|
||||||
# swapon swapfile
|
# swapon swapfile
|
||||||
|
|
||||||
Please note that the UUID returned by the *mkswap* utility identifies the swap
|
Please note that the UUID returned by the *mkswap* utility identifies the swap
|
||||||
|
Loading…
Reference in New Issue
Block a user