Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #191849
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Got tired of waiting for suspend/resume (something like that) |
| Date | 2018-02-01 19:10 +0100 |
| Message-ID | <vert8-26a-9@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <venzc-7RC-11@gated-at.bofh.it> <veoEV-iA-7@gated-at.bofh.it> <vepAZ-TL-19@gated-at.bofh.it> <vepKF-YN-3@gated-at.bofh.it> <veqno-1dG-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Curt wrote: > Unfortunately my crypttab (which I've never touched or looked at) > reveals the following: > > # <target name> <source device> <key file> <options> > cryptswap1 /dev/sda5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256 > > Which is dangerous because that dev/sda5 gets wiped out at every > (re)boot. > > curty@einstein:~/tips$ find -L /dev/disk -samefile /dev/sda5 > /dev/disk/by-partuuid/00065379-05 > /dev/disk/by-path/pci-0000:00:11.0-ata-1-part5 > /dev/disk/by-id/wwn-0x50014ee2b0b1534b-part5 > /dev/disk/by-id/ata-WDC_WD15EARS-22MVWB0_WD-WCAZA8328525-part5 > > I probably should change my crypttab (as a sane precaution) to: > > swap > /dev/disk/by-id//dev/disk/by-id/ata-WDC_WD15EARS-22MVWB0_WD-WCAZA8328525-part5 > /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256 > > Still, I'm uncertain what goes into /etc/fstab. > > /dev/mapper/swap none swap sw 0 0 > > ? in the above example (crypttab) you could replace /dev/sda5 with /dev/disk/by-id/ata-WDC_WD15EARS-22MVWB0_WD-WCAZA8328525-part5 in fstab however goes whatever is returned by lvm (most probably leave untouched) regards
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Got tired of waiting for suspend/resume (something like that) Nicolas George <george@nsup.org> - 2018-02-01 13:50 +0100
Re: Got tired of waiting for suspend/resume (something like that) Curt <curty@free.fr> - 2018-02-01 14:20 +0100
Re: Got tired of waiting for suspend/resume (something like that) Curt <curty@free.fr> - 2018-02-01 14:20 +0100
Re: Got tired of waiting for suspend/resume (something like that) Curt <curty@free.fr> - 2018-02-01 14:50 +0100
Re: Got tired of waiting for suspend/resume (something like that) Curt <curty@free.fr> - 2018-02-01 15:00 +0100
Re: Got tired of waiting for suspend/resume (something like that) David Wright <deblis@lionunicorn.co.uk> - 2018-02-01 15:00 +0100
Re: Got tired of waiting for suspend/resume (something like that) Curt <curty@free.fr> - 2018-02-01 16:10 +0100
Re: Got tired of waiting for suspend/resume (something like that) David Wright <deblis@lionunicorn.co.uk> - 2018-02-01 17:10 +0100
Re: Got tired of waiting for suspend/resume (something like that) Nicolas George <george@nsup.org> - 2018-02-01 17:20 +0100
Re: Got tired of waiting for suspend/resume (something like that) Nicolas George <george@nsup.org> - 2018-02-01 17:50 +0100
Re: Got tired of waiting for suspend/resume (something like that) David Wright <deblis@lionunicorn.co.uk> - 2018-02-01 18:50 +0100
Re: Got tired of waiting for suspend/resume (something like that) Nicolas George <george@nsup.org> - 2018-02-01 20:00 +0100
Re: Got tired of waiting for suspend/resume (something like that) David Wright <deblis@lionunicorn.co.uk> - 2018-02-01 17:50 +0100
Re: Got tired of waiting for suspend/resume (something like that) Curt <curty@free.fr> - 2018-02-01 18:00 +0100
Re: Got tired of waiting for suspend/resume (something like that) Curt <curty@free.fr> - 2018-02-01 18:10 +0100
Re: Got tired of waiting for suspend/resume (something like that) deloptes <deloptes@gmail.com> - 2018-02-01 19:10 +0100
Re: Got tired of waiting for suspend/resume (something like that) Nicolas George <george@nsup.org> - 2018-02-01 20:00 +0100
Re: Got tired of waiting for suspend/resume (something like that) Curt <curty@free.fr> - 2018-02-01 21:00 +0100
Re: Got tired of waiting for suspend/resume (something like that) Sven Hartge <sven@svenhartge.de> - 2018-02-01 22:10 +0100
Re: Got tired of waiting for suspend/resume (something like that) Curt <curty@free.fr> - 2018-02-02 10:40 +0100
Re: Got tired of waiting for suspend/resume (something like that) Sven Hartge <sven@svenhartge.de> - 2018-02-02 11:30 +0100
Re: Got tired of waiting for suspend/resume (something like that) Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-02-03 11:00 +0100
csiph-web