1.

How To Create A Swap File?

Answer»

CREATE a FILE as:

# DD if=/dev/zero of=swapfile bs=512 count=N
(Where N is the file size in KB)
Run the mkswap to create signature
Activate the swap file with swapon command (OR) initialize it in the STARTUP
script /etc/rc.d/rc.local

Create a file as:

# dd if=/dev/zero of=swapfile bs=512 count=N
(Where N is the file size in KB)
Run the mkswap to create signature
Activate the swap file with swapon command (OR) initialize it in the startup
script /etc/rc.d/rc.local



Discussion

No Comment Found