Open ypid opened 2 years ago
This sounds interesting. It' s unfortunately probably out of scope for this script though since it is cross-platform and supports not only Linux but also FreeBSD.
The script can check if cryptsetup is installed and only do this when it is installed.
Pro:
Contra:
I have been doing this for years without issues btw, ref: https://github.com/ypid/scripts/blob/master/badblocks_and_secure_erase