WEEE-Open / pesto

Drive SMART data checker, cleaner and system image loader.
MIT License
3 stars 5 forks source link

SSD trimming #10

Open andrimanna opened 3 years ago

andrimanna commented 3 years ago

To erase a SSD use TRIM with: # blkdiscard -f /dev/sdX

lvps commented 3 years ago

Also: how to detect SSDs? Probably with lsblk, but this needs to be investigated

lvps commented 3 years ago

See also secure erase: https://www.thomas-krenn.com/en/wiki/Perform_a_SSD_Secure_Erase

It's pretty cool and pretty secure

il-palmi commented 2 weeks ago

Also: how to detect SSDs? Probably with lsblk, but this needs to be investigated

lsblk -o NAME,ROTA