Bug 1567498

Summary: [enhancement] lsblk: read bitlocker LABEL even on locked volumes
Product: [Fedora] Fedora Reporter: Matt Daveson <reportbug>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: jonathan, kzak
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-24 10:21:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Matt Daveson 2018-04-14 10:49:56 UTC
Have a bitlocker locked volume connected to the system, then I run:
sudo lsblk -o name,mountpoint,label,partlabel,size

The PARTLABEL is displayed always, but the LABEL isn't, unless the volume is unlocked with the key/password and then mounted.

Now my request for lsblk: be able to read LABEL for locked volumes also, using third party tools which can provide the information:
sudo dislocker-find | xargs sudo dislocker-metadata -V

util-linux 2.30.1-0ubuntu4.1

Comment 1 Matt Daveson 2018-04-23 15:40:25 UTC
Also read PARTLABEL

Comment 2 Matt Daveson 2018-04-23 15:54:03 UTC
blkid doesn't detect it either.

Comment 3 Karel Zak 2018-04-24 10:21:41 UTC
It's good enough to use github for feature requests.
https://github.com/karelzak/util-linux/issues/617

I have just committed basic bitlocker detection to upstream libblkid.

Comment 4 Matt Daveson 2018-05-12 10:21:09 UTC
Great thanks!