You are not logged in.
Pages: 1
I have multiple LUKS devices and want to know which of them are activated at a certain moment.
So is it possible to list all currently activated LUKS devices? Furthermore, is it possible to list all LUKS devices (active + inactive) in the current system?
I've looked at man page of cryptsetup but didn't find any clue. There is an isLuks option. But calling it on every device looks clumsy. Also it doesn't filter out the inactive ones.
Last edited by cyker (2013-06-08 08:52:40)
.
Offline
The "isLuks" option does not give a lot of info too. Why not use just
lsblk --fs
it has a lot of filter and column options.
Offline
Thank you!
lsblk --fs
works.
All LUKS devices are exactly those have FSTYPE crypto_LUKS. Among these, the active ones will have a child node.
Furthermore, the column MOUNTPOINT indicates whether a device is mounted or not. This makes everything clear in a LVM/LUKS setting.
Last edited by cyker (2013-06-08 08:57:52)
.
Offline
Pages: 1