As Shiplu mentioned, you do not really need swap if you have that much of physical memory.
However, the change was needed in the count= parameter. Calculate 4GB in bytes and replace that number in count= parameter. Again, this 4GB will be a waste of memory. Also creating swapfile on the same partition does not give you much improvements. -- M. Nasimul Haque, M.Sc.(SUST) Wessex Institute of Technology Southampton, UK http://www.nasimulhaque.info -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd