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


Groups > linux.debian.user > #235983

Re: Wiping an unencrypted SSD in preparation for encryption

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Wiping an unencrypted SSD in preparation for encryption
Date 2021-06-11 15:00 +0200
Message-ID <CoOVs-1jI-3@gated-at.bofh.it> (permalink)
References <CoH7z-5f5-3@gated-at.bofh.it> <CoJ9o-6nw-3@gated-at.bofh.it> <CoJ9o-6nw-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 6/10/21 11:49 PM, Reco wrote:
> 	Hi.
> 
> 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.
> 
> 
> Therefore 'discard' can be applied to both ext4 and swap.

Thank you for the clarification regarding trim and swap.


Where do you see the information for ext4?


David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Wiping an unencrypted SSD in preparation for encryption David Wright <deblis@lionunicorn.co.uk> - 2021-06-11 06:40 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption Jeremy Ardley <jeremy@ardley.org> - 2021-06-11 06:50 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption songbird <songbird@anthive.com> - 2021-06-11 07:00 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption David Christensen <dpchrist@holgerdanske.com> - 2021-06-11 08:50 +0200
    Re: Wiping an unencrypted SSD in preparation for encryption Reco <recoverym4n@enotuniq.net> - 2021-06-11 08:50 +0200
      Re: Wiping an unencrypted SSD in preparation for encryption David Christensen <dpchrist@holgerdanske.com> - 2021-06-11 15:00 +0200
        Re: Wiping an unencrypted SSD in preparation for encryption Reco <recoverym4n@enotuniq.net> - 2021-06-11 15:10 +0200
          Re: Wiping an unencrypted SSD in preparation for encryption David Christensen <dpchrist@holgerdanske.com> - 2021-06-13 00:00 +0200
      Re: Wiping an unencrypted SSD in preparation for encryption rhkramer@gmail.com - 2021-06-11 17:10 +0200
        Re: Wiping an unencrypted SSD in preparation for encryption Reco <recoverym4n@enotuniq.net> - 2021-06-11 17:20 +0200
    Re: Wiping an unencrypted SSD in preparation for encryption David Wright <deblis@lionunicorn.co.uk> - 2021-06-15 07:10 +0200
      Re: Wiping an unencrypted SSD in preparation for encryption Stefan Monnier <monnier@iro.umontreal.ca> - 2021-06-15 17:00 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption "Andrew M.A. Cater" <amacater@einval.com> - 2021-06-11 12:00 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-06-11 17:00 +0200
    Re: Wiping an unencrypted SSD in preparation for encryption Reco <recoverym4n@enotuniq.net> - 2021-06-11 17:20 +0200
      Re: Wiping an unencrypted SSD in preparation for encryption Michael Stone <mstone@debian.org> - 2021-06-11 20:40 +0200
    Re: Wiping an unencrypted SSD in preparation for encryption David Christensen <dpchrist@holgerdanske.com> - 2021-06-13 00:10 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption ghe2001 <ghe2001@protonmail.com> - 2021-06-11 17:20 +0200
  Re: Wiping an unencrypted SSD in preparation for encryption Michael Stone <mstone@debian.org> - 2021-06-11 21:30 +0200

csiph-web