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


Groups > linux.debian.user > #191842

Re: Got tired of waiting for suspend/resume (something like that)

From Nicolas George <george@nsup.org>
Newsgroups linux.debian.user
Subject Re: Got tired of waiting for suspend/resume (something like that)
Date 2018-02-01 17:20 +0100
Message-ID <vepKF-YN-3@gated-at.bofh.it> (permalink)
References (2 earlier) <vemWt-7CA-1@gated-at.bofh.it> <vemWt-7CA-15@gated-at.bofh.it> <venzc-7RC-11@gated-at.bofh.it> <veoEV-iA-7@gated-at.bofh.it> <vepAZ-TL-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

David Wright (2018-02-01):
> As far as finding the swap partition with fstab, ISTR a workaround.
> Without the details, you make the swap partition with a tiny
> filesystem in it, which gives it a stable UUID and LABEL. You then
> specify an offset in every reference to its use, which skips over
> the filesystem at its start.

What are you trying to achieve with this baroque contraption?

If a swap is encrypted normally, then just use its UUID.

If a swap is encrypted with an ephemeral key, that means its contents is
not wanted after a reboot, so there is no need to preserve the key,
obviously. As to how to specify it in fstab, you need to use the name
declared in crypttab.

Using filesystem labels and UUID is IMHO a very bad design, because they
reside inside the filesystem itself. Better use LVM, partition names or
partition UUIDs.

Regards,

-- 
  Nicolas George

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


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