Date: Mon, 21 Mar 2022 19:45:18 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Damian Weber <dweber@htwsaar.de>, freebsd-security@freebsd.org Subject: Re: SSD erase question Message-ID: <12d76150-d3e8-a31b-c67d-c9c8e0a9bb12@grosbein.net> In-Reply-To: <274c8cca-80b0-9460-6754-6bb77efbb4dd@htwsaar.de> References: <274c8cca-80b0-9460-6754-6bb77efbb4dd@htwsaar.de>
next in thread | previous in thread | raw e-mail | index | archive | help
21.03.2022 19:14, Damian Weber wrote: > > Hi all, > > I'd like to have an answer on a secure FreeBSD way to erase > SSDs before giving these away to someone for reusing it. > > Is the following enough to protect confidential data > previously stored there? > > 1) dd : overwriting with random bits (complete capacity) > 2) gpart create > 3) gpart add > 4) newfs First, there is a command trim(8) that is easier to use but it gives no guarantee of "secure erase" in TRIM. Second, there is "camcontrol security -e" for secure erase, see camcontrol(8) manual page, EXAMPLES section.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12d76150-d3e8-a31b-c67d-c9c8e0a9bb12>