http://docs.sun.com/app/docs/doc/817-5093/6mkisoq86?l=zh&a=view
1.mkfile 512m /foo/swapfile
2.swap -a /foo/swapfile
3.# vi /etc/vfstab
(An entry is added for the swap file): /files/swapfile - - swap - no -
http://docs.sun.com/app/docs/doc/817-5093/6mkisoq86?l=zh&a=view
1.mkfile 512m /foo/swapfile
2.swap -a /foo/swapfile
3.# vi /etc/vfstab
(An entry is added for the swap file): /files/swapfile - - swap - no -