From: Milan Broz <gmazyland@gmail.com>
To: "Michael Enßlin" <michael@ensslin.cc>, dm-crypt@saout.de
Subject: Re: [dm-crypt] How to tell whether a volume is currently suspended?
Date: Wed, 05 Nov 2014 19:51:54 +0100 [thread overview]
Message-ID: <545A71CA.5060701@gmail.com> (raw)
In-Reply-To: <545A6BB0.4060705@ensslin.cc>
On 11/05/2014 07:25 PM, Michael Enßlin wrote:
> Hi,
>
> is there a utility to determine whether a LUKS volume is currently
> suspended and needs resuming (via LuksSuspend/LuksResume)?
You can use dmsetup info <name>
(name is the same like in cryptsetup)
In script you can use it even simpler:
dmsetup -c -o suspended --noheadings info <name>
But I am quite surprised it is not in "cryptsetup status" output :)
I will add this info there in next version.
Thanks,
Milan
prev parent reply other threads:[~2014-11-05 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-05 18:25 [dm-crypt] How to tell whether a volume is currently suspended? Michael Enßlin
2014-11-05 18:51 ` Milan Broz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=545A71CA.5060701@gmail.com \
--to=gmazyland@gmail.com \
--cc=dm-crypt@saout.de \
--cc=michael@ensslin.cc \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox