Nov 07 2008
Swap File
Need more swap but not more disk space to create a partition? Add a temporary swap file. Solaris [root@solaris]# mkfile 1024m /export/tmpswap [root@solaris]# swap -a /export/tmpswap [root@solaris]# swap -l swapfile dev swaplo blocks free /dev/dsk/c1t0d0s1 55,65 8 4160824 4160824 /export/tmpswap - 8 2097144 2097144 Linux [root@linux]# dd if=/dev/zero of=tmpswap bs=1024 count=10240 [root@linux]# 10240+0 [...]

