All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Wu <peter-VTkQYDcBqhK7DlmcbJSQ7g@public.gmane.org>
To: linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	util-linux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: blkdiscard vs hdparm for erasing a SSD?
Date: Wed, 15 Oct 2014 15:12:42 +0200	[thread overview]
Message-ID: <2523736.cvg5kvG8qa@al> (raw)

Hi,

Recent versions of util-linux have a blkdiscard program. How does this compare
to the --security-erase option of hdparm? The goal is to erase the contents of
an previously used SSD to improve performance.

Is the command `blkdiscard -s /dev/sdd` equivalent to the instructions listed on
https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase?
-- 
Kind regards,
Peter
https://lekensteyn.nl

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Peter Wu <peter@lekensteyn.nl>
To: linux-ide@vger.kernel.org, util-linux@vger.kernel.org
Subject: blkdiscard vs hdparm for erasing a SSD?
Date: Wed, 15 Oct 2014 15:12:42 +0200	[thread overview]
Message-ID: <2523736.cvg5kvG8qa@al> (raw)

Hi,

Recent versions of util-linux have a blkdiscard program. How does this compare
to the --security-erase option of hdparm? The goal is to erase the contents of
an previously used SSD to improve performance.

Is the command `blkdiscard -s /dev/sdd` equivalent to the instructions listed on
https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase?
-- 
Kind regards,
Peter
https://lekensteyn.nl


             reply	other threads:[~2014-10-15 13:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-15 13:12 Peter Wu [this message]
2014-10-15 13:12 ` blkdiscard vs hdparm for erasing a SSD? Peter Wu
2014-10-15 14:21 ` Tim Small
     [not found]   ` <543E82DE.8070405-v0yPK6tSSg/10XsdtD+oqA@public.gmane.org>
2014-10-16 10:17     ` Peter Wu
2014-10-16 10:17       ` Peter Wu
2014-10-21 17:06       ` One Thousand Gnomes
2014-10-21 17:06         ` One Thousand Gnomes
2014-10-28  2:09 ` Mark Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2523736.cvg5kvG8qa@al \
    --to=peter-vtkqydcbqhk7dlmcbjsq7g@public.gmane.org \
    --cc=linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=util-linux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.