Browsed by
Tag: disk shreding

[Bash,Linux] Very fast disk shredding/data erasure script

[Bash,Linux] Very fast disk shredding/data erasure script

Before I have setted up my encrypted partitions I had to fill them with random sequention of data. I’ve noticed that dd if=/dev/urandom of=DEVICE is very slow. It has 3-4 MB/second on my computer. I wanted to make it faster. Here is my solution: 1. Create in tmpfs located in RAM memory large file (about 100 MB) made of pseudo-random sequence (/dev/urandom). 2. Write this file from memory sequentially to the disk. Speed of this approach is even 34 MB/s…

Read More Read More