Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an LUKS encrypted partition on a disk. I would like to label it and have it available at /dev/disk/by-label. The value used is ID_FS_LABEL to create the link in /dev/disk/by-label. That value can be extracted with vol_id. The problem is that this value is empty. Is there a way for me to set this value somehow?

share|improve this question

1 Answer 1

I think the problems come from the system not being up to date and using vol_id rather than blkid.

with

blkid -o list

it is possible to get the list of devices and their label.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.