TechArena Community

TechArena Community (
-   Operating Systems (
-   -   Erasing Swap after shutdown (

technika 07-01-2010 02:25 PM

Erasing Swap after shutdown
Hello, I am using Ubuntu 9.10 on my computer and I want to do some setting from which when I shut down my computer, it will simply erase all the data on the swap partition. Though it will slow down my computer shut down time, I want to do this. So, if anyone is using Linux then please tell me how to erase swap after shutdown?

Devasis 07-01-2010 02:30 PM

Re: Erasing Swap after shutdown
You need to use the script below and store it in /etc/init wipeswap.conf

# upstart config - wipes swap space on shutdown

description  "Erase wipe"

start on (runlevel [016] and stopped gdm)

  swapoff -a
  sswap -lz /dev/sda3
end script

MrChris- 07-01-2010 02:39 PM

Re: Erasing Swap after shutdown
Hello, you can make use of any application below to Erase Swap after shutdown:
  • East-Tec Eraser 2004 5.0
  • BCWipe 3.1
  • Drive Discovery 2.3
  • East-Tec Eraser 2003 4.0
  • Swap & Fall 2 1.0

Solomon 07-01-2010 02:48 PM

Re: Erasing Swap after shutdown
Hello, I am using East-Tec Eraser 2004 with the version of for erasing swap after shutdown. You can able to buy it with just 49.95$. If you want to secure your data by removing all of the history of your computer you can use East-Tec Eraser 2004. It does not need your approval for deleting this swap information. So, that you will able to delete all the history without any problem.
It will solve your problem.

Calvin K 07-01-2010 02:54 PM

Re: Erasing Swap after shutdown
I think you need to use any third party solution for solving your problem. It may possible to solve this type of problem if you use the software application. It may take hardly some minutes to do it. So, just use any application and solve your problem. There are many more applications available on internet which can able to erase swap after shutdown.

Lillebror 07-01-2010 02:56 PM

Re: Erasing Swap after shutdown
Make use of application below to erase swap after shutdown:
  1. Auto Power-on & Shut-down 2.0
  2. Drive Discovery 2.3
  3. East-Tec Eraser 2003 4.0
  4. Swap & Fall 2 1.0
  5. Sure Delete 5.1

All times are GMT +5.5. The time now is 02:45 AM.