Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #235990 > unrolled thread

Re: Wiping an unencrypted SSD in preparation for encryption

Started byrhkramer@gmail.com
First post2021-06-11 17:20 +0200
Last post2021-06-21 00:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Re: Wiping an unencrypted SSD in preparation for encryption rhkramer@gmail.com - 2021-06-11 17:20 +0200
    Re: Wiping an unencrypted SSD in preparation for encryption deloptes <deloptes@gmail.com> - 2021-06-21 00:40 +0200

#235990 — Re: Wiping an unencrypted SSD in preparation for encryption

Fromrhkramer@gmail.com
Date2021-06-11 17:20 +0200
SubjectRe: Wiping an unencrypted SSD in preparation for encryption
Message-ID<CoR6V-2LL-1@gated-at.bofh.it>
Darn, please ignore the previous message -- didn't mean to send, was working 
on a draft, meant to save as a draft instead of send.

(Of course, if you want to reply, feel free.)

On Friday, June 11, 2021 11:01:40 AM rhkramer@gmail.com wrote:
> On Friday, June 11, 2021 02:49:03 AM Reco wrote:
> > On Thu, Jun 10, 2021 at 11:43:12PM -0700, David Christensen wrote:
> > > I don't bother with the 'discard' option in /etc/fstab, but perhaps I
> > > should.  The fstab(5) and mount(8) manual pages are unclear if
> > > 'discard' applies to swap or ext4.
> > 
> > swapon(8):
> >    -d, --discard[=policy]
> >    
> > 	  Enable  swap  discards ... The /etc/fstab mount options discard,
> > 
> > discard=once, or discard=pages may also be used to enable discard flags.
> 
> So, I'm not clear on what happens if you don't use the discard option.  I
> assume that the data in swap is swapped back (written back) to the proper
> location in RAM before reusing the swap space, which would be unnecessary
> if the
> 
> 
>        -d, --discard
>               Discard freed swap pages before they are reused, if the swap
> device supports the discard or trim operation.  This may improve
> performance on some  Solid  State  Devices, but  often  it  does  not.  
> The  /etc/fstab mount option discard may be also used to enable discard
> flag.

[toc] | [next] | [standalone]


#236234

Fromdeloptes <deloptes@gmail.com>
Date2021-06-21 00:40 +0200
Message-ID<CsegF-5b7-1@gated-at.bofh.it>
In reply to#235990
rhkramer@gmail.com wrote:

> Darn, please ignore the previous message -- didn't mean to send, was
> working on a draft, meant to save as a draft instead of send.
> 
> (Of course, if you want to reply, feel free.)

.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web