I had to mount an encrypted external hdd using the command-line earlier this evening. Thanks to these instructions I was successful, but I'm left wondering what the-b switch for the udisksctl command does. I looked through the man page and there's no mention of it. Is it to signal that what's being decrypted is a block device?

2 Answers 2


The -b (--block-device) option is for choosing a block device like /dev/sdb1. You can find this out by typing udisksctl unlock --help for instance; replace unlock with mount, unmount and lock and you will see the -b option is used in the same way for all 4 cases.


The udisks command line tool udisksctl is a command-line program used to interact with the udisksd(8) daemon process.The -b option denotes a block-device like /dev/sdb1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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