Skip to content

Commit

Permalink
zfs-create(8): ZFS for swap: mention the FAQ doc
Browse files Browse the repository at this point in the history
Instead of describing just one of the steps that are appropriate to avoid deadlock, mention the FAQ.

Related: <https://openzfs.github.io/openzfs-docs/Project%20and%20Community/FAQ.html#using-a-zvol-for-a-swap-device-on-linux> (Using a zvol for a swap device on Linux).
  • Loading branch information
grahamperrin authored Apr 16, 2023
1 parent 6f2ce49 commit a90829e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions man/man8/zfs-create.8
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,7 @@ Print verbose information about the created dataset.
.Ss ZFS for Swap
Swapping to a ZFS volume is possible, however care must be taken to avoid
deadlocks.
After creating the volume with
.Nm zfs Cm create Fl V ,
enable the swap area using the
.Xr swapon 8
command.
See OpenZFS FAQ.
.Pp
Swapping to a file on a ZFS filesystem is not supported.
.
Expand Down

0 comments on commit a90829e

Please sign in to comment.