Last active
February 28, 2021 14:08
-
-
Save oceanBT/255c52e8a157c7d92a4154e64b204ca9 to your computer and use it in GitHub Desktop.
secure delete devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. find best device speed | |
sudo bash -c 'pv < /dev/urandom > /dev/mmcblk0' | |
2. override with bs from 1. | |
sudo dd if=/dev/urandom of=/dev/mmcblk0 status=progress bs=39M conv=fdatasync | |
3. format disk via UI (create partition, in any filesystem) | |
4. create random file on partition | |
sudo cat /dev/urandom > /media/user/device/random_data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment