Answer the question
In order to leave comments, you need to log in
Is it possible to delete a swap file on FreeBSD?
Good afternoon!
Tell colleagues, there is a /tmp/swapfile created like this:
dd if=/dev/zero of=/tmp/swapfile bs=1M count=4096
mdconfig -a -t vnode -f /tmp/swapfile -u 0
Answer the question
In order to leave comments, you need to log in
The swapoff -a command does not disable swap for some reason...
mdconfig -a -t vnode -f /tmp/swapfile -u 0
nothing to do with the swap file?Is it possible to just delete the swap file without any consequences?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question