Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235989
| From | rhkramer@gmail.com |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Wiping an unencrypted SSD in preparation for encryption |
| Date | 2021-06-11 17:10 +0200 |
| Message-ID | <CoQXg-2IA-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 |
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.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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