Created
May 5, 2017 19:10
-
-
Save fabiotatsuo/9791f1df0b3ab83b5ae729de32c57df3 to your computer and use it in GitHub Desktop.
Swap file / FreeBSD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Swap file | |
dd if=/dev/zero of=/usr/swap0 bs=1m count=4096 | |
chmod 0600 /usr/swap0 | |
echo "md99 none swap sw,file=/usr/swap0,late 0 0" >> /etc/fstab | |
swapon -aL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment