Hacker News new | ask | show | jobs
by wtallis 1945 days ago
Adding on to this: blkdiscard should work fine for SATA or NVMe drives, if you just want to make the drive blank. SATA drives technically have the option of ignoring TRIM commands, but I'm not sure it was ever actually common for them to do so.

Suspending and waking a PC to unlock a drive can be necessary for SATA or NVMe drives. SATA drives also give you the alternative of hot-swapping the drive, but that's not practical for consumer NVMe drives or consumer host systems.