最近SD延命のために追加した設定

viのswap場所変更

$ cd
$ cat ./vimrc
set directory=/tmp

当然/tmpはtmpfs(RAMディスク)
swap作らない場合は

set noswapfile

らしい